@@ -33,7 +33,6 @@ discard block |
||
33 | 33 | |
34 | 34 | /** |
35 | 35 | * Description of Config |
36 | - |
|
37 | 36 | * @author Enjoys |
38 | 37 | */ |
39 | 38 | class Config implements \Psr\Log\LoggerAwareInterface |
@@ -85,7 +84,7 @@ discard block |
||
85 | 84 | |
86 | 85 | private function parse(string $parseClass, string $config, $options, ?string $namespace = null) |
87 | 86 | { |
88 | - /** @var ParseInterface $parser */ |
|
87 | + /** @var ParseInterface $parser */ |
|
89 | 88 | $parser = new $parseClass($config); |
90 | 89 | $parser->setOptions($options); |
91 | 90 | $parser->setLogger($this->logger); |
@@ -76,7 +76,7 @@ |
||
76 | 76 | } |
77 | 77 | } |
78 | 78 | |
79 | - if(is_string($config)){ |
|
79 | + if (is_string($config)) { |
|
80 | 80 | $this->parse($parseClass, $config, $options); |
81 | 81 | } |
82 | 82 |