Passed
Push — master ( fec7a7...e6f852 )
by Giuliano
03:19
created
src/Providers/FileSystemProvider.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,8 @@
 block discarded – undo
22 22
 
23 23
     private function registerFacade()
24 24
     {
25
-        $this->app->bind('filesystem',function() {
25
+        $this->app->bind('filesystem',function()
26
+        {
26 27
             return new FileSystem();
27 28
         });
28 29
     }
Please login to merge, or discard this patch.
src/Foundation/Drive/PathSanitizer.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 namespace Maestriam\FileSystem\Foundation\Drive;
4 4
 
5 5
 abstract class PathSanitizer
6
-{    
6
+{
7 7
     /**
8 8
      * Ajusta uma string de caminho para 
9 9
      *
Please login to merge, or discard this patch.
src/Foundation/Drive/StructureDirectory.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
 use Maestriam\FileSystem\Concerns\FluentGetter;
6 6
 
7 7
 class StructureDirectory
8
-{    
8
+{
9 9
     use FluentGetter;
10 10
 
11 11
     /**
Please login to merge, or discard this patch.
src/Foundation/Drive/PathFinder.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 use Maestriam\FileSystem\Foundation\Drive\StructureDirectory;
7 7
 
8 8
 class PathFinder
9
-{    
9
+{
10 10
     private array $structureDirectory;
11 11
 
12 12
     /**
Please login to merge, or discard this patch.
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.