diff options
| author | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-06-30 11:14:58 +0200 |
|---|---|---|
| committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-06-30 11:19:30 +0200 |
| commit | e93d20ad7ebc1075ef1248a663935ee5ea69f1cd (patch) | |
| tree | 0e26c16cc6bc4b581a90becd36dd62f6a549c4e4 /Zend/zend_builtin_functions.stub.php | |
| parent | c2b23d8cbec7bbcbd2cfc5166ae7f619f915bb9d (diff) | |
| download | php-git-e93d20ad7ebc1075ef1248a663935ee5ea69f1cd.tar.gz | |
Add ZPP macros for class name or object parameters
Closes GH-5647
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 9e5078f14a..a79aced5fe 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): string {} function get_called_class(): string {} -function get_parent_class($object = UNKNOWN): string|false {} +function get_parent_class(string|object $object = UNKNOWN): string|false {} function is_subclass_of($object, string $class_name, bool $allow_string = true): bool {} |
