Skip to content

Commit a8a0d2c

Browse files
authored
Fix static analysis to StreamTrait
1 parent 712f4f0 commit a8a0d2c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/StreamTrait.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ public function detach()
118118
* Get the size of the stream if known.
119119
*
120120
* @return int|null Returns the size in bytes if known, or null if unknown.
121+
* @psalm-suppress RedundantCast
121122
*/
122123
public function getSize(): ?int
123124
{

0 commit comments

Comments
 (0)