This commit is contained in:
Pierre Rudloff 2020-09-27 15:53:53 +02:00
parent d38b1cd9aa
commit 8d15fbdda2
9 changed files with 25 additions and 21 deletions

View file

@ -79,7 +79,7 @@ class PlaylistArchiveStream extends ZipArchive implements StreamInterface
/**
* Add data to the archive.
*
* @param string $data Data
* @param mixed $data Data
*
* @return void
*/
@ -99,7 +99,7 @@ class PlaylistArchiveStream extends ZipArchive implements StreamInterface
/**
* Write data to the stream.
*
* @param string $string The string that is to be written
* @param mixed $string The string that is to be written
*
* @return int|false
*/
@ -171,7 +171,7 @@ class PlaylistArchiveStream extends ZipArchive implements StreamInterface
/**
* Get stream metadata as an associative array or retrieve a specific key.
*
* @param string $key string $key Specific metadata to retrieve.
* @param string|null $key string $key Specific metadata to retrieve.
*
* @return array|mixed|null
*/
@ -228,7 +228,7 @@ class PlaylistArchiveStream extends ZipArchive implements StreamInterface
/**
* Seek to a position in the stream.
*
* @param int $offset Offset
* @param mixed $offset Offset
* @param int $whence Specifies how the cursor position will be calculated
*
* @return void
@ -272,7 +272,7 @@ class PlaylistArchiveStream extends ZipArchive implements StreamInterface
/**
* Read data from the stream.
*
* @param int $count Number of bytes to read
* @param mixed $count Number of bytes to read
*
* @return string|false
* @throws AlltubeLibraryException

View file

@ -35,7 +35,7 @@ class YoutubeChunkStream implements StreamInterface
/**
* Read data from the stream.
*
* @param int $length Read up to $length bytes from the object and return
* @param mixed $length Read up to $length bytes from the object and return
*
* @return string
*/
@ -121,7 +121,7 @@ class YoutubeChunkStream implements StreamInterface
/**
* Seek to a position in the stream.
*
* @param int $offset Stream offset
* @param mixed $offset Stream offset
* @param int $whence Specifies how the cursor position will be calculated
*
* @return void
@ -154,7 +154,7 @@ class YoutubeChunkStream implements StreamInterface
/**
* Write data to the stream.
*
* @param string $string The string that is to be written
* @param mixed $string The string that is to be written
*
* @return mixed
*/
@ -186,7 +186,7 @@ class YoutubeChunkStream implements StreamInterface
/**
* Get stream metadata as an associative array or retrieve a specific key.
*
* @param string $key Specific metadata to retrieve.
* @param string|null $key Specific metadata to retrieve.
*
* @return array|mixed|null
*/