Skip to content

Commit

Permalink
tidy up (#5380)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Dec 23, 2023
1 parent 8df2120 commit ae97b71
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,10 @@ private function shouldSkip(ClassMethod | Function_ | Closure $node, Scope $scop

// skip as most likely intentional
$classReflection = $scope->getClassReflection();
if ($classReflection instanceof ClassReflection && ! $classReflection->isFinalByKeyword() && $this->isName($node->returnType, 'void')) {
if ($classReflection instanceof ClassReflection && ! $classReflection->isFinalByKeyword() && $this->isName(
$node->returnType,
'void'
)) {
return true;
}

Expand Down

0 comments on commit ae97b71

Please sign in to comment.