@@ -8,7 +8,9 @@ |
||
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 |