Merge pull request #73 from Rudloff/analysis-8QejAg

Applied fixes from StyleCI
This commit is contained in:
Pierre Rudloff 2016-10-14 01:42:33 +01:00 committed by GitHub
commit 8090a8dc6e

View file

@ -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')