Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
Fix tiny typo
Browse files Browse the repository at this point in the history
  • Loading branch information
schnittstabil committed Nov 17, 2016
1 parent 34e964b commit 9476793
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/book/api.md
Expand Up @@ -100,7 +100,7 @@ $htmlResponse = StringResponse::html($html, 404, [
'Content-Type' => [ 'application/xhtml+xml' ],
]);

$jsonResponse = StringResponse::html($html, 422, [
$jsonResponse = StringResponse::json($data, 422, [
'Content-Type' => [ 'application/problem+json' ],
]);
```
Expand Down

0 comments on commit 9476793

Please sign in to comment.