8000 [Var-Dumper] added feature to set default nodes collapsed · symfony/symfony@62c6ab5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 62c6ab5

Browse files
committed
[Var-Dumper] added feature to set default nodes collapsed
modify js htmldumper and add attr in root node
1 parent 9a17127 commit 62c6ab5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/VarDumper/Dumper/HtmlDumper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class HtmlDumper extends CliDumper
4646
);
4747

4848
protected $jsProperties = array(
49-
'collapsedByDefaultNodesHigherThan' => 1
49+
'collapsedByDefaultNodesHigherThan' => 1,
5050
);
5151

5252
/**
@@ -467,7 +467,7 @@ protected function dumpLine($depth, $endOfValue = false)
467467
$this->dumpId,
468468
$this->indentPad,
469469
$this->jsProperties['collapsedByDefaultNodesHigherThan']
470-
) . $this->line;
470+
).$this->line;
471471
}
472472
if (!$this->headerIsDumped) {
473473
$this->line = $this->getDumpHeader().$this->line;

0 commit comments

Comments
 (0)
0