@@ -82,7 +82,7 @@ |
||
82 | 82 | |
83 | 83 | private function formatArray(array $array): string |
84 | 84 | { |
85 | - $json = json_encode($array, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES); |
|
85 | + $json = json_encode($array, JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES); |
|
86 | 86 | |
87 | 87 | // Transform JSON to PHP array syntax |
88 | 88 | $php = preg_replace('/^(\s*)\"(\w+)\":/m', '$1$2:', $json); // Remove quotes from keys |
@@ -49,7 +49,7 @@ |
||
49 | 49 | /** |
50 | 50 | * @internal |
51 | 51 | */ |
52 | - public static function try(callable $callback, ?string $message = null): mixed |
|
52 | + public static function try(callable $callback, ?string $message = null) : mixed |
|
53 | 53 | { |
54 | 54 | try { |
55 | 55 | return $callback(); |