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 7
7
use GraphQL \Error \Error ;
8
8
use Porpaginas \Arrays \ArrayResult ;
9
9
use Symfony \Component \HttpFoundation \Request ;
10
- use Symfony \Component \Validator \Constraints as Assertion ;
10
+ use Symfony \Component \Validator \Constraints as Assert ;
11
11
use TheCodingMachine \GraphQLite \Annotations \FailWith ;
12
12
use TheCodingMachine \GraphQLite \Annotations \Logged ;
13
13
use TheCodingMachine \GraphQLite \Annotations \Right ;
17
17
use TheCodingMachine \GraphQLite \Annotations \Query ;
18
18
use TheCodingMachine \GraphQLite \Exceptions \GraphQLAggregateException ;
19
19
use TheCodingMachine \GraphQLite \Exceptions \GraphQLException ;
20
- use TheCodingMachine \Graphqlite \Validator \Annotations \Assert ;
20
+ use TheCodingMachine \Graphqlite \Validator \Annotations \Assertion ;
21
21
use TheCodingMachine \Graphqlite \Validator \Fixtures \Types \User ;
22
22
23
23
class TestGraphqlController
@@ -131,7 +131,7 @@ public function getUri(Request $request): string
131
131
132
132
/**
133
133
* @Query
134
- * @Assert (for="email", constraint=@Assertion \Email())
134
+ * @Assertion (for="email", constraint=@Assert \Email())
135
135
*/
136
136
public function findByMail (
string $ email =
'[email protected] ' ):
string
137
137
{
You can’t perform that action at this time.
0 commit comments