| @@ -18,7 +18,7 @@ | ||
| 18 | 18 |              throw DownloadException::downloadError('Error opening file: ' . $url); | 
| 19 | 19 | } | 
| 20 | 20 | |
| 21 | -        if(($wh = fopen($outfile, 'wb')) === false){ | |
| 21 | +        if (($wh = fopen($outfile, 'wb')) === false) { | |
| 22 | 22 |              throw DownloadException::downloadError('Error creating file: ' . $outfile); | 
| 23 | 23 | } | 
| 24 | 24 | |
| @@ -34,7 +34,7 @@ | ||
| 34 | 34 | |
| 35 | 35 |          $options->setAllowedTypes('force', 'bool'); | 
| 36 | 36 |          $options->setAllowedTypes('overwrite', 'bool'); | 
| 37 | -        $options->setAllowedTypes('video_id', ['string','integer']); | |
| 37 | +        $options->setAllowedTypes('video_id', ['string', 'integer']); | |
| 38 | 38 | $this->options = $options->resolve($config); | 
| 39 | 39 | } | 
| 40 | 40 | |