We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d9fadaf + 98059dd commit fbc500cCopy full SHA for fbc500c
Tests/Fixtures/ServerRequest.php
@@ -26,10 +26,10 @@ class ServerRequest extends Message implements ServerRequestInterface
26
public function __construct(
27
string $version = '1.1',
28
array $headers = [],
29
- StreamInterface $body = null,
+ ?StreamInterface $body = null,
30
private readonly string $requestTarget = '/',
31
private readonly string $method = 'GET',
32
- UriInterface|string $uri = null,
+ UriInterface|string|null $uri = null,
33
private readonly array $server = [],
34
private readonly array $cookies = [],
35
private readonly array $query = [],
0 commit comments