We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 533b3a5 + ff7c843 commit dc1babfCopy full SHA for dc1babf
1 file changed
src/Phug/Component/ComponentExtension.php
@@ -83,7 +83,7 @@ public function getKeywords(): array
83
];
84
}
85
86
- protected function getCodeNode(NodeInterface $linkedNode, ParserNodeInterface $parentNode = null, $value = null, array $children = null)
+ protected function getCodeNode(NodeInterface $linkedNode, ?ParserNodeInterface $parentNode = null, $value = null, ?array $children = null)
87
{
88
$code = new CodeNode($linkedNode->getToken(), null, $linkedNode->getLevel(), $parentNode, $children);
89
0 commit comments