diff options
author | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-05-25 17:30:49 +0200 |
---|---|---|
committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-05-25 17:30:57 +0200 |
commit | b3718430de781647676b5ec2b2b004c310e25e4b (patch) | |
tree | 0725481b1f272fca750fd6ac00546c68ce030375 /ext/reflection/php_reflection.stub.php | |
parent | cbf86efc218e203ec692941aab8ab8077ab63f1b (diff) | |
download | php-git-b3718430de781647676b5ec2b2b004c310e25e4b.tar.gz |
Annotate internal functions with the mixed type
Closes GH-5618
Diffstat (limited to 'ext/reflection/php_reflection.stub.php')
-rw-r--r-- | ext/reflection/php_reflection.stub.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/reflection/php_reflection.stub.php b/ext/reflection/php_reflection.stub.php index e629b8d845..3062747507 100644 --- a/ext/reflection/php_reflection.stub.php +++ b/ext/reflection/php_reflection.stub.php @@ -111,7 +111,7 @@ class ReflectionFunction extends ReflectionFunctionAbstract public function isDisabled() {} /** @return mixed */ - public function invoke(...$args) {} + public function invoke(mixed ...$args) {} /** @return mixed */ public function invokeArgs(array $args) {} @@ -181,7 +181,7 @@ class ReflectionMethod extends ReflectionFunctionAbstract public function getModifiers() {} /** @return mixed */ - public function invoke(?object $object = null, ...$args) {} + public function invoke(?object $object = null, mixed ...$args) {} /** @return mixed */ public function invokeArgs(?object $object, array $args) {} |