Skip to content

Commit

Permalink
Add a few more ??=
Browse files Browse the repository at this point in the history
  • Loading branch information
tigitz committed Sep 21, 2022
1 parent 9f35d3f commit 6d3e119
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/phpt/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

use Symfony\Component\Runtime\SymfonyRuntime;

$_SERVER['APP_RUNTIME_OPTIONS'] = $_SERVER['APP_RUNTIME_OPTIONS'] ?? [];
$_SERVER['APP_RUNTIME_OPTIONS'] ??= [];
$_SERVER['APP_RUNTIME_OPTIONS'] += [
'project_dir' => __DIR__,
] + ($_SERVER['APP_RUNTIME_OPTIONS'] ?? []);
Expand Down

0 comments on commit 6d3e119

Please sign in to comment.