minor #12506 [HttpKernel] fix parse error in DumpDataCollector (nicolas-grekas)

This PR was merged into the 2.6 branch.

Discussion
----------

[HttpKernel] fix parse error in DumpDataCollector

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #12504
| License       | MIT
| Doc PR        | -

my bad

Commits
-------

5526dd7 [HttpKernel] fix parse error in DumpDataCollector
This commit is contained in:
Nicolas Grekas 2014-11-18 12:25:36 +01:00
commit d55abb334b

View File

@ -155,7 +155,7 @@ class DumpDataCollector extends DataCollector implements DataDumperInterface
public function getDumps($format, $maxDepthLimit = -1, $maxItemsPerDepth = -1)
{
$data = fopen('php://memory' 'r+b');
$data = fopen('php://memory', 'r+b');
if ('html' === $format) {
$dumper = new HtmlDumper($data);