diff --git a/src/StreamTrait.php b/src/StreamTrait.php index f398dbc..e7185fe 100644 --- a/src/StreamTrait.php +++ b/src/StreamTrait.php @@ -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 {