From 7940446af3740b43ef6e8e2fceb7f0a69e019add Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Sat, 23 Dec 2017 14:37:29 +0100 Subject: [PATCH] Lint --- classes/VideoDownload.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/classes/VideoDownload.php b/classes/VideoDownload.php index f9e1efe..8be0d2c 100644 --- a/classes/VideoDownload.php +++ b/classes/VideoDownload.php @@ -41,7 +41,7 @@ class VideoDownload } /** - * Return a youtube-dl process with the specified arguments + * Return a youtube-dl process with the specified arguments. * * @param string[] $arguments Arguments * @@ -86,7 +86,7 @@ class VideoDownload { $arguments = [ '--'.$prop, - $url + $url, ]; if (isset($format)) { $arguments[] = '-f '.$format; @@ -219,7 +219,7 @@ class VideoDownload ] as $property => $option) { if (isset($video->{$property})) { $arguments[] = '--'.$option; - $arguments[] = $video->{$property}; + $arguments[] = $video->{$property}; } } @@ -244,7 +244,7 @@ class VideoDownload if (isset($video->rtmp_conn)) { foreach ($video->rtmp_conn as $conn) { $arguments[] = '--conn'; - $arguments[] = $conn; + $arguments[] = $conn; } }