summaryrefslogtreecommitdiff
path: root/ext/reflection/php_reflection.stub.php
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-07-06 11:53:57 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-07-06 11:53:57 +0200
commita4b253c40bd2329e66ce12a35b5cabf9c244e652 (patch)
tree5420aa28a27a46b65d43fd517aaf46346a587636 /ext/reflection/php_reflection.stub.php
parent75c4e613e4522a4895d68009d789563a539fec95 (diff)
downloadphp-git-a4b253c40bd2329e66ce12a35b5cabf9c244e652.tar.gz
ReflectionMethod::invoke() object is not optional
Diffstat (limited to 'ext/reflection/php_reflection.stub.php')
-rw-r--r--ext/reflection/php_reflection.stub.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/reflection/php_reflection.stub.php b/ext/reflection/php_reflection.stub.php
index ea4f8bb2aa..31c08e92b2 100644
--- a/ext/reflection/php_reflection.stub.php
+++ b/ext/reflection/php_reflection.stub.php
@@ -184,7 +184,7 @@ class ReflectionMethod extends ReflectionFunctionAbstract
public function getModifiers() {}
/** @return mixed */
- public function invoke(?object $object = null, mixed ...$args) {}
+ public function invoke(?object $object, mixed ...$args) {}
/** @return mixed */
public function invokeArgs(?object $object, array $args) {}