@@ -42,7 +42,7 @@ |
||
42 | 42 | * |
43 | 43 | * @param \TechDivision\Import\Observers\AttributeCodeAndValueAwareObserverInterface|null $observer The observer |
44 | 44 | * |
45 | - * @return mixed The modified value |
|
45 | + * @return null|string The modified value |
|
46 | 46 | */ |
47 | 47 | public function handle(AttributeCodeAndValueAwareObserverInterface $observer = null) |
48 | 48 | { |
@@ -160,7 +160,7 @@ |
||
160 | 160 | * @param integer $entityTypeId The entity type ID of the attribute option values to return |
161 | 161 | * @param integer $storeId The store ID of the attribute option values to return |
162 | 162 | * |
163 | - * @return array The EAV attribute option values |
|
163 | + * @return \Generator The EAV attribute option values |
|
164 | 164 | */ |
165 | 165 | public function findAllByEntityTypeIdAndStoreId($entityTypeId, $storeId) |
166 | 166 | { |
@@ -54,7 +54,7 @@ |
||
54 | 54 | * Initializes the listener with the loader and the render instances. |
55 | 55 | * |
56 | 56 | * @param \TechDivision\Import\Loaders\LoaderInterface $loader The loader instance |
57 | - * @param \TechDivision\Import\Listeners\Renderer\Validations\ValidationRendererInterface[] $renderer The array with the validation renderer instances |
|
57 | + * @param \ArrayAccess $renderer The array with the validation renderer instances |
|
58 | 58 | */ |
59 | 59 | public function __construct(LoaderInterface $loader, \ArrayAccess $renderer) |
60 | 60 | { |
@@ -121,7 +121,7 @@ |
||
121 | 121 | /** |
122 | 122 | * Set's the validations. |
123 | 123 | * |
124 | - * @param array $validations The available validations |
|
124 | + * @param \ArrayAccess $validations The available validations |
|
125 | 125 | * |
126 | 126 | * @return void |
127 | 127 | */ |
@@ -412,7 +412,6 @@ |
||
412 | 412 | * array of blacklisted prefixes and that matches the filters. |
413 | 413 | * |
414 | 414 | * @param callable[] $filters An array with filters to filter the subjects that has to be returned |
415 | - * @param array $ignore An array with prefixes that has to be ignored |
|
416 | 415 | * |
417 | 416 | * @return array An array with the matching subjects |
418 | 417 | */ |
@@ -199,7 +199,7 @@ |
||
199 | 199 | /** |
200 | 200 | * Returns the elements the filenames consists of. |
201 | 201 | * |
202 | - * @return array The array with the filename elements |
|
202 | + * @return string The array with the filename elements |
|
203 | 203 | * @todo Refactorig required, because of duplicate method |
204 | 204 | * @see \TechDivision\Import\Loaders\Filters\OkFileFilter::getOkFileSuffix() |
205 | 205 | */ |
@@ -56,7 +56,7 @@ |
||
56 | 56 | /** |
57 | 57 | * Adds the passed match to the array with the matches. |
58 | 58 | * |
59 | - * @param string $match The match itself |
|
59 | + * @param string $matches The match itself |
|
60 | 60 | * |
61 | 61 | * @return void |
62 | 62 | */ |
@@ -46,7 +46,6 @@ |
||
46 | 46 | /** |
47 | 47 | * Construct that initializes the loader with the filesystem adapter instance. |
48 | 48 | * |
49 | - * @param \TechDivision\Import\Adapter\FilesystemAdapterInterface $registryProcessor The filesystem adapter instance |
|
50 | 49 | */ |
51 | 50 | public function __construct(FilesystemAdapterInterface $filesystemAdapter) |
52 | 51 | { |
@@ -326,7 +326,7 @@ |
||
326 | 326 | * |
327 | 327 | * @param string $v The key that should be used for filtering |
328 | 328 | * |
329 | - * @return int Returns 1 if the pattern matches given subject, 0 if it does not |
|
329 | + * @return boolean Returns 1 if the pattern matches given subject, 0 if it does not |
|
330 | 330 | * @throws \RuntimeException Is thrown, if the pattern can not be evaluated against the passed subject |
331 | 331 | * @link http://www.php.net/manual/en/function.strcmp.php |
332 | 332 | */ |