Improve typing

This commit is contained in:
Pierre Rudloff 2022-02-03 20:21:25 +01:00
parent d46563f994
commit b8c88aecf5
6 changed files with 11 additions and 11 deletions

View file

@ -156,9 +156,9 @@ class YoutubeChunkStream implements StreamInterface
*
* @param mixed $string The string that is to be written
*
* @return mixed
* @return int
*/
public function write($string)
public function write($string): int
{
return $this->response->getBody()->write($string);
}