Skip to content

Commit 381d026

Browse files
committed
Fix test
Signed-off-by: SuperDJ <6484766+SuperDJ@users.noreply.github.com>
1 parent e609970 commit 381d026

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Value/BigInteger.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class BigInteger extends Integer
1111
*/
1212
public function __construct($value)
1313
{
14-
$this->value = BigIntegerMath::of($value);
14+
$this->value = (string) BigIntegerMath::of($value);
1515
$this->type = self::XMLRPC_TYPE_I8;
1616
}
1717

test/BigIntegerValueTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ protected function setUp(): void
3333

3434
$this->useBigIntForI8Flag = AbstractValue::$USE_BIGINT_FOR_I8;
3535
AbstractValue::$USE_BIGINT_FOR_I8 = true;
36-
$this->bigIntValue = (string)MathBigInteger::of((string) PHP_INT_MAX)
36+
$this->bigIntValue = (string) MathBigInteger::of((string) PHP_INT_MAX)
3737
->plus('42');
3838
}
3939

0 commit comments

Comments
 (0)