@@ -101,5 +101,5 @@ |
||
101 | 101 | * @return static |
102 | 102 | * The called object. |
103 | 103 | */ |
104 | - public function expiresAfter(int|\DateInterval|null $time): static; |
|
104 | + public function expiresAfter(int | \DateInterval | null $time): static; |
|
105 | 105 | } |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | * @throws \Psr\SimpleCache\InvalidArgumentException |
32 | 32 | * MUST be thrown if the $key string is not a legal value. |
33 | 33 | */ |
34 | - public function set(string $key, mixed $value, null|int|\DateInterval $ttl = null): bool; |
|
34 | + public function set(string $key, mixed $value, null | int | \DateInterval $ttl = null): bool; |
|
35 | 35 | |
36 | 36 | /** |
37 | 37 | * Delete an item from the cache by its unique key. |
@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | * MUST be thrown if $values is neither an array nor a Traversable, |
81 | 81 | * or if any of the $values are not a legal value. |
82 | 82 | */ |
83 | - public function setMultiple(iterable $values, null|int|\DateInterval $ttl = null): bool; |
|
83 | + public function setMultiple(iterable $values, null | int | \DateInterval $ttl = null): bool; |
|
84 | 84 | |
85 | 85 | /** |
86 | 86 | * Deletes multiple cache items in a single operation. |