From 2219c08b2bef9789364b4a8c41f4cbba9487e4fe Mon Sep 17 00:00:00 2001 From: Vincent Langlet Date: Wed, 13 Nov 2024 15:30:56 +0100 Subject: [PATCH] Cs --- tests/Controller/MediaAdminControllerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Controller/MediaAdminControllerTest.php b/tests/Controller/MediaAdminControllerTest.php index 341e84b78..831a3f846 100644 --- a/tests/Controller/MediaAdminControllerTest.php +++ b/tests/Controller/MediaAdminControllerTest.php @@ -133,7 +133,7 @@ public function testListAction(): void /** * @psalm-suppress MissingClosureParamType */ - $datagrid->expects($matcher)->method('setValue')->willReturnCallback(function (...$parameters) use ($matcher) { + $datagrid->expects($matcher)->method('setValue')->willReturnCallback(static function (...$parameters) use ($matcher) { /** * @psalm-suppress InternalMethod */