Skip to content

Commit

Permalink
Add support for psr/http-message:^2.0 (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
W0rma committed Oct 23, 2023
1 parent 2e95e69 commit d60019b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"psr/simple-cache": "^1.0 | ^2.0 | ^3.0",
"psr/simple-cache-implementation": "^1.0 | ^2.0 | ^3.0",
"lastguest/murmurhash": "^2.1",
"psr/http-message": "^1.0",
"psr/http-message": "^1.0 | ^2.0",
"php-http/discovery": "^1.14"
},
"autoload": {
Expand Down
2 changes: 1 addition & 1 deletion src/Helper/StringStream.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function __construct(
rewind($this->stream);
}

public function __toString()
public function __toString(): string
{
$stream = $this->stream;
if ($stream === null) {
Expand Down

0 comments on commit d60019b

Please sign in to comment.