Skip to content

Commit

Permalink
added type int to argument of addAlias function
Browse files Browse the repository at this point in the history
  • Loading branch information
AlessandroMinoccheri authored and nikic committed Nov 13, 2022
1 parent f59bbe4 commit 1df465c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/PhpParser/NodeVisitor/NameResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public function enterNode(Node $node) {
return null;
}

private function addAlias(Stmt\UseUse $use, $type, Name $prefix = null) {
private function addAlias(Stmt\UseUse $use, int $type, Name $prefix = null) {
// Add prefix for group uses
$name = $prefix ? Name::concat($prefix, $use->name) : $use->name;
// Type is determined either by individual element or whole use declaration
Expand Down

0 comments on commit 1df465c

Please sign in to comment.