Skip to content

Commit

Permalink
Enforce readonly on Http instance
Browse files Browse the repository at this point in the history
  • Loading branch information
nyamsprod committed Sep 13, 2022
1 parent 198be7f commit 32cc8b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

final class Http implements Psr7UriInterface, JsonSerializable
{
private function __construct(private UriInterface $uri)
private function __construct(private readonly UriInterface $uri)
{
$this->validate($this->uri);
}
Expand Down

0 comments on commit 32cc8b7

Please sign in to comment.