Skip to content

Commit a013215

Browse files
committed
[CS] Replace easy occurences of ?: with ??
1 parent bd848a0 commit a013215

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Twig/WebProfilerExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class WebProfilerExtension extends ProfilerExtension
4444

4545
public function __construct(HtmlDumper $dumper = null)
4646
{
47-
$this->dumper = $dumper ?: new HtmlDumper();
47+
$this->dumper = $dumper ?? new HtmlDumper();
4848
$this->dumper->setOutput($this->output = fopen('php://memory', 'r+'));
4949
}
5050

0 commit comments

Comments
 (0)