Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Nov 1, 2021
1 parent fe95a55 commit f56e077
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public function refactor(Node $node): ?Node
{
$scope = $node->getAttribute(AttributeKey::SCOPE);
if (! $scope instanceof \PHPStan\Analyser\Scope) {
return true;
return null;
}

$parentClassName = $this->parentClassScopeResolver->resolveParentClassName($scope);
Expand Down

0 comments on commit f56e077

Please sign in to comment.