Skip to content

Commit

Permalink
Fix static analysis to StreamTrait
Browse files Browse the repository at this point in the history
  • Loading branch information
devanych authored Jul 21, 2022
1 parent 712f4f0 commit a8a0d2c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/StreamTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ public function detach()
* Get the size of the stream if known.
*
* @return int|null Returns the size in bytes if known, or null if unknown.
* @psalm-suppress RedundantCast
*/
public function getSize(): ?int
{
Expand Down

0 comments on commit a8a0d2c

Please sign in to comment.