Completed
Push — master ( 2d8cf3...02654d )
by Doug
06:50 queued 03:41
created
VolumePacker.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
 
153 153
         /** @var OrientatedItem $orientation */
154 154
         foreach ($orientations as $o => $orientation) {
155
-            $orientationFit = min($widthLeft   - $orientation->getWidth(), $lengthLeft  - $orientation->getLength());
155
+            $orientationFit = min($widthLeft - $orientation->getWidth(), $lengthLeft - $orientation->getLength());
156 156
 
157 157
             $orientationFits[$o] = $orientationFit;
158 158
         }
@@ -200,7 +200,7 @@  discard block
 block discarded – undo
200 200
         }
201 201
 
202 202
         //remove any that simply don't fit
203
-        return array_filter($orientations, function (OrientatedItem $i) use ($widthLeft, $lengthLeft, $depthLeft) {
203
+        return array_filter($orientations, function(OrientatedItem $i) use ($widthLeft, $lengthLeft, $depthLeft) {
204 204
             return $i->getWidth() <= $widthLeft && $i->getLength() <= $lengthLeft && $i->getDepth() <= $depthLeft;
205 205
         });
206 206
 
Please login to merge, or discard this patch.