You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public function NAME(string $VAR, TYPE$VALUE): self
167
174
{
168
175
$this->PROPERTY[$VAR] = $VALUE;
@@ -194,11 +201,12 @@ public function NAME(string $VAR, array $VALUE = []): CLASS
194
201
{
195
202
if (!isset($this->PROPERTY[$VAR])) {
196
203
return $this->PROPERTY[$VAR] = new CLASS($value);
197
-
} elseif ([] === $value) {
204
+
}
205
+
if ([] === $value) {
198
206
return $this->PROPERTY[$VAR];
199
-
} else {
200
-
throw new \Symfony\Component\Config\Definition\Exception\InvalidConfigurationException(sprintf(\'The node created by "NAME()" has already been initialized. You cannot pass values the second time you call NAME().\'));
201
207
}
208
+
209
+
throw new \Symfony\Component\Config\Definition\Exception\InvalidConfigurationException(sprintf(\'The node created by "NAME()" has already been initialized. You cannot pass values the second time you call NAME().\'));
0 commit comments