Skip to content

Commit 04b5049

Browse files
lyrixxnicolas-grekas
authored andcommitted
[DebugBundle] Enhance some comments
1 parent f2633f7 commit 04b5049

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

DataCollector/DumpDataCollector.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function __clone()
5353
public function dump(Data $data)
5454
{
5555
if ($this->stopwatch) {
56-
$this->stopwatch->start('dump');
56+
$this->stopwatch->start('dump');
5757
}
5858
if ($this->isCollected) {
5959
$this->isCollected = false;
@@ -160,7 +160,6 @@ public function getDumps($format, $maxDepthLimit = -1, $maxItemsPerDepth = -1)
160160
$dumper = new JsonDumper();
161161
} else {
162162
throw new \InvalidArgumentException(sprintf('Invalid dump format: %s', $format));
163-
164163
}
165164
$dumps = array();
166165

Tests/EventListener/DumpListenerTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
use Symfony\Component\DependencyInjection\ContainerBuilder;
1515
use Symfony\Component\DependencyInjection\Definition;
16-
use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag;
1716
use Symfony\Component\HttpKernel\EventListener\DumpListener;
1817
use Symfony\Component\HttpKernel\KernelEvents;
1918
use Symfony\Component\VarDumper\VarDumper;

0 commit comments

Comments
 (0)