refactor: StreamInterface::close() should not return anything

This commit is contained in:
Pierre Rudloff 2019-04-28 15:57:21 +02:00
parent 5e9768e0e7
commit b61287523d

View file

@ -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();
}
/**