Applied fixes from StyleCI
This commit is contained in:
parent
2b0f0a6740
commit
5d9a6873b6
1 changed files with 10 additions and 6 deletions
|
@ -13,13 +13,15 @@ use Symfony\Component\Process\ProcessBuilder;
|
|||
class VideoDownload
|
||||
{
|
||||
/**
|
||||
* Config instance
|
||||
* Config instance.
|
||||
*
|
||||
* @var Config
|
||||
*/
|
||||
private $config;
|
||||
|
||||
/**
|
||||
* ProcessBuilder instance used to call Python
|
||||
* ProcessBuilder instance used to call Python.
|
||||
*
|
||||
* @var ProcessBuilder
|
||||
*/
|
||||
private $procBuilder;
|
||||
|
@ -58,10 +60,12 @@ class VideoDownload
|
|||
}
|
||||
|
||||
/**
|
||||
* Get a property from youtube-dl
|
||||
* @param string $url URL to parse
|
||||
* @param string $format Format
|
||||
* @param string $prop Property
|
||||
* Get a property from youtube-dl.
|
||||
*
|
||||
* @param string $url URL to parse
|
||||
* @param string $format Format
|
||||
* @param string $prop Property
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
private function getProp($url, $format = null, $prop = 'dump-json')
|
||||
|
|
Loading…
Reference in a new issue