diff options
author | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-07-28 23:00:44 +0200 |
---|---|---|
committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-07-30 14:26:45 +0200 |
commit | 0d330e1a022d536de8a679d11dc8ec6f9fd64be3 (patch) | |
tree | a4b93785096169cca4ba3bb9109040311b374944 /ext/reflection/php_reflection_arginfo.h | |
parent | 41de27ecc239e3a7de50446be297e288bb934505 (diff) | |
download | php-git-0d330e1a022d536de8a679d11dc8ec6f9fd64be3.tar.gz |
Add a few missing parameter types in stubs
Related to GH-5627
Diffstat (limited to 'ext/reflection/php_reflection_arginfo.h')
-rw-r--r-- | ext/reflection/php_reflection_arginfo.h | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/ext/reflection/php_reflection_arginfo.h b/ext/reflection/php_reflection_arginfo.h index 27125fc815..00013c7a50 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: 0a3d9fb707ddf5e508075799bf06ff42b849a4b8 */ + * Stub hash: beaf79270ab56d2e87a301a4a5d4444b2cc520d8 */ ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Reflection_getModifierNames, 0, 0, 1) ZEND_ARG_TYPE_INFO(0, modifiers, IS_LONG, 0) @@ -124,7 +124,7 @@ ZEND_END_ARG_INFO() #define arginfo_class_ReflectionMethod_isDestructor arginfo_class_ReflectionFunctionAbstract___clone ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ReflectionMethod_getClosure, 0, 0, 0) - ZEND_ARG_INFO(0, object) + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, object, IS_OBJECT, 1, "null") ZEND_END_ARG_INFO() #define arginfo_class_ReflectionMethod_getModifiers arginfo_class_ReflectionFunctionAbstract___clone @@ -247,12 +247,12 @@ ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ReflectionClass_getStaticPropertyValue, 0, 0, 1) ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0) - ZEND_ARG_INFO(0, default) + ZEND_ARG_TYPE_INFO(0, default, IS_MIXED, 0) ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ReflectionClass_setStaticPropertyValue, 0, 0, 2) ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0) - ZEND_ARG_INFO(0, value) + ZEND_ARG_TYPE_INFO(0, value, IS_MIXED, 0) ZEND_END_ARG_INFO() #define arginfo_class_ReflectionClass_getDefaultProperties arginfo_class_ReflectionFunctionAbstract___clone @@ -292,16 +292,14 @@ ZEND_END_ARG_INFO() #define arginfo_class_ReflectionProperty_getName arginfo_class_ReflectionFunctionAbstract___clone -ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ReflectionProperty_getValue, 0, 0, 0) - ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, object, IS_OBJECT, 1, "null") -ZEND_END_ARG_INFO() +#define arginfo_class_ReflectionProperty_getValue arginfo_class_ReflectionMethod_getClosure ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ReflectionProperty_setValue, 0, 0, 1) - ZEND_ARG_INFO(0, objectOrValue) - ZEND_ARG_INFO(0, value) + ZEND_ARG_TYPE_INFO(0, objectOrValue, IS_MIXED, 0) + ZEND_ARG_TYPE_INFO(0, value, IS_MIXED, 0) ZEND_END_ARG_INFO() -#define arginfo_class_ReflectionProperty_isInitialized arginfo_class_ReflectionProperty_getValue +#define arginfo_class_ReflectionProperty_isInitialized arginfo_class_ReflectionMethod_getClosure #define arginfo_class_ReflectionProperty_isPublic arginfo_class_ReflectionFunctionAbstract___clone |