Skip to content

Commit 5402bad

Browse files
[VarDumper] edge case fixes
1 parent dbfd0ec commit 5402bad

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

DataCollector/DumpDataCollector.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
use Symfony\Component\HttpFoundation\Response;
1616
use Symfony\Component\Stopwatch\Stopwatch;
1717
use Symfony\Component\VarDumper\Cloner\Data;
18-
use Symfony\Component\VarDumper\Dumper\JsonDumper;
1918
use Symfony\Component\VarDumper\Dumper\CliDumper;
2019
use Symfony\Component\VarDumper\Dumper\HtmlDumper;
2120
use Symfony\Component\VarDumper\Dumper\DataDumperInterface;
@@ -158,8 +157,6 @@ public function getDumps($format, $maxDepthLimit = -1, $maxItemsPerDepth = -1)
158157
{
159158
if ('html' === $format) {
160159
$dumper = new HtmlDumper();
161-
} elseif ('json' === $format) {
162-
$dumper = new JsonDumper();
163160
} else {
164161
throw new \InvalidArgumentException(sprintf('Invalid dump format: %s', $format));
165162
}

0 commit comments

Comments
 (0)