1
0
Fork 0
mirror of synced 2024-10-04 12:15:14 +13:00

fix validator

This commit is contained in:
Damodar Lohani 2022-12-18 09:37:13 +00:00
parent 30ece2d36a
commit 28ac6c9355

View file

@ -13,9 +13,11 @@ class PasswordHistory extends Password
{
protected array $history;
public function __construct(array $history)
public function __construct(array $history, string $algo, array $algoOptions = [])
{
$this->history = $history;
$this->algo = $algo;
$this->algoOptions = $algoOptions;
}
/**