Remove some incorrect mixed parameter types

This commit is contained in:
Máté Kocsis 2020-11-17 20:13:42 +01:00
parent 0dac69c059
commit 40ebfd6730
No known key found for this signature in database
GPG key ID: FD055E41728BF310
2 changed files with 5 additions and 5 deletions

View file

@ -48,10 +48,10 @@ function get_mangled_object_vars(object $object): array {}
function get_class_methods(object|string $object_or_class): array {} function get_class_methods(object|string $object_or_class): array {}
/** @param object|string $object_or_class */ /** @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 */ /** @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 {} function class_exists(string $class, bool $autoload = true): bool {}

View file

@ -1,5 +1,5 @@
/* This is a generated file, edit the .stub.php file instead. /* 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_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_zend_version, 0, 0, IS_STRING, 0)
ZEND_END_ARG_INFO() 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_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_method_exists, 0, 2, _IS_BOOL, 0) 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_ARG_TYPE_INFO(0, method, IS_STRING, 0)
ZEND_END_ARG_INFO() ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_property_exists, 0, 2, _IS_BOOL, 0) 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_ARG_TYPE_INFO(0, property, IS_STRING, 0)
ZEND_END_ARG_INFO() ZEND_END_ARG_INFO()