1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Add ReflectionMethod::hasPrototype method

Closes GH-8487.
This commit is contained in:
Ollie Read
2022-05-04 13:21:37 +02:00
committed by Christoph M. Becker
parent 6db78f3ed9
commit f590782b60
6 changed files with 58 additions and 1 deletions

View File

@@ -206,6 +206,8 @@ class ReflectionMethod extends ReflectionFunctionAbstract
/** @tentative-return-type */
public function getPrototype(): ReflectionMethod {}
public function hasPrototype(): bool {}
/** @tentative-return-type */
public function setAccessible(bool $accessible): void {}
}