Skip to content

Commit 8d6b962

Browse files
authored
Merge pull request #161 from gimler/patch-1
refac: add return type to fix deprecation
2 parents c558c7c + 0a23178 commit 8d6b962

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Visitor/Twig/TwigVisitor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public function leaveNode(Node $node, Environment $env): ?Node
5959
/**
6060
* {@inheritdoc}
6161
*/
62-
public function getPriority()
62+
public function getPriority(): int
6363
{
6464
return 0;
6565
}

0 commit comments

Comments
 (0)