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

Skip to content

Commit 2b0df63

Browse files
bug #19949 [HttpKernel] Fixed DumpDataCollector destruct (jeremyFreeAgent)
This PR was merged into the 3.2-dev branch. Discussion ---------- [HttpKernel] Fixed DumpDataCollector destruct | Q | A | ------------- | --- | Branch? | master | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Commits ------- 642379f [HttpKernel] Fixed DumpDataCollector destruct
2 parents c6f6e05 + 642379f commit 2b0df63

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)