@@ -56,5 +56,5 @@ |
||
56 | 56 | */ |
57 | 57 | public function getKeepFlat(); |
58 | 58 | |
59 | - } |
|
59 | + } |
|
60 | 60 |
@@ -208,9 +208,9 @@ |
||
208 | 208 | } |
209 | 209 | |
210 | 210 | /** |
211 | - * @param $layerWidth |
|
212 | - * @param $layerLength |
|
213 | - * @param $layerDepth |
|
211 | + * @param integer $layerWidth |
|
212 | + * @param integer $layerLength |
|
213 | + * @param integer $layerDepth |
|
214 | 214 | * @return bool |
215 | 215 | */ |
216 | 216 | protected function isLayerStarted($layerWidth, $layerLength, $layerDepth) { |
@@ -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; |
@@ -56,5 +56,5 @@ |
||
56 | 56 | */ |
57 | 57 | public function getKeepFlat(); |
58 | 58 | |
59 | - } |
|
59 | + } |
|
60 | 60 |