Skip to content

Commit

Permalink
Fix stream
Browse files Browse the repository at this point in the history
  • Loading branch information
xepozz committed Jul 7, 2024
1 parent 66aefb3 commit 23b2d19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ServerSentEventsStream.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ public function detach(): void
$this->eof = true;
}

public function getSize(): int
public function getSize(): ?int
{
return 0;
return null;
}

public function tell(): int
Expand Down

0 comments on commit 23b2d19

Please sign in to comment.