From fdc746a69d507fcaf26d41ac5d0c7a31b308ed50 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Fri, 14 Oct 2016 17:02:14 +0000 Subject: [PATCH] Applied fixes from StyleCI --- classes/VideoDownload.php | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/classes/VideoDownload.php b/classes/VideoDownload.php index 3eed861..a4c589d 100644 --- a/classes/VideoDownload.php +++ b/classes/VideoDownload.php @@ -148,8 +148,10 @@ class VideoDownload } /** - * Get a process that runs rtmp in order to download a video - * @param object $video Video object returned by youtube-dl + * Get a process that runs rtmp in order to download a video. + * + * @param object $video Video object returned by youtube-dl + * * @return \Symfony\Component\Process\Process Process */ private function getRtmpProcess($video) @@ -188,12 +190,15 @@ class VideoDownload $builder->add('--app'); $builder->add($video->app); } + return $builder->getProcess(); } /** - * Get a process that runs curl in order to download a video - * @param object $video Video object returned by youtube-dl + * Get a process that runs curl in order to download a video. + * + * @param object $video Video object returned by youtube-dl + * * @return \Symfony\Component\Process\Process Process */ private function getCurlProcess($video) @@ -213,6 +218,7 @@ class VideoDownload $this->config->curl_params ) ); + return $builder->getProcess(); }