diff --git a/src/DiContainerTrait.php b/src/DiContainerTrait.php index 0b4f84dd..9db16f74 100644 --- a/src/DiContainerTrait.php +++ b/src/DiContainerTrait.php @@ -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; }