@@ -84,7 +84,7 @@ |
||
| 84 | 84 | */ |
| 85 | 85 | private function formatArray(array $array): string |
| 86 | 86 | { |
| 87 | - $json = json_encode($array, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES); |
|
| 87 | + $json = json_encode($array, JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES); |
|
| 88 | 88 | |
| 89 | 89 | // Transform JSON to PHP array syntax |
| 90 | 90 | $php = preg_replace('/^(\s*)\"(\w+)\":/m', '$1$2:', $json); // Remove quotes from keys |