@@ -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 | */ |
@@ -158,7 +158,7 @@ discard block |
||
| 158 | 158 | /** |
| 159 | 159 | * Adds the passed match to the array with the matches. |
| 160 | 160 | * |
| 161 | - * @param string $match The match itself |
|
| 161 | + * @param string $matches The match itself |
|
| 162 | 162 | * |
| 163 | 163 | * @return void |
| 164 | 164 | */ |
@@ -218,7 +218,7 @@ discard block |
||
| 218 | 218 | * |
| 219 | 219 | * @param string $v The key that should be used for filtering |
| 220 | 220 | * |
| 221 | - * @return int Returns 1 if the pattern matches given subject, 0 if it does not |
|
| 221 | + * @return boolean Returns 1 if the pattern matches given subject, 0 if it does not |
|
| 222 | 222 | * @throws \RuntimeException Is thrown, if the pattern can not be evaluated against the passed subject |
| 223 | 223 | * @link https://www.php.net/preg_match |
| 224 | 224 | */ |
@@ -76,7 +76,6 @@ discard block |
||
| 76 | 76 | /** |
| 77 | 77 | * Initializes the file handler instance. |
| 78 | 78 | * |
| 79 | - * @param \TechDivision\Import\Services\RegistryProcessorInterface $registryProcessor The registry processor instance |
|
| 80 | 79 | * @param \TechDivision\Import\Loaders\FilteredLoaderInterface $loader The parent loader instance |
| 81 | 80 | * @param \TechDivision\Import\Loaders\Filters\FilterImplInterface $filterImpl The filter instance to use |
| 82 | 81 | * @param \TechDivision\Import\Loaders\Sorters\SorterImplInterface $sorterImpl The sorter instance to use |
@@ -217,7 +216,7 @@ discard block |
||
| 217 | 216 | /** |
| 218 | 217 | * Returns the elements the filenames consists of. |
| 219 | 218 | * |
| 220 | - * @return array The array with the filename elements |
|
| 219 | + * @return string The array with the filename elements |
|
| 221 | 220 | * @todo Refactorig required, because of duplicate method |
| 222 | 221 | * @see \TechDivision\Import\Loaders\Filters\OkFileFilter::getOkFileSuffix() |
| 223 | 222 | */ |
@@ -21,10 +21,8 @@ |
||
| 21 | 21 | namespace TechDivision\Import\Loaders; |
| 22 | 22 | |
| 23 | 23 | use TechDivision\Import\Utils\BunchKeys; |
| 24 | -use TechDivision\Import\Utils\RegistryKeys; |
|
| 25 | 24 | use TechDivision\Import\Loaders\Sorters\UasortImpl; |
| 26 | 25 | use TechDivision\Import\Loaders\Filters\PregMatchFilter; |
| 27 | -use TechDivision\Import\Adapter\FilesystemAdapterInterface; |
|
| 28 | 26 | use TechDivision\Import\Services\RegistryProcessorInterface; |
| 29 | 27 | use TechDivision\Import\Loaders\Filters\FilterImplInterface; |
| 30 | 28 | use TechDivision\Import\Loaders\Sorters\SorterImplInterface; |
@@ -34,10 +34,8 @@ |
||
| 34 | 34 | |
| 35 | 35 | /** |
| 36 | 36 | * |
| 37 | - * @param array $v |
|
| 38 | - * @param string $k |
|
| 39 | 37 | * |
| 40 | - * @return boolean TRUE if the value with the actual key should be in the array, else FALSE |
|
| 38 | + * @return integer TRUE if the value with the actual key should be in the array, else FALSE |
|
| 41 | 39 | */ |
| 42 | 40 | public function __invoke(array $a, array $b) : int |
| 43 | 41 | { |
@@ -55,7 +55,7 @@ |
||
| 55 | 55 | * Initialize the factory with the DI container instance. |
| 56 | 56 | * |
| 57 | 57 | * @param \Symfony\Component\DependencyInjection\ContainerInterface $container The DI container instance |
| 58 | - * @param \TechDivision\Import\Loaders\LoaderFactoryInterface $handlerFactory The .OK file handler factory instance |
|
| 58 | + * @param HandlerFactoryInterface $handlerFactory The .OK file handler factory instance |
|
| 59 | 59 | */ |
| 60 | 60 | public function __construct( |
| 61 | 61 | ContainerInterface $container, |