diff --git a/tests/CallableTest.php b/tests/CallableTest.php index c0abc4459..1b84ad821 100644 --- a/tests/CallableTest.php +++ b/tests/CallableTest.php @@ -70,7 +70,7 @@ class CallableTest extends TestCase /** * @param Closure(int, int): int $_fn */ - public function __invoke(Closure $_fn): void + public function __invoke(Closure $_fn): int { return $_fn(42, 42); }