From 1b890e26df61d8c43649cf922d195fddf6657935 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Vo=C5=99=C3=AD=C5=A1ek?= Date: Wed, 26 Aug 2020 20:59:20 +0200 Subject: [PATCH] remove unneeded parenthesis --- src/DiContainerTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }