Applied fixes from StyleCI

This commit is contained in:
Pierre Rudloff 2016-10-14 17:02:14 +00:00 committed by StyleCI Bot
parent b0cdbd41ed
commit fdc746a69d

View file

@ -148,8 +148,10 @@ class VideoDownload
} }
/** /**
* Get a process that runs rtmp in order to download a video * Get a process that runs rtmp in order to download a video.
* @param object $video Video object returned by youtube-dl *
* @param object $video Video object returned by youtube-dl
*
* @return \Symfony\Component\Process\Process Process * @return \Symfony\Component\Process\Process Process
*/ */
private function getRtmpProcess($video) private function getRtmpProcess($video)
@ -188,12 +190,15 @@ class VideoDownload
$builder->add('--app'); $builder->add('--app');
$builder->add($video->app); $builder->add($video->app);
} }
return $builder->getProcess(); return $builder->getProcess();
} }
/** /**
* Get a process that runs curl in order to download a video * Get a process that runs curl in order to download a video.
* @param object $video Video object returned by youtube-dl *
* @param object $video Video object returned by youtube-dl
*
* @return \Symfony\Component\Process\Process Process * @return \Symfony\Component\Process\Process Process
*/ */
private function getCurlProcess($video) private function getCurlProcess($video)
@ -213,6 +218,7 @@ class VideoDownload
$this->config->curl_params $this->config->curl_params
) )
); );
return $builder->getProcess(); return $builder->getProcess();
} }