We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2015d4 commit c37bc22Copy full SHA for c37bc22
1 file changed
src/DependencyInjection/NeonAdapter.php
@@ -70,7 +70,7 @@ public function process(array $arr, string $fileKey, string $file): array
70
if (!is_array($val) && $val !== null) {
71
throw new InvalidConfigurationException(sprintf('Replacing operator is available only for arrays, item \'%s\' is not array.', $key));
72
}
73
- $key = substr($key, 0, -1);
+ $key = substr($key, 0, -1) ?: '';
74
$val[Helpers::PREVENT_MERGING] = true;
75
76
0 commit comments