Skip to content

Commit 5897781

Browse files
author
Wazabii
committed
Minor structure changes
1 parent 1c786fd commit 5897781

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ echo $uri->getUri(); // Get the full URI
2727
Only the **(StreamInterface) Body** attribute is required and the rest will auto propagate if you leave them be.
2828
```php
2929
$request = new Http\Response(
30-
**(StreamInterface) Body,**
31-
(array) Headers,
32-
(int) status,
33-
(?string) phrase,
34-
(?string) version
30+
StreamInterface $body,
31+
?HeadersInterface $headers = null,
32+
int $status = 200,
33+
?string $phrase = null,
34+
?string $version = null
3535
);
3636
```
3737
#### Get Status code

0 commit comments

Comments
 (0)