@@ -282,7 +282,7 @@ discard block |
||
| 282 | 282 | * |
| 283 | 283 | * @return Asset |
| 284 | 284 | */ |
| 285 | - public function asset($path, array|null $options = null): Asset |
|
| 285 | + public function asset($path, array | null $options = null): Asset |
|
| 286 | 286 | { |
| 287 | 287 | if (!\is_string($path) && !\is_array($path)) { |
| 288 | 288 | throw new RuntimeException(\sprintf('Argument of "%s()" must a string or an array.', \Cecil\Util::formatMethodName(__METHOD__))); |
@@ -933,7 +933,7 @@ discard block |
||
| 933 | 933 | /** |
| 934 | 934 | * Hashing an object, an array or a string (with algo, md5 by default). |
| 935 | 935 | */ |
| 936 | - public function hash(object|array|string $data, $algo = 'md5'): string |
|
| 936 | + public function hash(object | array | string $data, $algo = 'md5'): string |
|
| 937 | 937 | { |
| 938 | 938 | switch (\gettype($data)) { |
| 939 | 939 | case 'object': |