We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10230ba commit 6fd9f86Copy full SHA for 6fd9f86
src/Security/Passwords.php
@@ -19,7 +19,7 @@ class Passwords
19
{
20
use Nette\SmartObject;
21
22
- /** @var int */
+ /** @var int|string string since PHP 7.4 */
23
private $algo;
24
25
/** @var array */
@@ -29,7 +29,7 @@ class Passwords
29
/**
30
* See https://php.net/manual/en/password.constants.php
31
*/
32
- public function __construct(int $algo = PASSWORD_DEFAULT, array $options = [])
+ public function __construct($algo = PASSWORD_DEFAULT, array $options = [])
33
34
$this->algo = $algo;
35
$this->options = $options;
0 commit comments