Merge pull request #73 from Rudloff/analysis-8QejAg
Applied fixes from StyleCI
This commit is contained in:
commit
8090a8dc6e
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 $format Format
|
* @param string $url URL to parse
|
||||||
* @param string $prop Property
|
* @param string $format Format
|
||||||
|
* @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