We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1f8bd5b + afb49b8 commit 942fd56Copy full SHA for 942fd56
quick_tour/flex_recipes.rst
@@ -165,7 +165,7 @@ Are you building an API? You can already return JSON from any controller::
165
// ...
166
167
#[Route('/api/hello/{name}', methods: ['GET'])]
168
- public function apiHello(string$name): JsonResponse
+ public function apiHello(string $name): JsonResponse
169
{
170
return $this->json([
171
'name' => $name,
0 commit comments