Completed
Pull Request — master (#10)
by Amine
01:38
created
src/Config/ConfigLoader.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,11 +35,11 @@
 block discarded – undo
35 35
     }
36 36
 
37 37
     protected function decode(string $path) : array {
38
-        if (! $this->fs->isFile($path))
38
+        if (!$this->fs->isFile($path))
39 39
             return [];
40 40
         $file = $this->fs->file($path);
41 41
         $ext  = $file->extension();
42
-        if (! array_key_exists($ext, static::$decoders))
42
+        if (!array_key_exists($ext, static::$decoders))
43 43
             throw new \Exception("Unknown configuration file extension '{$ext}'");
44 44
         $decoderClass = static::$decoders[$ext];
45 45
         $decoder = new $decoderClass;
Please login to merge, or discard this patch.