@@ -74,7 +74,7 @@ |
||
| 74 | 74 | /** |
| 75 | 75 | * The factory method that creates a new emitter instance. |
| 76 | 76 | * |
| 77 | - * @return void |
|
| 77 | + * @return EmitterInterface |
|
| 78 | 78 | */ |
| 79 | 79 | public function createEmitter() |
| 80 | 80 | { |
@@ -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 | * |
@@ -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 | */ |
@@ -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 | */ |
@@ -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, |
@@ -82,7 +82,7 @@ discard block |
||
| 82 | 82 | * |
| 83 | 83 | * @param string $filename Path to the file |
| 84 | 84 | * |
| 85 | - * @return TRUE if the filename exists and is a directory, else FALSE |
|
| 85 | + * @return boolean if the filename exists and is a directory, else FALSE |
|
| 86 | 86 | */ |
| 87 | 87 | public function isDir($filename) |
| 88 | 88 | { |
@@ -120,7 +120,7 @@ discard block |
||
| 120 | 120 | * @param string $filename The name of the file to write the data to |
| 121 | 121 | * @param string $data The data to write to the file |
| 122 | 122 | * |
| 123 | - * @return number The number of bytes written to the file |
|
| 123 | + * @return boolean The number of bytes written to the file |
|
| 124 | 124 | */ |
| 125 | 125 | public function write($filename, $data) |
| 126 | 126 | { |
@@ -223,7 +223,7 @@ discard block |
||
| 223 | 223 | * |
| 224 | 224 | * @param string $filename The name of the file to return its content for |
| 225 | 225 | * |
| 226 | - * @return array The content of the file as array |
|
| 226 | + * @return string|false The content of the file as array |
|
| 227 | 227 | * @throws \Exception Is thrown, if the file is not accessible |
| 228 | 228 | */ |
| 229 | 229 | public function read($filename) |