summaryrefslogtreecommitdiff
path: root/ext/reflection/php_reflection.stub.php
diff options
context:
space:
mode:
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) {}