@@ -119,7 +119,7 @@ |
||
| 119 | 119 | /** |
| 120 | 120 | * Return's the available products. |
| 121 | 121 | * |
| 122 | - * @return array The available products |
|
| 122 | + * @return \Generator The available products |
|
| 123 | 123 | */ |
| 124 | 124 | public function findAll() |
| 125 | 125 | { |
@@ -18,10 +18,6 @@ |
||
| 18 | 18 | * @link http://www.techdivision.com |
| 19 | 19 | */ |
| 20 | 20 | |
| 21 | -use Lurker\Event\FilesystemEvent; |
|
| 22 | - |
|
| 23 | -use Symfony\Component\Finder\Finder; |
|
| 24 | - |
|
| 25 | 21 | /** |
| 26 | 22 | * Defines the available build tasks. |
| 27 | 23 | * |
@@ -362,7 +362,7 @@ discard block |
||
| 362 | 362 | * Commits a transaction, returning the database connection to autocommit mode until the next call to |
| 363 | 363 | * ProductProcessor::beginTransaction() starts a new transaction. |
| 364 | 364 | * |
| 365 | - * @return boolean Returns TRUE on success or FALSE on failure |
|
| 365 | + * @return boolean|null Returns TRUE on success or FALSE on failure |
|
| 366 | 366 | * @link http://php.net/manual/en/pdo.commit.php |
| 367 | 367 | */ |
| 368 | 368 | public function commit() |
@@ -937,7 +937,7 @@ discard block |
||
| 937 | 937 | * @param string $entityTypeCode The entity type code to return the raw entity for |
| 938 | 938 | * @param array $data An array with data that will be used to initialize the raw entity with |
| 939 | 939 | * |
| 940 | - * @return array The initialized entity |
|
| 940 | + * @return \ArrayAccess The initialized entity |
|
| 941 | 941 | */ |
| 942 | 942 | public function loadRawEntity($entityTypeCode, array $data = array()) |
| 943 | 943 | { |
@@ -333,7 +333,7 @@ |
||
| 333 | 333 | * @param \TechDivision\Import\Subjects\UrlKeyAwareSubjectInterface $subject The subject to make the URL key unique for |
| 334 | 334 | * @param array $entity The entity to make the URL key unique for |
| 335 | 335 | * @param string $urlKey The URL key to make unique |
| 336 | - * @param array $urlPaths The URL paths to make unique |
|
| 336 | + * @param string[] $urlPaths The URL paths to make unique |
|
| 337 | 337 | * |
| 338 | 338 | * @return string The unique URL key |
| 339 | 339 | */ |
@@ -92,7 +92,7 @@ |
||
| 92 | 92 | * |
| 93 | 93 | * @param string $sku The product SKU to load the category relations for |
| 94 | 94 | * |
| 95 | - * @return array The category product relations for the product with the passed SKU |
|
| 95 | + * @return \Generator The category product relations for the product with the passed SKU |
|
| 96 | 96 | */ |
| 97 | 97 | public function findAllBySku($sku) |
| 98 | 98 | { |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | /** |
| 74 | 74 | * Load's and return's the available datetime attributes. |
| 75 | 75 | * |
| 76 | - * @return array The integer attributes |
|
| 76 | + * @return \Generator The integer attributes |
|
| 77 | 77 | */ |
| 78 | 78 | public function findAll() |
| 79 | 79 | { |
@@ -88,7 +88,7 @@ discard block |
||
| 88 | 88 | * @param integer $pk The primary key of the attributes |
| 89 | 89 | * @param integer $storeId The store ID of the attributes |
| 90 | 90 | * |
| 91 | - * @return array The datetime attributes |
|
| 91 | + * @return \Generator The datetime attributes |
|
| 92 | 92 | */ |
| 93 | 93 | public function findAllByPrimaryKeyAndStoreId($pk, $storeId) |
| 94 | 94 | { |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | /** |
| 74 | 74 | * Load's and return's the available decimals attributes. |
| 75 | 75 | * |
| 76 | - * @return array The decimal attributes |
|
| 76 | + * @return \Generator The decimal attributes |
|
| 77 | 77 | */ |
| 78 | 78 | public function findAll() |
| 79 | 79 | { |
@@ -88,7 +88,7 @@ discard block |
||
| 88 | 88 | * @param integer $pk The primary key of the attributes |
| 89 | 89 | * @param integer $storeId The store ID of the attributes |
| 90 | 90 | * |
| 91 | - * @return array The decimal attributes |
|
| 91 | + * @return \Generator The decimal attributes |
|
| 92 | 92 | */ |
| 93 | 93 | public function findAllByPrimaryKeyAndStoreId($pk, $storeId) |
| 94 | 94 | { |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | /** |
| 74 | 74 | * Load's and return's the available integer attributes. |
| 75 | 75 | * |
| 76 | - * @return array The integer attributes |
|
| 76 | + * @return \Generator The integer attributes |
|
| 77 | 77 | */ |
| 78 | 78 | public function findAll() |
| 79 | 79 | { |
@@ -88,7 +88,7 @@ discard block |
||
| 88 | 88 | * @param integer $pk The primary key of the attributes |
| 89 | 89 | * @param integer $storeId The store ID of the attributes |
| 90 | 90 | * |
| 91 | - * @return array The text attributes |
|
| 91 | + * @return \Generator The text attributes |
|
| 92 | 92 | */ |
| 93 | 93 | public function findAllByPrimaryKeyAndStoreId($pk, $storeId) |
| 94 | 94 | { |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | /** |
| 74 | 74 | * Load's and return's the available text attributes. |
| 75 | 75 | * |
| 76 | - * @return array The text attributes |
|
| 76 | + * @return \Generator The text attributes |
|
| 77 | 77 | */ |
| 78 | 78 | public function findAll() |
| 79 | 79 | { |
@@ -88,7 +88,7 @@ discard block |
||
| 88 | 88 | * @param integer $pk The primary key of the attributes |
| 89 | 89 | * @param integer $storeId The store ID of the attributes |
| 90 | 90 | * |
| 91 | - * @return array The text attributes |
|
| 91 | + * @return \Generator The text attributes |
|
| 92 | 92 | */ |
| 93 | 93 | public function findAllByPrimaryKeyAndStoreId($pk, $storeId) |
| 94 | 94 | { |