diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-10-07 11:25:41 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-10-07 16:33:41 +0200 |
commit | 5f80eb7842f377e5f3ad68c58039f3146a9174bd (patch) | |
tree | aeef672af736822970c76fa49d7a40984c699b7a /Zend/zend_builtin_functions.stub.php | |
parent | c9d4696f763e39c4874907bd6698a711d34b2a75 (diff) | |
download | php-git-5f80eb7842f377e5f3ad68c58039f3146a9174bd.tar.gz |
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
Diffstat (limited to 'Zend/zend_builtin_functions.stub.php')
-rw-r--r-- | Zend/zend_builtin_functions.stub.php | 2 |
1 files changed, 1 insertions, 1 deletions
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 {} |