@@ -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) { |
@@ -8,7 +8,6 @@ |
||
| 8 | 8 | |
| 9 | 9 | use Psr\Log\LoggerAwareInterface; |
| 10 | 10 | use Psr\Log\LoggerAwareTrait; |
| 11 | -use Psr\Log\LogLevel; |
|
| 12 | 11 | use Psr\Log\NullLogger; |
| 13 | 12 | |
| 14 | 13 | /** |
@@ -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; |
@@ -183,8 +183,8 @@ |
||
| 183 | 183 | |
| 184 | 184 | /** @var OrientatedItem $orientation */ |
| 185 | 185 | foreach ($orientations as $o => $orientation) { |
| 186 | - $orientationFit = min($widthLeft - $orientation->getWidth(), |
|
| 187 | - $lengthLeft - $orientation->getLength()); |
|
| 186 | + $orientationFit = min($widthLeft - $orientation->getWidth(), |
|
| 187 | + $lengthLeft - $orientation->getLength()); |
|
| 188 | 188 | |
| 189 | 189 | if ($orientationFit >= 0 && $depthLeft - $orientation->getDepth() >= 0) { |
| 190 | 190 | $orientationFits[$o] = $orientationFit; |