Fix child method check - both on native (#1336)

This commit is contained in:
Tomas Votruba 2021-11-29 02:53:11 +03:00 committed by GitHub
parent f90d7e5c98
commit 4ad4d16ac6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}