Skip to content

Commit

Permalink
Fix nomenclature
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdoug committed Jan 26, 2021
1 parent 6497e2b commit a8b3264
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/getting-started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ Packing a set of items into a given set of box types
<?php
use DVDoug\BoxPacker\Packer;
use DVDoug\BoxPacker\Test\TestBox; // use your own object
use DVDoug\BoxPacker\Test\TestItem; // use your own object
use DVDoug\BoxPacker\Test\TestBox; // use your own `Box` implementation
use DVDoug\BoxPacker\Test\TestItem; // use your own `Item` implementation
$packer = new Packer();
Expand Down
8 changes: 4 additions & 4 deletions docs/too-large-items.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ Alternatively, you may wish to catch it explicitly and have domain-specific hand
<?php
use DVDoug\BoxPacker\ItemTooLargeException;
use DVDoug\BoxPacker\Packer;
use DVDoug\BoxPacker\Test\TestBox; // use your own object
use DVDoug\BoxPacker\Test\TestItem; // use your own object
use DVDoug\BoxPacker\Test\TestBox; // use your own `Box` implementation
use DVDoug\BoxPacker\Test\TestItem; // use your own `Item` implementation
try {
$packer = new Packer();
Expand Down Expand Up @@ -44,8 +44,8 @@ handles any ``ItemTooLargeExceptions``. It can be used like this:
<?php
use DVDoug\BoxPacker\InfalliblePacker;
use DVDoug\BoxPacker\Test\TestBox; // use your own object
use DVDoug\BoxPacker\Test\TestItem; // use your own object
use DVDoug\BoxPacker\Test\TestBox; // use your own `Box` implementation
use DVDoug\BoxPacker\Test\TestItem; // use your own `Item` implementation
$packer = new InfalliblePacker();
Expand Down

0 comments on commit a8b3264

Please sign in to comment.