Completed
Push — master ( eb6c4c...9d0a06 )
by Doug
03:02
created
VolumePacker.php 4 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -208,9 +208,9 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
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
 /**
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -184,7 +184,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -183,8 +183,8 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.