diff options
author | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-04-11 10:23:51 +0200 |
---|---|---|
committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-04-11 10:23:51 +0200 |
commit | ca006e54e30bc5ac96f35af1ed7fd73a8c422cf0 (patch) | |
tree | d12144e326fa4aaab3212ea3218378f39c4ea9b0 /Zend/zend_closures.stub.php | |
parent | 1d05771a70a64b897d4af832654202fdfd40de86 (diff) | |
download | php-git-ca006e54e30bc5ac96f35af1ed7fd73a8c422cf0.tar.gz |
Add missing visibility modifiers in stubs
Diffstat (limited to 'Zend/zend_closures.stub.php')
-rw-r--r-- | Zend/zend_closures.stub.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Zend/zend_closures.stub.php b/Zend/zend_closures.stub.php index 0dc92789a0..65ad4635da 100644 --- a/Zend/zend_closures.stub.php +++ b/Zend/zend_closures.stub.php @@ -5,17 +5,17 @@ Class Closure private function __construct() {} /** @return ?Closure */ - static function bind(Closure $closure, ?object $newthis, $newscope = UNKNOWN) {} + public static function bind(Closure $closure, ?object $newthis, $newscope = UNKNOWN) {} /** @return ?Closure */ - function bindTo(?object $newthis, $newscope = UNKNOWN) {} + public function bindTo(?object $newthis, $newscope = UNKNOWN) {} /** @return mixed */ - function call(object $newthis, ...$parameters) {} + public function call(object $newthis, ...$parameters) {} /** * @param callable $callable Not a proper type annotation due to bug #78770 * @return Closure */ - function fromCallable($callable) {} + public function fromCallable($callable) {} } |