mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-18 00:52:22 +00:00
[FamilyTree] Use parent->hasNativeMethod() on ClassChildAnalyzer->resolveParentClassMethods() (#2357)
This commit is contained in:
parent
dc9189280f
commit
8efa7151e6
|
@ -92,7 +92,7 @@ final class ClassChildAnalyzer
|
|||
$parentClassMethods = [];
|
||||
$parents = array_merge($classReflection->getParents(), $classReflection->getInterfaces());
|
||||
foreach ($parents as $parent) {
|
||||
if (! $parent->hasMethod($methodName)) {
|
||||
if (! $parent->hasNativeMethod($methodName)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user