Fix methods in route annotation in documentation (#2028)

Fix the bad typo.
This commit is contained in:
Clément Lafont 2022-09-11 12:19:38 +02:00 committed by GitHub
parent fd45120d5c
commit 83c81518c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -203,7 +203,7 @@ To document your routes, you can use the SwaggerPHP annotations and the
*
* This call takes into account all confirmed awards, but not pending or refused awards.
*/
#[Route('/api/{user}/rewards', methods=['GET'])]
#[Route('/api/{user}/rewards', methods: ['GET'])]
#[OA\Response(
response: 200,
description: 'Returns the rewards of an user',