diff options
author | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-11-17 20:13:42 +0100 |
---|---|---|
committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-11-21 23:17:35 +0100 |
commit | 40ebfd6730dbd4ce289cf8ba310f20c0df5fb650 (patch) | |
tree | d2f610f0d7f268cf10cf83304e4b550ad3fc8a37 /Zend | |
parent | 0dac69c05994a96254b1b05a34474123bac71469 (diff) | |
download | php-git-40ebfd6730dbd4ce289cf8ba310f20c0df5fb650.tar.gz |
Remove some incorrect mixed parameter types
Diffstat (limited to 'Zend')
-rw-r--r-- | Zend/zend_builtin_functions.stub.php | 4 | ||||
-rw-r--r-- | Zend/zend_builtin_functions_arginfo.h | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/Zend/zend_builtin_functions.stub.php b/Zend/zend_builtin_functions.stub.php index 6209967b23..187e789d23 100644 --- a/Zend/zend_builtin_functions.stub.php +++ b/Zend/zend_builtin_functions.stub.php @@ -48,10 +48,10 @@ function get_mangled_object_vars(object $object): array {} function get_class_methods(object|string $object_or_class): array {} /** @param object|string $object_or_class */ -function method_exists(mixed $object_or_class, string $method): bool {} +function method_exists($object_or_class, string $method): bool {} /** @param object|string $object_or_class */ -function property_exists(mixed $object_or_class, string $property): bool {} +function property_exists($object_or_class, string $property): bool {} function class_exists(string $class, bool $autoload = true): bool {} diff --git a/Zend/zend_builtin_functions_arginfo.h b/Zend/zend_builtin_functions_arginfo.h index d5d2fb9113..e2d640d22f 100644 --- a/Zend/zend_builtin_functions_arginfo.h +++ b/Zend/zend_builtin_functions_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: 9a77101b93e8584315bf43305830e129d359b033 */ + * Stub hash: b09e9199a21595a3b6f6c02db81c8e22c36c277f */ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_zend_version, 0, 0, IS_STRING, 0) ZEND_END_ARG_INFO() @@ -84,12 +84,12 @@ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_get_class_methods, 0, 1, IS_ARRA ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_method_exists, 0, 2, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, object_or_class, IS_MIXED, 0) + ZEND_ARG_INFO(0, object_or_class) ZEND_ARG_TYPE_INFO(0, method, IS_STRING, 0) ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_property_exists, 0, 2, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, object_or_class, IS_MIXED, 0) + ZEND_ARG_INFO(0, object_or_class) ZEND_ARG_TYPE_INFO(0, property, IS_STRING, 0) ZEND_END_ARG_INFO() |