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
|
class VideoDownload
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Config instance
|
* Config instance.
|
||||||
|
*
|
||||||
* @var Config
|
* @var Config
|
||||||
*/
|
*/
|
||||||
private $config;
|
private $config;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ProcessBuilder instance used to call Python
|
* ProcessBuilder instance used to call Python.
|
||||||
|
*
|
||||||
* @var ProcessBuilder
|
* @var ProcessBuilder
|
||||||
*/
|
*/
|
||||||
private $procBuilder;
|
private $procBuilder;
|
||||||
|
@ -58,10 +60,12 @@ class VideoDownload
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get a property from youtube-dl
|
* Get a property from youtube-dl.
|
||||||
|
*
|
||||||
* @param string $url URL to parse
|
* @param string $url URL to parse
|
||||||
* @param string $format Format
|
* @param string $format Format
|
||||||
* @param string $prop Property
|
* @param string $prop Property
|
||||||
|
*
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
private function getProp($url, $format = null, $prop = 'dump-json')
|
private function getProp($url, $format = null, $prop = 'dump-json')
|
||||||
|
|
Loading…
Reference in a new issue