We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e609970 commit 381d026Copy full SHA for 381d026
src/Value/BigInteger.php
@@ -11,7 +11,7 @@ class BigInteger extends Integer
11
*/
12
public function __construct($value)
13
{
14
- $this->value = BigIntegerMath::of($value);
+ $this->value = (string) BigIntegerMath::of($value);
15
$this->type = self::XMLRPC_TYPE_I8;
16
}
17
test/BigIntegerValueTest.php
@@ -33,7 +33,7 @@ protected function setUp(): void
33
34
$this->useBigIntForI8Flag = AbstractValue::$USE_BIGINT_FOR_I8;
35
AbstractValue::$USE_BIGINT_FOR_I8 = true;
36
- $this->bigIntValue = (string)MathBigInteger::of((string) PHP_INT_MAX)
+ $this->bigIntValue = (string) MathBigInteger::of((string) PHP_INT_MAX)
37
->plus('42');
38
39
0 commit comments