Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 642379f

Browse files
[HttpKernel] Fixed DumpDataCollector destruct
1 parent c6f6e05 commit 642379f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpKernel/DataCollector/DumpDataCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ public function __destruct()
243243

244244
if ('cli' !== PHP_SAPI && stripos($h[$i], 'html')) {
245245
$this->dumper = new HtmlDumper('php://output', $this->charset);
246-
$dumper->setDisplayOptions(array('fileLinkFormat' => $this->fileLinkFormat));
246+
$this->dumper->setDisplayOptions(array('fileLinkFormat' => $this->fileLinkFormat));
247247
} else {
248248
$this->dumper = new CliDumper('php://output', $this->charset);
249249
}

0 commit comments

Comments
 (0)