Skip to content

Commit dc1babf

Browse files
authored
Merge pull request #7 from phug-php/fix/issue-6-nullable-types
Make nullable types explicit
2 parents 533b3a5 + ff7c843 commit dc1babf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Phug/Component/ComponentExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public function getKeywords(): array
8383
];
8484
}
8585

86-
protected function getCodeNode(NodeInterface $linkedNode, ParserNodeInterface $parentNode = null, $value = null, array $children = null)
86+
protected function getCodeNode(NodeInterface $linkedNode, ?ParserNodeInterface $parentNode = null, $value = null, ?array $children = null)
8787
{
8888
$code = new CodeNode($linkedNode->getToken(), null, $linkedNode->getLevel(), $parentNode, $children);
8989

0 commit comments

Comments
 (0)