fix native method fetch (#579)

This commit is contained in:
Tomas Votruba 2021-08-02 21:45:35 +02:00 committed by GitHub
parent 23bf1ca771
commit 2e7256bde8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -97,7 +97,7 @@ final class ParentClassMethodTypeOverrideGuard
continue;
}
if (! $parentClassReflection->hasMethod($methodName)) {
if (! $parentClassReflection->hasNativeMethod($methodName)) {
continue;
}