We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f902d99 commit 5fe16dcCopy full SHA for 5fe16dc
1 file changed
src/Request.php
@@ -16,8 +16,8 @@ class Request
16
protected ?string $body = null;
17
18
public function __construct(
19
- string $method = null,
20
- string|Uri $uri = null,
+ ?string $method = null,
+ null|string|Uri $uri = null,
21
array $headers = [],
22
string $protocol = 'HTTP/1.1'
23
) {
0 commit comments