Skip to content

Commit 10c076c

Browse files
committed
regenerated
1 parent 839f950 commit 10c076c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

generated/password.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
* algorithm, will result
9898
* in the password parameter being truncated to a
9999
* maximum length of 72 characters.
100-
* @param int $algo A password algorithm constant denoting the algorithm to use when hashing the password.
100+
* @param int|string|null $algo A password algorithm constant denoting the algorithm to use when hashing the password.
101101
* @param array $options An associative array containing options. See the password algorithm constants for documentation on the supported options for each algorithm.
102102
*
103103
* If omitted, a random salt will be created and the default cost will be
@@ -111,7 +111,7 @@
111111
* @throws PasswordException
112112
*
113113
*/
114-
function password_hash(string $password, int $algo, array $options = null): string
114+
function password_hash(string $password, $algo, array $options = null): string
115115
{
116116
error_clear_last();
117117
if ($options !== null) {

0 commit comments

Comments
 (0)