Passed
Push — main ( 078a91...2ce56e )
by Alain
13:15 queued 52s
created
src/ConfigFactory.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -57,16 +57,16 @@  discard block
 block discarded – undo
57 57
             try {
58 58
                 $file = array_pop($files);
59 59
 
60
-                if (! is_string($file)) {
60
+                if ( ! is_string($file)) {
61 61
                     continue;
62 62
                 }
63 63
                 
64
-                if (! is_readable($file)) {
64
+                if ( ! is_readable($file)) {
65 65
                     continue;
66 66
                 }
67 67
 
68 68
                 $config = static::createFromArray(
69
-                    static::getFromCache($file, function ($file) {
69
+                    static::getFromCache($file, function($file) {
70 70
                         return Loader::load($file);
71 71
                     })
72 72
                 );
@@ -181,11 +181,11 @@  discard block
 block discarded – undo
181 181
             try {
182 182
                 $file = array_pop($files);
183 183
 
184
-                if (! is_readable($file)) {
184
+                if ( ! is_readable($file)) {
185 185
                     continue;
186 186
                 }
187 187
 
188
-                $new_data = static::getFromCache($file, function ($file) {
188
+                $new_data = static::getFromCache($file, function($file) {
189 189
                     return Loader::load($file);
190 190
                 });
191 191
 
@@ -242,7 +242,7 @@  discard block
 block discarded – undo
242 242
      */
243 243
     protected static function getFromCache($identifier, $fallback)
244 244
     {
245
-        if (! array_key_exists($identifier, static::$configFilesCache)) {
245
+        if ( ! array_key_exists($identifier, static::$configFilesCache)) {
246 246
             static::$configFilesCache[$identifier] = is_callable($fallback)
247 247
                 ? $fallback($identifier)
248 248
                 : $fallback;
Please login to merge, or discard this patch.