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 eb88d01 commit 590dad6Copy full SHA for 590dad6
README.md
@@ -47,7 +47,7 @@ class MyController
47
*/
48
public function index(ServerRequestInterface $request)
49
{
50
- return new JsonResponse("Hello" => "World!");
+ return new JsonResponse(["Hello" => "World!"]);
51
}
52
53
```
0 commit comments