@@ -241,7 +241,7 @@ discard block |
||
| 241 | 241 | $__path = $path; |
| 242 | 242 | $__data = $data; |
| 243 | 243 | |
| 244 | - return (static function () use ($__path, $__data) { |
|
| 244 | + return (static function() use ($__path, $__data) { |
|
| 245 | 245 | extract($__data, EXTR_SKIP); |
| 246 | 246 | |
| 247 | 247 | return require $__path; |
@@ -267,7 +267,7 @@ discard block |
||
| 267 | 267 | $__path = $path; |
| 268 | 268 | $__data = $data; |
| 269 | 269 | |
| 270 | - return (static function () use ($__path, $__data) { |
|
| 270 | + return (static function() use ($__path, $__data) { |
|
| 271 | 271 | extract($__data, EXTR_SKIP); |
| 272 | 272 | |
| 273 | 273 | return require_once $__path; |
@@ -289,7 +289,7 @@ discard block |
||
| 289 | 289 | * |
| 290 | 290 | * @return int|null The file size in bytes or null if unknown |
| 291 | 291 | */ |
| 292 | - public function size($path, $unit = 'b'): int|null |
|
| 292 | + public function size($path, $unit = 'b'): int | null |
|
| 293 | 293 | { |
| 294 | 294 | if ( ! $this->exists($path)) { |
| 295 | 295 | if (is_null($this->size)) { |
@@ -767,7 +767,7 @@ discard block |
||
| 767 | 767 | * |
| 768 | 768 | * @return int|bool |
| 769 | 769 | */ |
| 770 | - public function put($path, $contents, $lock = false): int|bool |
|
| 770 | + public function put($path, $contents, $lock = false): int | bool |
|
| 771 | 771 | { |
| 772 | 772 | return file_put_contents($path, $contents, $lock ? LOCK_EX : 0); |
| 773 | 773 | } |