From a8a0d2c7b9c2965cae7cd2ab955f9db552009a93 Mon Sep 17 00:00:00 2001 From: Evgeniy Zyubin Date: Thu, 21 Jul 2022 18:21:24 +0300 Subject: [PATCH] Fix static analysis to StreamTrait --- src/StreamTrait.php | 1 + 1 file changed, 1 insertion(+) 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 {