Completed
Push — master ( 9f08b3...3a6847 )
by Tom
02:14
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   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
 
74 74
         if (empty($files)) {
75 75
             throw new NoMatchingFilesException(
76
-                'No files found matching patterns: ' . implode(', ', $patterns)
76
+                'No files found matching patterns: '.implode(', ', $patterns)
77 77
             );
78 78
         }
79 79
 
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
         ]);
84 84
 
85 85
         $configs = array_map(
86
-            function ($filename) use ($factory) {
86
+            function($filename) use ($factory) {
87 87
                 $reader = $factory->create($filename);
88 88
                 return $reader->read($filename);
89 89
             },
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
     public function register()
128 128
     {
129 129
         foreach ($this->config as $key => $value) {
130
-            $this->getContainer()->add($key, function () use ($value) {
130
+            $this->getContainer()->add($key, function() use ($value) {
131 131
                 return $value;
132 132
             });
133 133
         }
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
 
181 181
         foreach ($value as $subkey => $subvalue) {
182 182
             $expanded += $this->expandSubGroup(
183
-                $key . $this->separator . $subkey,
183
+                $key.$this->separator.$subkey,
184 184
                 $subvalue
185 185
             );
186 186
         }
@@ -210,8 +210,8 @@  discard block
 block discarded – undo
210 210
     private function addPrefix(array $keys)
211 211
     {
212 212
         return array_map(
213
-            function ($key) {
214
-                return $this->prefix . $this->separator . $key;
213
+            function($key) {
214
+                return $this->prefix.$this->separator.$key;
215 215
             },
216 216
             $keys
217 217
         );
Please login to merge, or discard this patch.