From 66b4d9c4ce2ff0917d4f1c8a85536761a80a7f88 Mon Sep 17 00:00:00 2001 From: Shift Date: Wed, 24 May 2023 20:23:38 +0000 Subject: [PATCH] Add return types to test methods --- tests/FunctionsTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/FunctionsTest.php b/tests/FunctionsTest.php index 560fb986d3..600ef6f050 100644 --- a/tests/FunctionsTest.php +++ b/tests/FunctionsTest.php @@ -121,7 +121,7 @@ class FunctionsTest extends TestCase $this->assertEquals(time() + 86400, Time::parseAt('+1 day')); } - public function testNumberCast() + public function testNumberCast(): void { $this->assertSame(-14.3, Number::cast(-14.3)); $this->assertSame(0, Number::cast('b -35')); // cast must start with the number as old style php cast did