Skip to content

Commit

Permalink
Merge pull request #25 from jdreesen/patch-1
Browse files Browse the repository at this point in the history
Fix exception message
  • Loading branch information
paragonie-security authored Oct 16, 2020
2 parents 47a1ced + 4df5ea9 commit 751efde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Hex.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public static function decode(string $hexString, bool $strictPadding = false): s

if (($c_num0 | $c_alpha0) === 0) {
throw new \RangeException(
'hexEncode() only expects hexadecimal characters'
'Expected hexadecimal character'
);
}
/** @var int $c_val */
Expand Down

0 comments on commit 751efde

Please sign in to comment.