Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit998b53e

Browse files
committed
[Config][XmlReferenceDumper] Prevent potential \TypeError
1 parentec587f4 commit998b53e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/Config/Definition/Dumper/XmlReferenceDumper.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ private function writeNode(NodeInterface $node, int $depth = 0, bool $root = fal
9191
}
9292

9393
if ($prototypeinstanceof PrototypedArrayNode) {
94-
$prototype->setName($key);
94+
$prototype->setName($key ?:'');
9595
$children = [$key =>$prototype];
9696
}elseif ($prototypeinstanceof ArrayNode) {
9797
$children =$prototype->getChildren();

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp