Skip to content

Commit

Permalink
Add return type
Browse files Browse the repository at this point in the history
  • Loading branch information
W0rma committed Oct 23, 2023
1 parent 48b0db2 commit e94908a
Showing 1 changed file with 1 addition and 1 deletion.
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 e94908a

Please sign in to comment.