@@ -4,7 +4,7 @@ |
||
| 4 | 4 | * @package BoxPacker |
| 5 | 5 | * @author Doug Wright |
| 6 | 6 | */ |
| 7 | -declare(strict_types=1); |
|
| 7 | +declare(strict_types = 1); |
|
| 8 | 8 | namespace DVDoug\BoxPacker; |
| 9 | 9 | |
| 10 | 10 | /** |
@@ -4,7 +4,7 @@ |
||
| 4 | 4 | * @package BoxPacker |
| 5 | 5 | * @author Doug Wright |
| 6 | 6 | */ |
| 7 | -declare(strict_types=1); |
|
| 7 | +declare(strict_types = 1); |
|
| 8 | 8 | namespace DVDoug\BoxPacker; |
| 9 | 9 | |
| 10 | 10 | /** |
@@ -4,7 +4,7 @@ |
||
| 4 | 4 | * @package BoxPacker |
| 5 | 5 | * @author Doug Wright |
| 6 | 6 | */ |
| 7 | -declare(strict_types=1); |
|
| 7 | +declare(strict_types = 1); |
|
| 8 | 8 | namespace DVDoug\BoxPacker; |
| 9 | 9 | |
| 10 | 10 | /** |
@@ -4,7 +4,7 @@ |
||
| 4 | 4 | * @package BoxPacker |
| 5 | 5 | * @author Doug Wright |
| 6 | 6 | */ |
| 7 | -declare(strict_types=1); |
|
| 7 | +declare(strict_types = 1); |
|
| 8 | 8 | namespace DVDoug\BoxPacker; |
| 9 | 9 | |
| 10 | 10 | /** |
@@ -4,7 +4,7 @@ |
||
| 4 | 4 | * @package BoxPacker |
| 5 | 5 | * @author Doug Wright |
| 6 | 6 | */ |
| 7 | -declare(strict_types=1); |
|
| 7 | +declare(strict_types = 1); |
|
| 8 | 8 | namespace DVDoug\BoxPacker; |
| 9 | 9 | |
| 10 | 10 | /** |
@@ -4,7 +4,7 @@ |
||
| 4 | 4 | * @package BoxPacker |
| 5 | 5 | * @author Doug Wright |
| 6 | 6 | */ |
| 7 | -declare(strict_types=1); |
|
| 7 | +declare(strict_types = 1); |
|
| 8 | 8 | namespace DVDoug\BoxPacker; |
| 9 | 9 | |
| 10 | 10 | /** |
@@ -4,7 +4,7 @@ |
||
| 4 | 4 | * @package BoxPacker |
| 5 | 5 | * @author Doug Wright |
| 6 | 6 | */ |
| 7 | -declare(strict_types=1); |
|
| 7 | +declare(strict_types = 1); |
|
| 8 | 8 | namespace DVDoug\BoxPacker; |
| 9 | 9 | |
| 10 | 10 | /** |
@@ -4,7 +4,7 @@ discard block |
||
| 4 | 4 | * @package BoxPacker |
| 5 | 5 | * @author Doug Wright |
| 6 | 6 | */ |
| 7 | -declare(strict_types=1); |
|
| 7 | +declare(strict_types = 1); |
|
| 8 | 8 | namespace DVDoug\BoxPacker; |
| 9 | 9 | |
| 10 | 10 | use function array_unshift; |
@@ -169,7 +169,7 @@ discard block |
||
| 169 | 169 | |
| 170 | 170 | //Check iteration was productive |
| 171 | 171 | if (!$packedBoxesIteration) { |
| 172 | - throw new ItemTooLargeException('Item ' . $this->items->top()->getDescription() . ' is too large to fit into any box', $this->items->top()); |
|
| 172 | + throw new ItemTooLargeException('Item '.$this->items->top()->getDescription().' is too large to fit into any box', $this->items->top()); |
|
| 173 | 173 | } |
| 174 | 174 | |
| 175 | 175 | //Find best box of iteration, and remove packed items from unpacked list |
@@ -4,7 +4,7 @@ |
||
| 4 | 4 | * @package BoxPacker |
| 5 | 5 | * @author Doug Wright |
| 6 | 6 | */ |
| 7 | -declare(strict_types=1); |
|
| 7 | +declare(strict_types = 1); |
|
| 8 | 8 | namespace DVDoug\BoxPacker; |
| 9 | 9 | |
| 10 | 10 | use ArrayIterator, Countable, IteratorAggregate, Traversable; |