@@ -1354,7 +1354,7 @@ discard block |
||
1354 | 1354 | /** |
1355 | 1355 | * Whether or not the files should be moved from the source to the target directory. |
1356 | 1356 | * |
1357 | - * @return TRUE if the files should be moved, FALSE otherwise |
|
1357 | + * @return boolean if the files should be moved, FALSE otherwise |
|
1358 | 1358 | */ |
1359 | 1359 | public function shouldMoveFiles() |
1360 | 1360 | { |
@@ -1376,7 +1376,7 @@ discard block |
||
1376 | 1376 | /** |
1377 | 1377 | * Whether or not the configuration files have to be compiled or not. |
1378 | 1378 | * |
1379 | - * @return TRUE if the configuration files have to be compiled, FALSE otherwise |
|
1379 | + * @return boolean if the configuration files have to be compiled, FALSE otherwise |
|
1380 | 1380 | */ |
1381 | 1381 | public function shouldCompile() |
1382 | 1382 | { |
@@ -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 | { |
@@ -38,9 +38,8 @@ |
||
38 | 38 | * Parsing the configuration and merge it recursively. |
39 | 39 | * |
40 | 40 | * @param array $directories An array with diretories to parse |
41 | - * @param string $format The format of the configuration data, either one of json, yaml or xml |
|
42 | 41 | * |
43 | - * @return void |
|
42 | + * @return string |
|
44 | 43 | */ |
45 | 44 | public function parse(array $directories) |
46 | 45 | { |
@@ -73,7 +73,7 @@ |
||
73 | 73 | |
74 | 74 | // query whether or not a configuration parser mapping is available |
75 | 75 | if (isset($this->parserMappings[$format])) { |
76 | - return $this->container->get( $this->parserMappings[$format]); |
|
76 | + return $this->container->get($this->parserMappings[$format]); |
|
77 | 77 | } |
78 | 78 | |
79 | 79 | // throw an exception, if NO mapping for the passed format has been available |