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.
1 parent e45d89e commit b636d2eCopy full SHA for b636d2e
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