1
0
mirror of https://github.com/Rudloff/alltube.git synced 2024-06-27 07:35:08 +02:00

Add missing doc

This commit is contained in:
Pierre Rudloff 2017-12-24 01:12:47 +01:00
parent ae690873b3
commit fd8e6255ef
2 changed files with 6 additions and 2 deletions

View File

@ -60,6 +60,8 @@ class PlaylistArchiveStream extends TarArchive
/** /**
* PlaylistArchiveStream constructor. * PlaylistArchiveStream constructor.
*
* @param Config $config Config instance.
*/ */
public function __construct(Config $config = null) public function __construct(Config $config = null)
{ {

View File

@ -22,6 +22,8 @@ class VideoDownload
/** /**
* VideoDownload constructor. * VideoDownload constructor.
* *
* @param Config $config Config instance.
*
* @throws \Exception If youtube-dl is missing * @throws \Exception If youtube-dl is missing
* @throws \Exception If Python 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. * 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 * @throws \Exception If avconv/ffmpeg is missing
* *
* @return \Symfony\Component\Process\Process Process * @return Process Process
*/ */
private function getAvconvMp3Process(\stdClass $video) private function getAvconvMp3Process(\stdClass $video)
{ {