Improve typing
This commit is contained in:
parent
d46563f994
commit
b8c88aecf5
6 changed files with 11 additions and 11 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue