diff --git a/src/Hex.php b/src/Hex.php index c3413ec..7bf60b7 100644 --- a/src/Hex.php +++ b/src/Hex.php @@ -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 */