Skip to content

Commit

Permalink
coding standard
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Jul 14, 2023
1 parent baa3943 commit 4e016ab
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/NodeTypeResolver/NodeScopeAndMetadataDecorator.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,7 @@ public function decorateNodesFromFile(File|string $file, array $stmts): array
{
$filePath = $file instanceof File ? $file->getFilePath() : $file;
$stmts = $this->fileWithoutNamespaceNodeTraverser->traverse($stmts);
$stmts = $this->phpStanNodeScopeResolver->processNodes(
$stmts,
$filePath
);
$stmts = $this->phpStanNodeScopeResolver->processNodes($stmts, $filePath);

if ($this->phpStanNodeScopeResolver->hasUnreachableStatementNode()) {
$unreachableStatementNodeVisitor = new UnreachableStatementNodeVisitor(
Expand Down

0 comments on commit 4e016ab

Please sign in to comment.