@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | * @throws PhpfastcacheIOException |
77 | 77 | * @throws PhpfastcacheInvalidArgumentException |
78 | 78 | */ |
79 | - protected function getFilePath(string|bool $keyword, bool $skip = false): string |
|
79 | + protected function getFilePath(string | bool $keyword, bool $skip = false): string |
|
80 | 80 | { |
81 | 81 | $path = $this->getPath(); |
82 | 82 | |
@@ -250,7 +250,7 @@ discard block |
||
250 | 250 | throw new PhpfastcacheIOException("Cannot read file located at: $file"); |
251 | 251 | } |
252 | 252 | if (\function_exists('file_get_contents')) { |
253 | - return (string)\file_get_contents($file); |
|
253 | + return (string) \file_get_contents($file); |
|
254 | 254 | } |
255 | 255 | |
256 | 256 | $string = ''; |
@@ -309,6 +309,6 @@ discard block |
||
309 | 309 | } |
310 | 310 | } |
311 | 311 | |
312 | - return (bool)($octetWritten ?? false); |
|
312 | + return (bool) ($octetWritten ?? false); |
|
313 | 313 | } |
314 | 314 | } |