Completed
Pull Request — master (#481)
by Jonas
11:13
created
Components/ImageImport.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
 
74 74
     /**
75 75
      * Get ids of details that needs an image import
76
-     * @param null $limit
76
+     * @param integer|null $limit
77 77
      * @return array        Ids of products needing an image import
78 78
      */
79 79
     public function getDetailIdsNeedingImageImport($limit=null)
@@ -620,7 +620,7 @@  discard block
 block discarded – undo
620 620
     }
621 621
 
622 622
     /**
623
-     * @param $imageUrl string
623
+     * @param string $imageUrl string
624 624
      * @param $articleId int
625 625
      * @return bool
626 626
      */
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
      * @param null $limit
77 77
      * @return array        Ids of products needing an image import
78 78
      */
79
-    public function getDetailIdsNeedingImageImport($limit=null)
79
+    public function getDetailIdsNeedingImageImport($limit = null)
80 80
     {
81 81
         $updateFlags = $this->helper->getUpdateFlags();
82 82
         $updateFlagsByName = array_flip($updateFlags);
@@ -378,7 +378,7 @@  discard block
 block discarded – undo
378 378
             ->addOrderBy('images.position', 'ASC');
379 379
 
380 380
         return array_map(
381
-            function ($image) {
381
+            function($image) {
382 382
                 return $image['path'];
383 383
             },
384 384
             $builder->getQuery()->getArrayResult()
@@ -636,7 +636,7 @@  discard block
 block discarded – undo
636 636
             [$articleId, $imageUrl]
637 637
         );
638 638
 
639
-        return !(bool) $result;
639
+        return !(bool)$result;
640 640
     }
641 641
 
642 642
     /**
Please login to merge, or discard this patch.