Completed
Push — master ( 440a91...12707d )
by Doug
11:53 queued 13s
created
src/VolumePacker.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
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 Psr\Log\LoggerAwareInterface;
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
         int $maxWidth,
193 193
         int $maxLength,
194 194
         int $maxDepth
195
-    ): ?OrientatedItem {
195
+    ) : ?OrientatedItem {
196 196
         $this->logger->debug(
197 197
             "evaluating item {$itemToPack->getDescription()} for fit",
198 198
             [
@@ -234,7 +234,7 @@  discard block
 block discarded – undo
234 234
         int $x,
235 235
         int $y,
236 236
         int $z
237
-    ): void {
237
+    ) : void {
238 238
         while (!$this->items->isEmpty() && $this->checkNonDimensionalConstraints($this->items->top(), $packedItems)) {
239 239
             $stackedItem = $this->getOrientationForItem(
240 240
                 $this->items->top(),
@@ -328,7 +328,7 @@  discard block
 block discarded – undo
328 328
             $items = iterator_to_array($packedItems);
329 329
             $packedItems = new PackedItemList();
330 330
             /** @var PackedItem $item */
331
-            foreach($items as $item) {
331
+            foreach ($items as $item) {
332 332
                 $packedItems->insert(
333 333
                     new PackedItem(
334 334
                         $item->getItem(),
Please login to merge, or discard this patch.