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
This commit is contained in:
Nicolas Grekas 2016-09-16 14:48:39 +02:00
commit 2b0df634fb

View File

@ -243,7 +243,7 @@ class DumpDataCollector extends DataCollector implements DataDumperInterface
if ('cli' !== PHP_SAPI && stripos($h[$i], 'html')) {
$this->dumper = new HtmlDumper('php://output', $this->charset);
$dumper->setDisplayOptions(array('fileLinkFormat' => $this->fileLinkFormat));
$this->dumper->setDisplayOptions(array('fileLinkFormat' => $this->fileLinkFormat));
} else {
$this->dumper = new CliDumper('php://output', $this->charset);
}