Skip to content

Commit add1d40

Browse files
committed
Add a few more ??=
1 parent dedf704 commit add1d40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Extension/DumpExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public function dump(Environment $env, array $context): ?string
6868
}
6969

7070
$dump = fopen('php://memory', 'r+');
71-
$this->dumper = $this->dumper ?? new HtmlDumper();
71+
$this->dumper ??= new HtmlDumper();
7272
$this->dumper->setCharset($env->getCharset());
7373

7474
foreach ($vars as $value) {

0 commit comments

Comments
 (0)