From b61287523db92d5cc79c47ee0f8c4a6e9129a205 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Sun, 28 Apr 2019 15:57:21 +0200 Subject: [PATCH] refactor: StreamInterface::close() should not return anything --- classes/streams/YoutubeChunkStream.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/streams/YoutubeChunkStream.php b/classes/streams/YoutubeChunkStream.php index 25c3ea8..09f80dc 100644 --- a/classes/streams/YoutubeChunkStream.php +++ b/classes/streams/YoutubeChunkStream.php @@ -60,11 +60,11 @@ class YoutubeChunkStream implements StreamInterface /** * Closes the stream and any underlying resources. * - * @return mixed + * @return void */ public function close() { - return $this->response->getBody()->close(); + $this->response->getBody()->close(); } /**