Skip to content

Commit 0dcb5dc

Browse files
committed
Fix
1 parent 29345c2 commit 0dcb5dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Parser/StandaloneThrowExprVisitor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ final class StandaloneThrowExprVisitor extends NodeVisitorAbstract
1010

1111
public const ATTRIBUTE_NAME = 'standaloneThrowExpr';
1212

13-
public function enterNode(Node $node)
13+
public function enterNode(Node $node): ?Node\Stmt\Expression
1414
{
1515
if (!$node instanceof Node\Stmt\Expression) {
1616
return null;

0 commit comments

Comments
 (0)