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

Commit f2a463b

Browse files
committed
Fixes code styling in docs for custom responses
1 parent 52adc71 commit f2a463b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/book/v2/custom-responses.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ $response = new EmptyResponse(201, [
173173
]);
174174

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

179179
## Redirects

0 commit comments

Comments
 (0)