@@ -136,7 +136,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | } |