Passed
Push — master ( 5c4340...91987b )
by Roberto
01:25 queued 47s
created
src/Files.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
         if (count($par) > 1) {
46 46
             //tem mais diretorios
47 47
             $dir = '';
48
-            for ($x = 0; $x < (count($par)-1); $x++) {
48
+            for ($x = 0; $x < (count($par) - 1); $x++) {
49 49
                 $dir .= $par[$x] . "/";
50 50
             }
51 51
             if (!is_dir($this->path . $dir)) {
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
     public function listContents(string $folder = '')
90 90
     {
91 91
         $new = [];
92
-        if (is_dir($this->path. DIRECTORY_SEPARATOR . $folder)) {
92
+        if (is_dir($this->path . DIRECTORY_SEPARATOR . $folder)) {
93 93
             if (empty($folder)) {
94 94
                 $list = glob($this->path . "*.*");
95 95
             } else {
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
             return true;
130 130
         } elseif (is_file($path)) {
131 131
             return true;
132
-        } elseif (is_file($this->path. DIRECTORY_SEPARATOR . $path)) {
132
+        } elseif (is_file($this->path . DIRECTORY_SEPARATOR . $path)) {
133 133
             return true;
134 134
         }
135 135
         return false;
Please login to merge, or discard this patch.