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:
commit
89d75af805
@ -50,7 +50,7 @@ class HtmlDumper extends CliDumper
|
|||||||
*/
|
*/
|
||||||
public function __construct($output = null, $charset = null)
|
public function __construct($output = null, $charset = null)
|
||||||
{
|
{
|
||||||
parent::__construct($output, $charset);
|
AbstractDumper::__construct($output, $charset);
|
||||||
$this->dumpId = 'sf-dump-'.mt_rand();
|
$this->dumpId = 'sf-dump-'.mt_rand();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user