diff --git a/classes/PlaylistArchiveStream.php b/classes/PlaylistArchiveStream.php index 6e00747..ee89c4d 100644 --- a/classes/PlaylistArchiveStream.php +++ b/classes/PlaylistArchiveStream.php @@ -68,7 +68,7 @@ class PlaylistArchiveStream extends TarArchive /** * Add data to the archive. * - * @param mixed $data Data + * @param string $data Data * * @return void */ @@ -83,7 +83,6 @@ class PlaylistArchiveStream extends TarArchive * Called when fopen() is used on the stream. * * @param string $path Playlist path (should be playlist://url1;url2;.../format) - * @param string $mode Stream mode * * @return bool */ @@ -170,7 +169,7 @@ class PlaylistArchiveStream extends TarArchive * * @param int $count Number of bytes to read * - * @return mixed + * @return string */ public function stream_read($count) { diff --git a/classes/VideoDownload.php b/classes/VideoDownload.php index 5d4fb68..1348333 100644 --- a/classes/VideoDownload.php +++ b/classes/VideoDownload.php @@ -368,7 +368,7 @@ class VideoDownload /** * 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 * * @return Response HTTP response diff --git a/controllers/FrontController.php b/controllers/FrontController.php index dd4a7d0..1ac4969 100644 --- a/controllers/FrontController.php +++ b/controllers/FrontController.php @@ -359,7 +359,7 @@ class FrontController /** * 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 Response $response PSR-7 response * @param Request $request PSR-7 request