@@ -305,7 +305,7 @@ |
||
305 | 305 | |
306 | 306 | // load the global data we've prepared initially |
307 | 307 | $this->taxClasses = $status[RegistryKeys::GLOBAL_DATA][RegistryKeys::TAX_CLASSES]; |
308 | - $this->storeWebsites = $status[RegistryKeys::GLOBAL_DATA][RegistryKeys::STORE_WEBSITES]; |
|
308 | + $this->storeWebsites = $status[RegistryKeys::GLOBAL_DATA][RegistryKeys::STORE_WEBSITES]; |
|
309 | 309 | |
310 | 310 | // load the available categories |
311 | 311 | $this->categories = $this->getCategoryProcessor()->getCategoriesWithResolvedPath(); |
@@ -203,7 +203,7 @@ |
||
203 | 203 | /** |
204 | 204 | * Return's the PK to create the product => attribute relation. |
205 | 205 | * |
206 | - * @return integer The PK to create the relation with |
|
206 | + * @return string The PK to create the relation with |
|
207 | 207 | */ |
208 | 208 | protected function getPrimaryKey() |
209 | 209 | { |
@@ -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() |
@@ -187,7 +187,7 @@ discard block |
||
187 | 187 | * @param \TechDivision\Import\Category\Repositories\CategoryIntRepository $categoryIntRepository The category integer repository to use |
188 | 188 | * @param \TechDivision\Import\Category\Repositories\CategoryTextRepository $categoryTextRepository The category text repository to use |
189 | 189 | * @param \TechDivision\Import\Category\Repositories\CategoryVarcharRepository $categoryVarcharRepository The category varchar repository to use |
190 | - * @param \TechDivision\Import\Product\Repositories\EavAttributeOptionValueRepository $eavAttributeOptionValueRepository The EAV attribute option value repository to use |
|
190 | + * @param EavAttributeOptionValueRepository $eavAttributeOptionValueRepository The EAV attribute option value repository to use |
|
191 | 191 | * @param \TechDivision\Import\Repositories\EavAttributeRepository $eavAttributeRepository The EAV attribute repository to use |
192 | 192 | * @param \TechDivision\Import\Repositories\UrlRewriteRepository $urlRewriteRepository The URL rewrite repository to use |
193 | 193 | * @param \TechDivision\Import\Category\Actions\CategoryDatetimeAction $categoryDatetimeAction The category datetime action to use |
@@ -196,7 +196,7 @@ discard block |
||
196 | 196 | * @param \TechDivision\Import\Category\Actions\CategoryAction $categoryAction The category action to use |
197 | 197 | * @param \TechDivision\Import\Category\Actions\CategoryTextAction $categoryTextAction The category text action to use |
198 | 198 | * @param \TechDivision\Import\Category\Actions\CategoryVarcharAction $categoryVarcharAction The category varchar action to use |
199 | - * @param \TechDivision\Import\Product\Actions\UrlRewriteAction $urlRewriteAction The URL rewrite action to use |
|
199 | + * @param UrlRewriteAction $urlRewriteAction The URL rewrite action to use |
|
200 | 200 | * @param \TechDivision\Import\Assembler\CategoryAssembler $categoryAssembler The category assembler to use |
201 | 201 | */ |
202 | 202 | public function __construct( |
@@ -279,7 +279,7 @@ discard block |
||
279 | 279 | * Commits a transaction, returning the database connection to autocommit mode until the next call to |
280 | 280 | * ProductProcessor::beginTransaction() starts a new transaction. |
281 | 281 | * |
282 | - * @return boolean Returns TRUE on success or FALSE on failure |
|
282 | + * @return boolean|null Returns TRUE on success or FALSE on failure |
|
283 | 283 | * @link http://php.net/manual/en/pdo.commit.php |
284 | 284 | */ |
285 | 285 | public function commit() |
@@ -308,7 +308,7 @@ discard block |
||
308 | 308 | /** |
309 | 309 | * Set's the repository to access EAV attribute option values. |
310 | 310 | * |
311 | - * @param \TechDivision\Import\Product\Repositories\EavAttributeOptionValueRepository $eavAttributeOptionValueRepository The repository to access EAV attribute option values |
|
311 | + * @param EavAttributeOptionValueRepository $eavAttributeOptionValueRepository The repository to access EAV attribute option values |
|
312 | 312 | * |
313 | 313 | * @return void |
314 | 314 | */ |
@@ -484,7 +484,7 @@ discard block |
||
484 | 484 | /** |
485 | 485 | * Set's the action with the URL rewrite CRUD methods. |
486 | 486 | * |
487 | - * @param \TechDivision\Import\Product\Actions\UrlRewriteAction $urlRewriteAction The action with the URL rewrite CRUD methods |
|
487 | + * @param UrlRewriteAction $urlRewriteAction The action with the URL rewrite CRUD methods |
|
488 | 488 | * |
489 | 489 | * @return void |
490 | 490 | */ |
@@ -767,7 +767,7 @@ discard block |
||
767 | 767 | * |
768 | 768 | * @param string $path The path of the category to count the children for |
769 | 769 | * |
770 | - * @return integer The children count of the category with the passed path |
|
770 | + * @return string The children count of the category with the passed path |
|
771 | 771 | */ |
772 | 772 | public function loadCategoryChildrenChildrenCount($path) |
773 | 773 | { |