@@ -378,7 +378,7 @@ |
||
| 378 | 378 | * Commits a transaction, returning the database connection to autocommit mode until the next call to |
| 379 | 379 | * ProductProcessor::beginTransaction() starts a new transaction. |
| 380 | 380 | * |
| 381 | - * @return boolean Returns TRUE on success or FALSE on failure |
|
| 381 | + * @return boolean|null Returns TRUE on success or FALSE on failure |
|
| 382 | 382 | * @link http://php.net/manual/en/pdo.commit.php |
| 383 | 383 | */ |
| 384 | 384 | public function commit() |
@@ -538,7 +538,7 @@ |
||
| 538 | 538 | * Merge the columns from the configuration with all image type columns to define which |
| 539 | 539 | * columns should be cleaned-up. |
| 540 | 540 | * |
| 541 | - * @return array The columns that has to be cleaned-up |
|
| 541 | + * @return string The columns that has to be cleaned-up |
|
| 542 | 542 | */ |
| 543 | 543 | public function getCleanUpColumns() |
| 544 | 544 | { |
@@ -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 | * |
@@ -134,7 +134,7 @@ discard block |
||
| 134 | 134 | * @param integer $pk The primary key of the attributes |
| 135 | 135 | * @param integer $storeId The store ID of the attributes |
| 136 | 136 | * |
| 137 | - * @return array The varchar attributes |
|
| 137 | + * @return \Generator The varchar attributes |
|
| 138 | 138 | */ |
| 139 | 139 | public function findAllByPrimaryKeyAndStoreId($pk, $storeId) |
| 140 | 140 | { |
@@ -161,7 +161,7 @@ discard block |
||
| 161 | 161 | * @param integer $entityTypeId The entity type ID of the varchar attribute |
| 162 | 162 | * @param integer $storeId The store ID of the varchar attribute |
| 163 | 163 | * |
| 164 | - * @return array The varchar attributes |
|
| 164 | + * @return \Generator The varchar attributes |
|
| 165 | 165 | */ |
| 166 | 166 | public function findAllByAttributeCodeAndEntityTypeIdAndStoreId($attributeCode, $entityTypeId, $storeId) |
| 167 | 167 | { |