File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Tests/Fixtures/Controller Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 77use GraphQL \Error \Error ;
88use Porpaginas \Arrays \ArrayResult ;
99use Symfony \Component \HttpFoundation \Request ;
10- use Symfony \Component \Validator \Constraints as Assertion ;
10+ use Symfony \Component \Validator \Constraints as Assert ;
1111use TheCodingMachine \GraphQLite \Annotations \FailWith ;
1212use TheCodingMachine \GraphQLite \Annotations \Logged ;
1313use TheCodingMachine \GraphQLite \Annotations \Right ;
1717use TheCodingMachine \GraphQLite \Annotations \Query ;
1818use TheCodingMachine \GraphQLite \Exceptions \GraphQLAggregateException ;
1919use TheCodingMachine \GraphQLite \Exceptions \GraphQLException ;
20- use TheCodingMachine \Graphqlite \Validator \Annotations \Assert ;
20+ use TheCodingMachine \Graphqlite \Validator \Annotations \Assertion ;
2121use TheCodingMachine \Graphqlite \Validator \Fixtures \Types \User ;
2222
2323class TestGraphqlController
@@ -131,7 +131,7 @@ public function getUri(Request $request): string
131131
132132 /**
133133 * @Query
134- * @Assert (for="email", constraint=@Assertion \Email())
134+ * @Assertion (for="email", constraint=@Assert \Email())
135135 */
136136 public function findByMail (string $ email = 'a@a.com ' ): string
137137 {
You can’t perform that action at this time.
0 commit comments