@@ -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 | */ |
@@ -20,7 +20,6 @@ |
||
| 20 | 20 | |
| 21 | 21 | namespace TechDivision\Import\Configuration\Jms\Parsers; |
| 22 | 22 | |
| 23 | -use TechDivision\Import\Adapter\PhpFilesystemAdapterInterface; |
|
| 24 | 23 | use TechDivision\Import\Configuration\Jms\Utils\ArrayUtilInterface; |
| 25 | 24 | use TechDivision\Import\Configuration\Jms\ConfigurationParserInterface; |
| 26 | 25 | |
@@ -124,7 +124,7 @@ |
||
| 124 | 124 | $files = glob($pattern = sprintf('%s/%s', $directory, $suffix), 0); |
| 125 | 125 | |
| 126 | 126 | // parse the subdirectories also |
| 127 | - $dirs = glob($directory. DIRECTORY_SEPARATOR . '*', GLOB_ONLYDIR|GLOB_NOSORT|GLOB_BRACE); |
|
| 127 | + $dirs = glob($directory . DIRECTORY_SEPARATOR . '*', GLOB_ONLYDIR | GLOB_NOSORT | GLOB_BRACE); |
|
| 128 | 128 | |
| 129 | 129 | // iterate over the subdirectories for its files |
| 130 | 130 | foreach ($dirs as $dir) { |