Skip to content

Commit 15947c1

Browse files
committed
[Config] Use the empty string instead of null as an array offset
1 parent f18dc59 commit 15947c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Definition/Dumper/YamlReferenceDumper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,6 @@ private function getPrototypeChildren(PrototypedArrayNode $node): array
249249
}
250250
$keyNode->setInfo($info);
251251

252-
return [$key => $keyNode];
252+
return [$key ?? '' => $keyNode];
253253
}
254254
}

0 commit comments

Comments
 (0)