diff options
author | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-08-01 23:54:28 +0200 |
---|---|---|
committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-08-01 23:55:08 +0200 |
commit | bdacd2ae8f872f9d1bff8279546f0d86772659d6 (patch) | |
tree | e06abca6c7bb92802b8f5b14642979c2299c1da2 /ext/sodium/libsodium.stub.php | |
parent | c10a406500b11dd764eb81fff3c36cef24dd861f (diff) | |
download | php-git-bdacd2ae8f872f9d1bff8279546f0d86772659d6.tar.gz |
Add a few missing types to stubs
Diffstat (limited to 'ext/sodium/libsodium.stub.php')
-rw-r--r-- | ext/sodium/libsodium.stub.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/sodium/libsodium.stub.php b/ext/sodium/libsodium.stub.php index 73051b70cf..6429c3beba 100644 --- a/ext/sodium/libsodium.stub.php +++ b/ext/sodium/libsodium.stub.php @@ -78,7 +78,7 @@ function sodium_crypto_generichash_init(string $key = "", int $length = SODIUM_C function sodium_crypto_generichash_update(string &$state, string $string): bool {} -function sodium_crypto_generichash_final(string &$state, $length = SODIUM_CRYPTO_GENERICHASH_BYTES): string {} +function sodium_crypto_generichash_final(string &$state, int $length = SODIUM_CRYPTO_GENERICHASH_BYTES): string {} function sodium_crypto_kdf_derive_from_key(int $subkey_len, int $subkey_id, string $context, string $key): string {} @@ -176,7 +176,7 @@ function sodium_unpad(string $string, int $block_size): string {} function sodium_bin2hex(string $string): string {} -function sodium_hex2bin(string $string, $ignore = ""): string {} +function sodium_hex2bin(string $string, string $ignore = ""): string {} #ifdef sodium_base64_VARIANT_ORIGINAL function sodium_bin2base64(string $string, int $id): string {} |