diff options
author | Dylan K. Taylor <odigiman@gmail.com> | 2021-01-12 01:49:38 +0000 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2021-01-18 12:59:18 +0100 |
commit | 0aad77418da25a4b3af63c453e3313aa7358902e (patch) | |
tree | 956b9aac873dd553b634f0525791f27e27251ce9 /ext/json/json.c | |
parent | c321896a372c3358663f2f1e8721c61c46634a0c (diff) | |
download | php-git-0aad77418da25a4b3af63c453e3313aa7358902e.tar.gz |
Fix stub for Phar::setStub()
This fixes multiple issues:
* The first parameter may be resource|string.
* It's an overloaded signature. The second parameter cannot be
passed if the first one is a string. Use UNKNOWN default
value for that reason.
* Make parameter names in PharData::setStub() match those in
Phar.
Closes GH-6596.
Diffstat (limited to 'ext/json/json.c')
0 files changed, 0 insertions, 0 deletions