Skip to content

Commit

Permalink
remove unneeded parenthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Aug 26, 2020
1 parent d69202b commit 1b890e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DiContainerTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function setDefaults(array $properties, bool $passively = false)
$isMissing = true;

try {
$origValue = ($this->{$name} ?? null);
$origValue = $this->{$name} ?? null;
if ($origValue !== null) {
$isMissing = false;
}
Expand Down

0 comments on commit 1b890e2

Please sign in to comment.