diff --git a/src/Reflection/ClassReflection.php b/src/Reflection/ClassReflection.php index 2801fc3a13..eee291e8a7 100644 --- a/src/Reflection/ClassReflection.php +++ b/src/Reflection/ClassReflection.php @@ -434,20 +434,6 @@ public function getNativeMethod(string $methodName): MethodReflection return $this->getPhpExtension()->getNativeMethod($this, $methodName); } - /** - * @deprecated Use ClassReflection::getNativeReflection() instead. - * @return MethodReflection[] - */ - public function getNativeMethods(): array - { - $methods = []; - foreach ($this->reflection->getMethods() as $method) { - $methods[] = $this->getNativeMethod($method->getName()); - } - - return $methods; - } - public function hasConstructor(): bool { return $this->findConstructor() !== null;