Skip to content

Commit

Permalink
HashID fixes
Browse files Browse the repository at this point in the history
- Fix forward slash, not using just the `HashText` name
  • Loading branch information
TriHydera authored Jul 16, 2024
1 parent 9a69268 commit 75578a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/HashID.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class HashID {
* @param string $salt The salt value for hashing (default is '0').
*/
public function __construct($salt = '0') {
$this->hash = new Hashutils/HashText($salt);
$this->hash = new HashText($salt);
}

/**
Expand All @@ -41,4 +41,4 @@ public function verify($hash) {
return $gen == $hash ? true : false;
}
}
?>
?>

0 comments on commit 75578a1

Please sign in to comment.