bug #15804 [VarDumper] Fix HtmlDumper constructor calling CliDumper's (nicolas-grekas)

This PR was merged into the 2.7 branch.

Discussion
----------

[VarDumper] Fix HtmlDumper constructor calling CliDumper's

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | https://github.com/symfony/var-dumper/pull/2#issuecomment-140338205
| License       | MIT
| Doc PR        | -

Commits
-------

4c7bb9c [VarDumper] Fix HtmlDumper constructor calling CliDumper's
This commit is contained in:
Nicolas Grekas 2015-09-17 14:16:46 +02:00
commit 89d75af805
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ class HtmlDumper extends CliDumper
*/
public function __construct($output = null, $charset = null)
{
parent::__construct($output, $charset);
AbstractDumper::__construct($output, $charset);
$this->dumpId = 'sf-dump-'.mt_rand();
}