diff --git a/src/Hashids.php b/src/Hashids.php index 8939ae7..31bbb49 100644 --- a/src/Hashids.php +++ b/src/Hashids.php @@ -401,11 +401,7 @@ class Hashids implements HashidsInterface return new Gmp(); } - if (\extension_loaded('bcmath')) { - return new Bc(); - } - - throw new RuntimeException('Missing BC Math or GMP extension.'); + return new Bc(); } /**