Skip to content

Commit 40ebfd6

Browse files
committed
Remove some incorrect mixed parameter types
1 parent 0dac69c commit 40ebfd6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Zend/zend_builtin_functions.stub.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ function get_mangled_object_vars(object $object): array {}
4848
function get_class_methods(object|string $object_or_class): array {}
4949

5050
/** @param object|string $object_or_class */
51-
function method_exists(mixed $object_or_class, string $method): bool {}
51+
function method_exists($object_or_class, string $method): bool {}
5252

5353
/** @param object|string $object_or_class */
54-
function property_exists(mixed $object_or_class, string $property): bool {}
54+
function property_exists($object_or_class, string $property): bool {}
5555

5656
function class_exists(string $class, bool $autoload = true): bool {}
5757

Zend/zend_builtin_functions_arginfo.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* This is a generated file, edit the .stub.php file instead.
2-
* Stub hash: 9a77101b93e8584315bf43305830e129d359b033 */
2+
* Stub hash: b09e9199a21595a3b6f6c02db81c8e22c36c277f */
33

44
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_zend_version, 0, 0, IS_STRING, 0)
55
ZEND_END_ARG_INFO()
@@ -84,12 +84,12 @@ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_get_class_methods, 0, 1, IS_ARRA
8484
ZEND_END_ARG_INFO()
8585

8686
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_method_exists, 0, 2, _IS_BOOL, 0)
87-
ZEND_ARG_TYPE_INFO(0, object_or_class, IS_MIXED, 0)
87+
ZEND_ARG_INFO(0, object_or_class)
8888
ZEND_ARG_TYPE_INFO(0, method, IS_STRING, 0)
8989
ZEND_END_ARG_INFO()
9090

9191
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_property_exists, 0, 2, _IS_BOOL, 0)
92-
ZEND_ARG_TYPE_INFO(0, object_or_class, IS_MIXED, 0)
92+
ZEND_ARG_INFO(0, object_or_class)
9393
ZEND_ARG_TYPE_INFO(0, property, IS_STRING, 0)
9494
ZEND_END_ARG_INFO()
9595

0 commit comments

Comments
 (0)