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 */