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
@@ -223,7 +223,7 @@ protected function finalizeValue($value)
223
223
}
224
224
225
225
foreach ($this->childrenas$name => $child) {
226
-
if (!array_key_exists($name, $value)) {
226
+
if (!\array_key_exists($name, $value)) {
227
227
if ($child->isRequired()) {
228
228
$ex = newInvalidConfigurationException(sprintf('The child node "%s" at path "%s" must be configured.', $name, $this->getPath()));
229
229
$ex->setPath($this->getPath());
@@ -359,7 +359,7 @@ protected function mergeValues($leftSide, $rightSide)
359
359
360
360
foreach ($rightSideas$k => $v) {
361
361
// no conflict
362
-
if (!array_key_exists($k, $leftSide)) {
362
+
if (!\array_key_exists($k, $leftSide)) {
363
363
if (!$this->allowNewKeys) {
364
364
$ex = newInvalidConfigurationException(sprintf('You are not allowed to define new elements for path "%s". Please define all elements for this path in one config file. If you are trying to overwrite an element, make sure you redefine it with the same name.', $this->getPath()));
@@ -258,7 +258,7 @@ protected function normalizeValue($value)
258
258
}
259
259
}
260
260
261
-
if (array_key_exists($k, $normalized)) {
261
+
if (\array_key_exists($k, $normalized)) {
262
262
$ex = newDuplicateKeyException(sprintf('Duplicate key "%s" for path "%s".', $k, $this->getPath()));
263
263
$ex->setPath($this->getPath());
264
264
@@ -308,7 +308,7 @@ protected function mergeValues($leftSide, $rightSide)
308
308
}
309
309
310
310
// no conflict
311
-
if (!array_key_exists($k, $leftSide)) {
311
+
if (!\array_key_exists($k, $leftSide)) {
312
312
if (!$this->allowNewKeys) {
313
313
$ex = newInvalidConfigurationException(sprintf('You are not allowed to define new elements for path "%s". Please define all elements for this path in one config file.', $this->getPath()));
0 commit comments