@@ -171,7 +171,7 @@ discard block |
||
| 171 | 171 | * @return ExtendedCacheItemInterface |
| 172 | 172 | * @throws PhpfastcacheInvalidTypeException |
| 173 | 173 | */ |
| 174 | - public function append(array|string $data): ExtendedCacheItemInterface; |
|
| 174 | + public function append(array | string $data): ExtendedCacheItemInterface; |
|
| 175 | 175 | |
| 176 | 176 | /** |
| 177 | 177 | * @param array|string $data |
@@ -179,7 +179,7 @@ discard block |
||
| 179 | 179 | * @return ExtendedCacheItemInterface |
| 180 | 180 | * @throws PhpfastcacheInvalidTypeException |
| 181 | 181 | */ |
| 182 | - public function prepend(array|string $data): ExtendedCacheItemInterface; |
|
| 182 | + public function prepend(array | string $data): ExtendedCacheItemInterface; |
|
| 183 | 183 | |
| 184 | 184 | /** |
| 185 | 185 | * Return the data as a well-formatted string. |
@@ -245,7 +245,7 @@ discard block |
||
| 245 | 245 | /** |
| 246 | 246 | * @throws PhpfastcacheInvalidTypeException |
| 247 | 247 | */ |
| 248 | - public function append(array|string $data): ExtendedCacheItemInterface |
|
| 248 | + public function append(array | string $data): ExtendedCacheItemInterface |
|
| 249 | 249 | { |
| 250 | 250 | if ($this->data !== null && !\is_string($this->data) && !\is_array($this->data)) { |
| 251 | 251 | throw new PhpfastcacheInvalidTypeException(\sprintf('Cannot append on a "%s" type.', \gettype($this->data))); |
@@ -263,7 +263,7 @@ discard block |
||
| 263 | 263 | /** |
| 264 | 264 | * @throws PhpfastcacheInvalidTypeException |
| 265 | 265 | */ |
| 266 | - public function prepend(array|string $data): ExtendedCacheItemInterface |
|
| 266 | + public function prepend(array | string $data): ExtendedCacheItemInterface |
|
| 267 | 267 | { |
| 268 | 268 | if ($this->data !== null && !\is_string($this->data) && !\is_array($this->data)) { |
| 269 | 269 | throw new PhpfastcacheInvalidTypeException(\sprintf('Cannot prepend on a "%s" type.', \gettype($this->data))); |