diff --git a/src/AbstractValue.php b/src/AbstractValue.php index f283c0c..5ceec16 100644 --- a/src/AbstractValue.php +++ b/src/AbstractValue.php @@ -10,7 +10,6 @@ namespace Zend\XmlRpc; use DateTime; -use Zend\Math\BigInteger; /** * Represent a native XML-RPC value entity, used as parameters for the methods @@ -277,17 +276,8 @@ public static function getXmlRpcTypeByValue($value) protected static function _phpVarToNativeXmlRpc($value) { // @see http://framework.zend.com/issues/browse/ZF-8623 - if (is_object($value)) { - if ($value instanceof AbstractValue) { - return $value; - } - if ($value instanceof BigInteger) { - throw new Exception\InvalidArgumentException( - 'Using Zend\Math\BigInteger to get an ' . - 'instance of Value_BigInteger is not ' . - 'available anymore.' - ); - } + if ($value instanceof AbstractValue) { + return $value; } switch (static::getXmlRpcTypeByValue($value)) { diff --git a/src/Server.php b/src/Server.php index 4921b1c..9746184 100644 --- a/src/Server.php +++ b/src/Server.php @@ -79,7 +79,6 @@ class Server extends AbstractServer 'i4' => 'i4', 'int' => 'int', 'integer' => 'int', - 'Zend\Math\BigInteger' => 'i8', 'i8' => 'i8', 'ex:i8' => 'i8', 'double' => 'double',