Passed
Push — master ( ef46df...c013d9 )
by Caen
04:14 queued 43s
created
packages/framework/src/Foundation/Kernel/Filesystem.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
      */
137 137
     public function vendorPath(string $path = '', string $package = 'framework'): string
138 138
     {
139
-        if (PharSupport::running() && ! PharSupport::hasVendorDirectory()) {
139
+        if (PharSupport::running() && !PharSupport::hasVendorDirectory()) {
140 140
             return PharSupport::vendorPath($path, $package);
141 141
         }
142 142
 
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
      */
151 151
     public function touch(string|array $path): bool
152 152
     {
153
-        return collect($path)->map(function (string $path): bool {
153
+        return collect($path)->map(function(string $path): bool {
154 154
             return touch($this->path($path));
155 155
         })->contains(false) === false;
156 156
     }
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
      */
163 163
     public function unlink(string|array $path): bool
164 164
     {
165
-        return collect($path)->map(function (string $path): bool {
165
+        return collect($path)->map(function(string $path): bool {
166 166
             return unlink($this->path($path));
167 167
         })->contains(false) === false;
168 168
     }
Please login to merge, or discard this patch.