Skip to content

Commit 5fe16dc

Browse files
authored
Update Request.php
php 8.4 compatibility
1 parent f902d99 commit 5fe16dc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Request.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ class Request
1616
protected ?string $body = null;
1717

1818
public function __construct(
19-
string $method = null,
20-
string|Uri $uri = null,
19+
?string $method = null,
20+
null|string|Uri $uri = null,
2121
array $headers = [],
2222
string $protocol = 'HTTP/1.1'
2323
) {

0 commit comments

Comments
 (0)