Completed
Pull Request — master (#21)
by Andreas
04:32
created
src/PHPFileReader.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,14 +25,14 @@
 block discarded – undo
25 25
     private function assertFileExists()
26 26
     {
27 27
         if (!file_exists($this->filename)) {
28
-            throw new FileNotFoundException($this->filename . ' does not exist');
28
+            throw new FileNotFoundException($this->filename.' does not exist');
29 29
         }
30 30
     }
31 31
 
32 32
     private function assertConfigIsValid($config)
33 33
     {
34 34
         if (!is_array($config)) {
35
-            throw new InvalidConfigException($this->filename . ' does not return a PHP array');
35
+            throw new InvalidConfigException($this->filename.' does not return a PHP array');
36 36
         }
37 37
     }
38 38
 }
Please login to merge, or discard this patch.
src/ConfigServiceProvider.php 1 patch
Spacing   +4 added lines, -4 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
             },
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
 
172 172
         foreach ($value as $subkey => $subvalue) {
173 173
             $expanded += $this->expandSubGroup(
174
-                $key . $this->separator . $subkey,
174
+                $key.$this->separator.$subkey,
175 175
                 $subvalue
176 176
             );
177 177
         }
@@ -201,8 +201,8 @@  discard block
 block discarded – undo
201 201
     private function addPrefix(array $keys)
202 202
     {
203 203
         return array_map(
204
-            function ($key) {
205
-                return $this->prefix . $this->separator . $key;
204
+            function($key) {
205
+                return $this->prefix.$this->separator.$key;
206 206
             },
207 207
             $keys
208 208
         );
Please login to merge, or discard this patch.