@@ -76,7 +76,7 @@ discard block |
||
| 76 | 76 | ]); |
| 77 | 77 | |
| 78 | 78 | $configs = array_map( |
| 79 | - function ($filename) use ($factory) { |
|
| 79 | + function($filename) use ($factory) { |
|
| 80 | 80 | $reader = $factory->create($filename); |
| 81 | 81 | return $reader->read($filename); |
| 82 | 82 | }, |
@@ -120,7 +120,7 @@ discard block |
||
| 120 | 120 | public function register() |
| 121 | 121 | { |
| 122 | 122 | foreach ($this->config as $key => $value) { |
| 123 | - $this->getContainer()->add($key, function () use ($value) { |
|
| 123 | + $this->getContainer()->add($key, function() use ($value) { |
|
| 124 | 124 | return $value; |
| 125 | 125 | }); |
| 126 | 126 | } |
@@ -173,7 +173,7 @@ discard block |
||
| 173 | 173 | |
| 174 | 174 | foreach ($value as $subkey => $subvalue) { |
| 175 | 175 | $expanded += $this->expandSubGroup( |
| 176 | - $key . $this->separator . $subkey, |
|
| 176 | + $key.$this->separator.$subkey, |
|
| 177 | 177 | $subvalue |
| 178 | 178 | ); |
| 179 | 179 | } |
@@ -203,8 +203,8 @@ discard block |
||
| 203 | 203 | private function addPrefix(array $keys) |
| 204 | 204 | { |
| 205 | 205 | return array_map( |
| 206 | - function ($key) { |
|
| 207 | - return $this->prefix . $this->separator . $key; |
|
| 206 | + function($key) { |
|
| 207 | + return $this->prefix.$this->separator.$key; |
|
| 208 | 208 | }, |
| 209 | 209 | $keys |
| 210 | 210 | ); |