Skip to content

Commit

Permalink
use processNodes() over processNodeStmts()
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Oct 30, 2021
1 parent 8a54687 commit 4cca479
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public function processNodes(array $stmts, SmartFileInfo $smartFileInfo): array

$traitScope = $traitScope->enterTrait($traitReflectionClass);

$this->nodeScopeResolver->processStmtNodes($node, $node->stmts, $traitScope, $nodeCallback);
$this->nodeScopeResolver->processNodes($node->stmts, $traitScope, $nodeCallback);
return;
}

Expand Down

0 comments on commit 4cca479

Please sign in to comment.