@@ -4,5 +4,5 @@ |
||
4 | 4 | |
5 | 5 | interface ValidatorInterface |
6 | 6 | { |
7 | - public function isValid($url) : bool ; |
|
7 | + public function isValid($url) : bool; |
|
8 | 8 | } |
@@ -44,7 +44,7 @@ |
||
44 | 44 | $outVideos[$formatFound] = $video['url']; |
45 | 45 | } |
46 | 46 | |
47 | - if($selectedFormats != []) { |
|
47 | + if ($selectedFormats != []) { |
|
48 | 48 | foreach ($selectedFormats as $selectedFormat) { |
49 | 49 | if (array_key_exists($selectedFormat, $outVideos)) { |
50 | 50 | return [$selectedFormat => $outVideos[$selectedFormat]]; |