mirror of
https://github.com/rectorphp/rector.git
synced 2024-05-31 00:10:51 +00:00
fix native method fetch (#579)
This commit is contained in:
parent
23bf1ca771
commit
2e7256bde8
|
@ -97,7 +97,7 @@ final class ParentClassMethodTypeOverrideGuard
|
|||
continue;
|
||||
}
|
||||
|
||||
if (! $parentClassReflection->hasMethod($methodName)) {
|
||||
if (! $parentClassReflection->hasNativeMethod($methodName)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user