@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | * Initializes the instance with the configuration parser factory instance. |
56 | 56 | * |
57 | 57 | * @param \TechDivision\Import\Configuration\Jms\ConfigurationParserFactoryInterface $configurationParserFactory The configuration parser factory instance |
58 | - * @param string $configurationClass The configuration class name to use |
|
58 | + * @param string $configurationClassName The configuration class name to use |
|
59 | 59 | */ |
60 | 60 | public function __construct(ConfigurationParserFactoryInterface $configurationParserFactory, $configurationClassName = Configuration::class) |
61 | 61 | { |
@@ -128,7 +128,7 @@ discard block |
||
128 | 128 | * @param string $params A serialized string with additional params that'll be passed to the configuration |
129 | 129 | * @param string $paramsFile A filename that contains serialized data with additional params that'll be passed to the configuration |
130 | 130 | * |
131 | - * @return void |
|
131 | + * @return \TechDivision\Import\ConfigurationInterface |
|
132 | 132 | */ |
133 | 133 | public function factoryFromDirectories(array $directories = array(), $format = 'json', $params = null, $paramsFile = null) |
134 | 134 | { |
@@ -123,7 +123,7 @@ |
||
123 | 123 | $files = glob(sprintf('%s/%s', $directory, $suffix), 0); |
124 | 124 | |
125 | 125 | // parse the subdirectories also |
126 | - $dirs = glob($directory. DIRECTORY_SEPARATOR . '*', GLOB_ONLYDIR|GLOB_NOSORT|GLOB_BRACE); |
|
126 | + $dirs = glob($directory . DIRECTORY_SEPARATOR . '*', GLOB_ONLYDIR | GLOB_NOSORT | GLOB_BRACE); |
|
127 | 127 | |
128 | 128 | // iterate over the subdirectories for its files |
129 | 129 | foreach ($dirs as $dir) { |