diff --git a/tests/Json/JsonDecoderTest.php b/tests/Json/JsonDecoderTest.php index 28f916f..bc90db3 100644 --- a/tests/Json/JsonDecoderTest.php +++ b/tests/Json/JsonDecoderTest.php @@ -114,7 +114,7 @@ public function testDecodeBigIntAsFloat() : void $expected = 1.2345678912345678E+53; $actual = $decoder->decode($json); - $this->assertTrue(is_float($actual)); + $this->assertIsFloat($actual); $this->assertEquals($expected, $actual); }