@@ -142,7 +142,7 @@ |
||
142 | 142 | /** |
143 | 143 | * Return's the configured processor instance. |
144 | 144 | * |
145 | - * @return object The processor instance |
|
145 | + * @return CategoryProcessorInterface The processor instance |
|
146 | 146 | * @throws \Exception Is thrown, if no processor factory has been configured |
147 | 147 | */ |
148 | 148 | protected function getProcessor() |
@@ -300,7 +300,7 @@ |
||
300 | 300 | |
301 | 301 | // load the global data we've prepared initially |
302 | 302 | $this->taxClasses = $status[RegistryKeys::GLOBAL_DATA][RegistryKeys::TAX_CLASSES]; |
303 | - $this->storeWebsites = $status[RegistryKeys::GLOBAL_DATA][RegistryKeys::STORE_WEBSITES]; |
|
303 | + $this->storeWebsites = $status[RegistryKeys::GLOBAL_DATA][RegistryKeys::STORE_WEBSITES]; |
|
304 | 304 | |
305 | 305 | // load the available categories |
306 | 306 | $this->categories = $this->getCategoryBunchProcessor()->getCategoriesWithResolvedPath(); |
@@ -116,7 +116,7 @@ |
||
116 | 116 | * |
117 | 117 | * @param string $attributeCode The attribute code |
118 | 118 | * |
119 | - * @return array The array with the EAV attribute |
|
119 | + * @return integer The array with the EAV attribute |
|
120 | 120 | * @throws \Exception Is thrown if the attribute with the passed code is not available |
121 | 121 | */ |
122 | 122 | protected function getEavAttributeByAttributeCode($attributeCode) |
@@ -290,7 +290,7 @@ |
||
290 | 290 | * Commits a transaction, returning the database connection to autocommit mode until the next call to |
291 | 291 | * ProductProcessor::beginTransaction() starts a new transaction. |
292 | 292 | * |
293 | - * @return boolean Returns TRUE on success or FALSE on failure |
|
293 | + * @return boolean|null Returns TRUE on success or FALSE on failure |
|
294 | 294 | * @link http://php.net/manual/en/pdo.commit.php |
295 | 295 | */ |
296 | 296 | public function commit() |
@@ -22,7 +22,6 @@ |
||
22 | 22 | |
23 | 23 | use TechDivision\Import\Actions\ActionInterface; |
24 | 24 | use TechDivision\Import\Connection\ConnectionInterface; |
25 | -use TechDivision\Import\Actions\UrlRewriteActionInterface; |
|
26 | 25 | use TechDivision\Import\Repositories\UrlRewriteRepositoryInterface; |
27 | 26 | use TechDivision\Import\Repositories\EavEntityTypeRepositoryInterface; |
28 | 27 | use TechDivision\Import\Repositories\EavAttributeRepositoryInterface; |
@@ -197,7 +197,7 @@ |
||
197 | 197 | { |
198 | 198 | |
199 | 199 | // explode the path of the root category |
200 | - list ($rootCategoryPath, ) = explode('/', $path); |
|
200 | + list ($rootCategoryPath,) = explode('/', $path); |
|
201 | 201 | |
202 | 202 | // query whether or not a root category with the given path exists |
203 | 203 | if ($rootCategory = $this->getCategoryByPath($rootCategoryPath)) { |