diff options
-rw-r--r-- | ext/reflection/php_reflection.stub.php | 2 | ||||
-rw-r--r-- | ext/reflection/php_reflection_arginfo.h | 6 |
2 files changed, 4 insertions, 4 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) {} diff --git a/ext/reflection/php_reflection_arginfo.h b/ext/reflection/php_reflection_arginfo.h index 45404f63ca..1d9f730309 100644 --- a/ext/reflection/php_reflection_arginfo.h +++ b/ext/reflection/php_reflection_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: 2facddef786be36211215451083b610a5d09dec7 */ + * Stub hash: 762e9bab89b8edae0b567c1c3926ffa226abe874 */ ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Reflection_getModifierNames, 0, 0, 1) ZEND_ARG_TYPE_INFO(0, modifiers, IS_LONG, 0) @@ -129,8 +129,8 @@ ZEND_END_ARG_INFO() #define arginfo_class_ReflectionMethod_getModifiers arginfo_class_ReflectionFunctionAbstract___clone -ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ReflectionMethod_invoke, 0, 0, 0) - ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, object, IS_OBJECT, 1, "null") +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ReflectionMethod_invoke, 0, 0, 1) + ZEND_ARG_TYPE_INFO(0, object, IS_OBJECT, 1) ZEND_ARG_VARIADIC_TYPE_INFO(0, args, IS_MIXED, 0) ZEND_END_ARG_INFO() |