diff options
Diffstat (limited to 'ext/reflection/php_reflection.stub.php')
-rw-r--r-- | ext/reflection/php_reflection.stub.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/reflection/php_reflection.stub.php b/ext/reflection/php_reflection.stub.php index 311e748e9b..d1ba2cf624 100644 --- a/ext/reflection/php_reflection.stub.php +++ b/ext/reflection/php_reflection.stub.php @@ -147,8 +147,7 @@ final class ReflectionGenerator class ReflectionMethod extends ReflectionFunctionAbstract { - /** @param object|string $objectOrMethod */ - public function __construct($objectOrMethod, string $method = UNKNOWN) {} + public function __construct(object|string $objectOrMethod, ?string $method = null) {} public function __toString(): string {} |