@@ -179,7 +179,7 @@ |
||
| 179 | 179 | /** |
| 180 | 180 | * Return's the elements the filenames consists of. |
| 181 | 181 | * |
| 182 | - * @return array The array with the filename elements |
|
| 182 | + * @return string The array with the filename elements |
|
| 183 | 183 | */ |
| 184 | 184 | public function getPatternElements() |
| 185 | 185 | { |
@@ -164,7 +164,7 @@ discard block |
||
| 164 | 164 | /** |
| 165 | 165 | * Return's the reference to the configuration instance. |
| 166 | 166 | * |
| 167 | - * @return \TechDivision\Import\ConfigurationInterface The configuration instance |
|
| 167 | + * @return string The configuration instance |
|
| 168 | 168 | */ |
| 169 | 169 | public function getConfiguration() |
| 170 | 170 | { |
@@ -248,7 +248,7 @@ discard block |
||
| 248 | 248 | /** |
| 249 | 249 | * Set's the configuration of the operation the plugin has been configured for. |
| 250 | 250 | * |
| 251 | - * @param \\TechDivision\Import\Configuration\OperationConfigurationInterface $operationConfiguration The operation configuration |
|
| 251 | + * @param OperationConfigurationInterface $operationConfiguration The operation configuration |
|
| 252 | 252 | * |
| 253 | 253 | * @return void |
| 254 | 254 | */ |
@@ -109,7 +109,7 @@ |
||
| 109 | 109 | * @param string $params A serialized string with additional params that'll be passed to the configuration |
| 110 | 110 | * @param string $paramsFile A filename that contains serialized data with additional params that'll be passed to the configuration |
| 111 | 111 | * |
| 112 | - * @return void |
|
| 112 | + * @return \TechDivision\Import\ConfigurationInterface |
|
| 113 | 113 | */ |
| 114 | 114 | public function factoryFromDirectories(array $directories = array(), $format = 'json', $params = null, $paramsFile = null) |
| 115 | 115 | { |
@@ -187,6 +187,9 @@ |
||
| 187 | 187 | ->get(); |
| 188 | 188 | } |
| 189 | 189 | |
| 190 | + /** |
|
| 191 | + * @param string $format |
|
| 192 | + */ |
|
| 190 | 193 | private function visit(VisitorInterface $visitor, Context $context, $data, $format, array $type = null) |
| 191 | 194 | { |
| 192 | 195 | $context->initialize( |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | * |
| 59 | 59 | * @param array $directories An array with diretories to parse |
| 60 | 60 | * |
| 61 | - * @return void |
|
| 61 | + * @return string |
|
| 62 | 62 | * @throws \Exception Is thrown if the configuration can not be loaded from the configuration files |
| 63 | 63 | */ |
| 64 | 64 | public function parse(array $directories) |
@@ -113,7 +113,6 @@ discard block |
||
| 113 | 113 | * List the filenames of a directory. |
| 114 | 114 | * |
| 115 | 115 | * @param string $directory The directory to list |
| 116 | - * @param boolean $recursive Whether to list recursively |
|
| 117 | 116 | * |
| 118 | 117 | * @return array A list of filenames |
| 119 | 118 | */ |