From 83c81518c6ad633a6a9d491c4168634ab0324140 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Lafont?= Date: Sun, 11 Sep 2022 12:19:38 +0200 Subject: [PATCH] Fix methods in route annotation in documentation (#2028) Fix the bad typo. --- Resources/doc/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/doc/index.rst b/Resources/doc/index.rst index fa667d9..06bb980 100644 --- a/Resources/doc/index.rst +++ b/Resources/doc/index.rst @@ -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',