diff --git a/quick_tour/flex_recipes.rst b/quick_tour/flex_recipes.rst index 9fed0c64e12..0c44c5dcb1b 100644 --- a/quick_tour/flex_recipes.rst +++ b/quick_tour/flex_recipes.rst @@ -165,7 +165,7 @@ Are you building an API? You can already return JSON from any controller:: // ... #[Route('/api/hello/{name}', methods: ['GET'])] - public function apiHello(string$name): JsonResponse + public function apiHello(string $name): JsonResponse { return $this->json([ 'name' => $name,