Passed
Push — v9 ( 80c47f...39dd2f )
by Georges
11:16
created
lib/Phpfastcache/Core/Pool/IO/IOHelperTrait.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
309 309
             }
310 310
         }
311 311
 
312
-        return (bool)($octetWritten ?? false);
312
+        return (bool) ($octetWritten ?? false);
313 313
     }
314 314
 }
Please login to merge, or discard this patch.