BigInteger: make constructor catch behave same as setEngine

This commit is contained in:
terrafrost 2017-10-01 07:55:00 +01:00
parent 256ffcca7b
commit 03e15a5ab9

View File

@ -137,8 +137,7 @@ class BigInteger implements \Serializable
try { try {
self::setEngine($engine[0], isset($engine[1]) ? $engine[1] : []); self::setEngine($engine[0], isset($engine[1]) ? $engine[1] : []);
break; break;
} catch (\InvalidArgumentException $e) { } catch (\Exception $e) {
} catch (BadConfigurationException $e) {
} }
} }
} }