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
|
||||
{
|
||||
/**
|
||||
* 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