Add void return types
This commit is contained in:
parent
e3187a7258
commit
e81b8c75a8
6 changed files with 16 additions and 16 deletions
|
@ -63,7 +63,7 @@ class YoutubeChunkStream implements StreamInterface
|
|||
*
|
||||
* @return void
|
||||
*/
|
||||
public function close()
|
||||
public function close(): void
|
||||
{
|
||||
$this->response->getBody()->close();
|
||||
}
|
||||
|
@ -126,7 +126,7 @@ class YoutubeChunkStream implements StreamInterface
|
|||
*
|
||||
* @return void
|
||||
*/
|
||||
public function seek($offset, $whence = SEEK_SET)
|
||||
public function seek($offset, $whence = SEEK_SET): void
|
||||
{
|
||||
$this->response->getBody()->seek($offset, $whence);
|
||||
}
|
||||
|
@ -136,7 +136,7 @@ class YoutubeChunkStream implements StreamInterface
|
|||
*
|
||||
* @return void
|
||||
*/
|
||||
public function rewind()
|
||||
public function rewind(): void
|
||||
{
|
||||
$this->response->getBody()->rewind();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue