Skip to content

Commit

Permalink
Use the driver's info function instead of password_get_info() directly (
Browse files Browse the repository at this point in the history
  • Loading branch information
j3j5 authored Apr 18, 2024
1 parent 57c6f97 commit 2ebd685
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Hashing/HashManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public function needsRehash($hashedValue, array $options = [])
*/
public function isHashed($value)
{
return password_get_info($value)['algo'] !== null;
return $this->driver()->info($value)['algo'] !== null;
}

/**
Expand Down

0 comments on commit 2ebd685

Please sign in to comment.