Skip to content

Commit cf26290

Browse files
committed
Fix phpstan errors
1 parent aeea59a commit cf26290

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/FeatureCounter/NodeVisitor/ThrowExpressionFlaggingNodeVisitor.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ final class ThrowExpressionFlaggingNodeVisitor extends NodeVisitorAbstract {
1818

1919
public function beforeTraverse(array $nodes) {
2020
$this->stack = [];
21+
22+
return null;
2123
}
2224

2325
public function enterNode(Node $node) {
@@ -30,9 +32,13 @@ public function enterNode(Node $node) {
3032
}
3133

3234
$this->stack[] = $node;
35+
36+
return null;
3337
}
3438

3539
public function leaveNode(Node $node) {
3640
array_pop($this->stack);
41+
42+
return null;
3743
}
3844
}

0 commit comments

Comments
 (0)