Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Nov 26, 2024
1 parent 85443f4 commit 4bb7058
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,8 @@ private function shouldSkipParentClassMethod(ClassReflection $parentClassReflect
return true;
}

// empty method, return null or throw are mostly marker
if ($parentClassMethod->stmts === []) {
// has any stmts?
if ($parentClassMethod->stmts === null || $parentClassMethod->stmts === []) {
return true;
}

Expand Down

0 comments on commit 4bb7058

Please sign in to comment.