We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0e8033 commit a2b46b3Copy full SHA for a2b46b3
src/Helper/ShortSyntaxArray.php
@@ -4,7 +4,7 @@
4
5
class ShortSyntaxArray
6
{
7
- public static function parse(array $expression, $removeNumericIndex = false, $indent = 4): string
+ public static function parse(array $expression, $removeNumericIndex = true, $indent = 4): string
8
9
$object = json_decode(str_replace(['(', ')'], ['(', ')'], json_encode($expression)), true);
10
$export = str_replace(['array (', ')', '(', ')'], ['[', ']', '(', ')'], var_export($object, true));
0 commit comments