Skip to content

Commit 0309120

Browse files
CS fix
1 parent 6e14b6b commit 0309120

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Twig/WebProfilerExtension.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class WebProfilerExtension extends ProfilerExtension
4545
public function __construct(HtmlDumper $dumper = null)
4646
{
4747
$this->dumper = $dumper ?: new HtmlDumper();
48-
$this->dumper->setOutput($this->output = fopen('php://memory', 'r+b'));
48+
$this->dumper->setOutput($this->output = fopen('php://memory', 'r+'));
4949
}
5050

5151
/**
@@ -62,7 +62,7 @@ public function enter(Profile $profile)
6262
public function leave(Profile $profile)
6363
{
6464
if (0 === --$this->stackLevel) {
65-
$this->dumper->setOutput($this->output = fopen('php://memory', 'r+b'));
65+
$this->dumper->setOutput($this->output = fopen('php://memory', 'r+'));
6666
}
6767
}
6868

0 commit comments

Comments
 (0)