@@ -56,5 +56,5 @@ |
||
56 | 56 | */ |
57 | 57 | public function getKeepFlat(); |
58 | 58 | |
59 | - } |
|
59 | + } |
|
60 | 60 |
@@ -56,5 +56,5 @@ |
||
56 | 56 | */ |
57 | 57 | public function getKeepFlat(); |
58 | 58 | |
59 | - } |
|
59 | + } |
|
60 | 60 |
@@ -184,7 +184,7 @@ |
||
184 | 184 | /** @var OrientatedItem $orientation */ |
185 | 185 | foreach ($orientations as $o => $orientation) { |
186 | 186 | $orientationFit = min($widthLeft - $orientation->getWidth(), |
187 | - $lengthLeft - $orientation->getLength()); |
|
187 | + $lengthLeft - $orientation->getLength()); |
|
188 | 188 | |
189 | 189 | if ($orientationFit >= 0 && $depthLeft - $orientation->getDepth() >= 0) { |
190 | 190 | $orientationFits[$o] = $orientationFit; |