We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67d2b07 commit d158328Copy full SHA for d158328
1 file changed
tests/Fixtures/Controller/TestGraphqlController.php
@@ -103,9 +103,10 @@ public function getUri(Request $request): string
103
}
104
105
#[Query]
106
- #[Assertion(for: 'email', constraint: new Assert\Email())]
107
- public function findByMail(string $email = 'a@a.com'): string
108
- {
+ public function findByMail(
+ #[Assertion(constraint: new Assert\Email())]
+ string $email = 'a@a.com'
109
+ ): string {
110
return $email;
111
112
0 commit comments