diff --git a/tests/LampTest.php b/tests/LampTest.php index 7af2e4f..4b05f4f 100644 --- a/tests/LampTest.php +++ b/tests/LampTest.php @@ -18,7 +18,9 @@ final class LampTest extends TestCase public function testRubbing(): void { - $lamp = new Lamp($c = new Sleeve(), $core = fn() => null); + $lamp = new Lamp($c = new Sleeve(), $core = function () { + return null; + }); $g = $lamp->rub();