Completed
Pull Request — master (#21)
by Andreas
02:12
created
src/ConfigServiceProvider.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
         );
Please login to merge, or discard this patch.