From 0c86c567d169115bc30e90969e6fd9e95164e518 Mon Sep 17 00:00:00 2001 From: Joop Schilder Date: Mon, 14 Dec 2020 13:19:53 +0100 Subject: [PATCH] Use CallableProvider in tests --- src/Tests/ContextTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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