We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e14b6b commit 0309120Copy full SHA for 0309120
Twig/WebProfilerExtension.php
@@ -45,7 +45,7 @@ class WebProfilerExtension extends ProfilerExtension
45
public function __construct(HtmlDumper $dumper = null)
46
{
47
$this->dumper = $dumper ?: new HtmlDumper();
48
- $this->dumper->setOutput($this->output = fopen('php://memory', 'r+b'));
+ $this->dumper->setOutput($this->output = fopen('php://memory', 'r+'));
49
}
50
51
/**
@@ -62,7 +62,7 @@ public function enter(Profile $profile)
62
public function leave(Profile $profile)
63
64
if (0 === --$this->stackLevel) {
65
66
67
68
0 commit comments