Skip to content

Commit d2c1446

Browse files
committed
[BCB] Removed ClassReflection::getNativeMethods(), use getNativeReflection() instead
1 parent 1cc6c81 commit d2c1446

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/Reflection/ClassReflection.php

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -434,20 +434,6 @@ public function getNativeMethod(string $methodName): MethodReflection
434434
return $this->getPhpExtension()->getNativeMethod($this, $methodName);
435435
}
436436

437-
/**
438-
* @deprecated Use ClassReflection::getNativeReflection() instead.
439-
* @return MethodReflection[]
440-
*/
441-
public function getNativeMethods(): array
442-
{
443-
$methods = [];
444-
foreach ($this->reflection->getMethods() as $method) {
445-
$methods[] = $this->getNativeMethod($method->getName());
446-
}
447-
448-
return $methods;
449-
}
450-
451437
public function hasConstructor(): bool
452438
{
453439
return $this->findConstructor() !== null;

0 commit comments

Comments
 (0)