diff --git a/tests/Fixtures/Controller/TestGraphqlController.php b/tests/Fixtures/Controller/TestGraphqlController.php index f969b51..d768e61 100644 --- a/tests/Fixtures/Controller/TestGraphqlController.php +++ b/tests/Fixtures/Controller/TestGraphqlController.php @@ -103,9 +103,10 @@ public function getUri(Request $request): string } #[Query] - #[Assertion(for: 'email', constraint: new Assert\Email())] - public function findByMail(string $email = 'a@a.com'): string - { + public function findByMail( + #[Assertion(constraint: new Assert\Email())] + string $email = 'a@a.com' + ): string { return $email; } }