Passed
Push — master ( e6f852...fe1bfe )
by Giuliano
09:42
created
src/Foundation/FolderReader.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,9 @@
 block discarded – undo
8 8
 
9 9
     static public function read(string $path, int $level) : array
10 10
     {        
11
-        if (! is_dir($path)) return [];
11
+        if (! is_dir($path)) {
12
+            return [];
13
+        }
12 14
         
13 15
         self::scan($path, 1, $level);
14 16
         
Please login to merge, or discard this patch.