diff --git a/src/Tests/ContextTest.php b/src/Tests/ContextTest.php index 491cf59..64a5ca2 100644 --- a/src/Tests/ContextTest.php +++ b/src/Tests/ContextTest.php @@ -73,7 +73,7 @@ class ContextTest extends TestCase ->method('futureTick') ->with(self::emptyCallable()); - $context->submit(static fn() => null); + $context->submit(self::emptyCallable()); } public function testItRegistersMaintenanceTasksOnTheEventLoop(): void