mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-08 20:22:24 +00:00
Fix child method check - both on native (#1336)
This commit is contained in:
parent
f90d7e5c98
commit
4ad4d16ac6
|
@ -20,7 +20,7 @@ final class ClassChildAnalyzer
|
|||
$childrenClassReflections = $this->familyRelationsAnalyzer->getChildrenOfClassReflection($classReflection);
|
||||
|
||||
foreach ($childrenClassReflections as $childClassReflection) {
|
||||
if (! $childClassReflection->hasMethod($methodName)) {
|
||||
if (! $childClassReflection->hasNativeMethod($methodName)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user