Passed
Push — master ( c2c535...f87fa1 )
by Alain
04:23
created
src/ConfigFactory.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -57,12 +57,12 @@  discard block
 block discarded – undo
57 57
             try {
58 58
                 $file = array_pop($files);
59 59
 
60
-                if (! is_readable($file)) {
60
+                if ( ! is_readable($file)) {
61 61
                     continue;
62 62
                 }
63 63
 
64 64
                 $config = static::createFromArray(
65
-                    static::getFromCache($file, function ($file) {
65
+                    static::getFromCache($file, function($file) {
66 66
                         return Loader::load($file);
67 67
                     })
68 68
                 );
@@ -177,11 +177,11 @@  discard block
 block discarded – undo
177 177
             try {
178 178
                 $file = array_pop($files);
179 179
 
180
-                if (! is_readable($file)) {
180
+                if ( ! is_readable($file)) {
181 181
                     continue;
182 182
                 }
183 183
 
184
-                $new_data = static::getFromCache($file, function ($file) {
184
+                $new_data = static::getFromCache($file, function($file) {
185 185
                     return Loader::load($file);
186 186
                 });
187 187
 
@@ -238,7 +238,7 @@  discard block
 block discarded – undo
238 238
      */
239 239
     protected static function getFromCache($identifier, $fallback)
240 240
     {
241
-        if (! array_key_exists($identifier, static::$configFilesCache)) {
241
+        if ( ! array_key_exists($identifier, static::$configFilesCache)) {
242 242
             static::$configFilesCache[$identifier] = is_callable($fallback)
243 243
                 ? $fallback($identifier)
244 244
                 : $fallback;
Please login to merge, or discard this patch.