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

Commit

Permalink
Fixes code styling in docs for custom responses
Browse files Browse the repository at this point in the history
  • Loading branch information
froschdesign committed Dec 13, 2018
1 parent 52adc71 commit f2a463b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/book/v2/custom-responses.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ $response = new EmptyResponse(201, [
]);

// Alternately, set the header after instantiation:
$response = ( new EmptyResponse(201) )->withHeader('Location', $url);
$response = (new EmptyResponse(201))->withHeader('Location', $url);
```

## Redirects
Expand Down

0 comments on commit f2a463b

Please sign in to comment.