@@ -73,7 +73,7 @@ discard block |
||
| 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 |
||
| 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 | */ |
@@ -76,7 +76,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 636 | 636 | [$articleId, $imageUrl] |
| 637 | 637 | ); |
| 638 | 638 | |
| 639 | - return !(bool) $result; |
|
| 639 | + return !(bool)$result; |
|
| 640 | 640 | } |
| 641 | 641 | |
| 642 | 642 | /** |