Skip to content

Commit 2fcb4ce

Browse files
authored
Merge pull request #2 from QiYangApp/v2.2.0
修复 `needsRehash ` 传递参数错误问题
2 parents 9a0a334 + 35ce4db commit 2fcb4ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Hash.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@ public static function check(string $value, string $hashedValue, array $options
3838

3939
public static function needsRehash(string $hashedValue, array $options = [], ?string $driverName = null): bool
4040
{
41-
return static::getDriver($driverName)->needsRehash($hashedValue . $options);
41+
return static::getDriver($driverName)->needsRehash($hashedValue, $options);
4242
}
4343
}

0 commit comments

Comments
 (0)