Fix docblocks

This commit is contained in:
Pierre Rudloff 2017-05-05 00:06:18 +02:00
parent d7927fc442
commit 631f09529f
3 changed files with 4 additions and 5 deletions

View file

@ -68,7 +68,7 @@ class PlaylistArchiveStream extends TarArchive
/** /**
* Add data to the archive. * Add data to the archive.
* *
* @param mixed $data Data * @param string $data Data
* *
* @return void * @return void
*/ */
@ -83,7 +83,6 @@ class PlaylistArchiveStream extends TarArchive
* Called when fopen() is used on the stream. * Called when fopen() is used on the stream.
* *
* @param string $path Playlist path (should be playlist://url1;url2;.../format) * @param string $path Playlist path (should be playlist://url1;url2;.../format)
* @param string $mode Stream mode
* *
* @return bool * @return bool
*/ */
@ -170,7 +169,7 @@ class PlaylistArchiveStream extends TarArchive
* *
* @param int $count Number of bytes to read * @param int $count Number of bytes to read
* *
* @return mixed * @return string
*/ */
public function stream_read($count) public function stream_read($count)
{ {

View file

@ -368,7 +368,7 @@ class VideoDownload
/** /**
* Get a Tar stream containing every video in the playlist piped through the server. * Get a Tar stream containing every video in the playlist piped through the server.
* *
* @param string $video Video object returned by youtube-dl * @param object $video Video object returned by youtube-dl
* @param string $format Requested format * @param string $format Requested format
* *
* @return Response HTTP response * @return Response HTTP response

View file

@ -359,7 +359,7 @@ class FrontController
/** /**
* Get a remuxed stream piped through the server. * Get a remuxed stream piped through the server.
* *
* @param array $urls URLs of the video and audio files * @param string[] $urls URLs of the video and audio files
* @param string $format Requested format * @param string $format Requested format
* @param Response $response PSR-7 response * @param Response $response PSR-7 response
* @param Request $request PSR-7 request * @param Request $request PSR-7 request