| @@ -12,7 +12,7 @@ discard block | ||
| 12 | 12 |  { | 
| 13 | 13 | private array $saw = []; | 
| 14 | 14 | |
| 15 | - public function dump(object|array|string|float|int|bool|null $variable): string | |
| 15 | + public function dump(object | array | string | float | int | bool | null $variable): string | |
| 16 | 16 |      { | 
| 17 | 17 | $this->saw = []; | 
| 18 | 18 | $a = $this->cast($variable); | 
| @@ -20,7 +20,7 @@ discard block | ||
| 20 | 20 | return json_encode($a, JSON_PRETTY_PRINT | JSON_THROW_ON_ERROR | JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE) . PHP_EOL; | 
| 21 | 21 | } | 
| 22 | 22 | |
| 23 | - private function cast(object|array|string|float|int|bool|null $variable): array|string|float|int|bool|null | |
| 23 | + private function cast(object | array | string | float | int | bool | null $variable): array | string | float | int | bool | null | |
| 24 | 24 |      { | 
| 25 | 25 |          if ((is_iterable($variable))) { | 
| 26 | 26 | $values = []; | 
| @@ -44,7 +44,7 @@ discard block | ||
| 44 | 44 | return $variable; | 
| 45 | 45 | } | 
| 46 | 46 | |
| 47 | - private function castObject(object $object): array|string | |
| 47 | + private function castObject(object $object): array | string | |
| 48 | 48 |      { | 
| 49 | 49 | $key = spl_object_id($object); | 
| 50 | 50 |          if (array_key_exists($key, $this->saw)) { |