Passed
Push — v9 ( c118ff...bef8b5 )
by Georges
10:25
created
lib/Phpfastcache/CacheContract.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
     /**
32 32
      * @throws InvalidArgumentException
33 33
      */
34
-    public function get(string $cacheKey, callable $callback, DateInterval|int $expiresAfter = null): mixed
34
+    public function get(string $cacheKey, callable $callback, DateInterval | int $expiresAfter = null): mixed
35 35
     {
36 36
         $cacheItem = $this->cacheInstance->getItem($cacheKey);
37 37
 
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
     /**
54 54
      * @throws InvalidArgumentException
55 55
      */
56
-    public function __invoke(string $cacheKey, callable $callback, DateInterval|int $expiresAfter = null): mixed
56
+    public function __invoke(string $cacheKey, callable $callback, DateInterval | int $expiresAfter = null): mixed
57 57
     {
58 58
         return $this->get($cacheKey, $callback, $expiresAfter);
59 59
     }
Please login to merge, or discard this patch.