Merge pull request #74 from Rudloff/analysis-8n2oby

Applied fixes from StyleCI
This commit is contained in:
Pierre Rudloff 2016-10-14 18:04:06 +01:00 committed by GitHub
commit 34fa390256

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();
} }