summaryrefslogtreecommitdiff
path: root/ext/hash
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-07-28 23:00:44 +0200
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-07-30 14:26:45 +0200
commit0d330e1a022d536de8a679d11dc8ec6f9fd64be3 (patch)
treea4b93785096169cca4ba3bb9109040311b374944 /ext/hash
parent41de27ecc239e3a7de50446be297e288bb934505 (diff)
downloadphp-git-0d330e1a022d536de8a679d11dc8ec6f9fd64be3.tar.gz
Add a few missing parameter types in stubs
Related to GH-5627
Diffstat (limited to 'ext/hash')
-rw-r--r--ext/hash/hash.stub.php4
-rw-r--r--ext/hash/hash_arginfo.h2
2 files changed, 1 insertions, 5 deletions
diff --git a/ext/hash/hash.stub.php b/ext/hash/hash.stub.php
index f8788ed61e..6a660aeaef 100644
--- a/ext/hash/hash.stub.php
+++ b/ext/hash/hash.stub.php
@@ -30,10 +30,6 @@ function hash_hmac_algos(): array {}
function hash_pbkdf2(string $algo, string $password, string $salt, int $iterations, int $length = 0, bool $raw_output = false): string {}
-/**
- * @param $known_string no type juggling is performed
- * @param $user_string no type juggling is performed
- */
function hash_equals(string $known_string, string $user_string): bool {}
function hash_hkdf(string $algo, string $ikm, int $length = 0, string $info = '', string $salt = ''): string {}
diff --git a/ext/hash/hash_arginfo.h b/ext/hash/hash_arginfo.h
index c877c88e5c..b51be84792 100644
--- a/ext/hash/hash_arginfo.h
+++ b/ext/hash/hash_arginfo.h
@@ -1,5 +1,5 @@
/* This is a generated file, edit the .stub.php file instead.
- * Stub hash: d4caa0bf70c25a8436049197e822a6c85e4e4643 */
+ * Stub hash: 6da0ff3370cecc919fccf7c6791828a81b44156d */
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_hash, 0, 2, MAY_BE_STRING|MAY_BE_FALSE)
ZEND_ARG_TYPE_INFO(0, algo, IS_STRING, 0)