From 5f80eb7842f377e5f3ad68c58039f3146a9174bd Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Mon, 7 Oct 2019 11:25:41 +0200 Subject: Fix required number of arguments in stubs * get_parent_class() argument is optional * Mark array_filter() $callback as optional * The $base of gmp_strval() is optional * DateTime constructor also accepts zero arguments * hash_update_file() stream context is optional * xmlwriter_write_dtd_entity() $isparam argument is optional --- Zend/zend_builtin_functions.stub.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zend/zend_builtin_functions.stub.php') diff --git a/Zend/zend_builtin_functions.stub.php b/Zend/zend_builtin_functions.stub.php index deb9ac9294..c3052db108 100644 --- a/Zend/zend_builtin_functions.stub.php +++ b/Zend/zend_builtin_functions.stub.php @@ -30,7 +30,7 @@ function get_class(object $object = UNKNOWN) {} function get_called_class() {} /** @return string|false */ -function get_parent_class($object) {} +function get_parent_class($object = UNKNOWN) {} function is_subclass_of($object, string $class_name, bool $allow_string = true): bool {} -- cgit v1.2.1