From fd8e6255efaec395e87f40b08a63e7b235b4692f Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Sun, 24 Dec 2017 01:12:47 +0100 Subject: [PATCH] Add missing doc --- classes/PlaylistArchiveStream.php | 2 ++ classes/VideoDownload.php | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/classes/PlaylistArchiveStream.php b/classes/PlaylistArchiveStream.php index 6bf74b3..6c6dfbe 100644 --- a/classes/PlaylistArchiveStream.php +++ b/classes/PlaylistArchiveStream.php @@ -60,6 +60,8 @@ class PlaylistArchiveStream extends TarArchive /** * PlaylistArchiveStream constructor. + * + * @param Config $config Config instance. */ public function __construct(Config $config = null) { diff --git a/classes/VideoDownload.php b/classes/VideoDownload.php index e72789c..07a3495 100644 --- a/classes/VideoDownload.php +++ b/classes/VideoDownload.php @@ -22,6 +22,8 @@ class VideoDownload /** * VideoDownload constructor. * + * @param Config $config Config instance. + * * @throws \Exception If youtube-dl is missing * @throws \Exception If Python is missing */ @@ -249,11 +251,11 @@ class VideoDownload /** * Get a process that runs avconv in order to convert a video to MP3. * - * @param object $url Video object returned by youtube-dl + * @param object $video Video object returned by youtube-dl * * @throws \Exception If avconv/ffmpeg is missing * - * @return \Symfony\Component\Process\Process Process + * @return Process Process */ private function getAvconvMp3Process(\stdClass $video) {