Logger is now required

This commit is contained in:
Romain Neutron 2012-05-25 15:46:03 +02:00
commit 0313bf312a

View file

@ -34,7 +34,7 @@ abstract class Binary implements AdapterInterface
* @param type $binary The path file to the binary * @param type $binary The path file to the binary
* @param \Monolog\Logger $logger A logger * @param \Monolog\Logger $logger A logger
*/ */
public function __construct($binary, \Monolog\Logger $logger = null) public function __construct($binary, \Monolog\Logger $logger)
{ {
$this->binary = $binary; $this->binary = $binary;
@ -53,7 +53,7 @@ abstract class Binary implements AdapterInterface
* @return \FFMpeg\Binary The binary * @return \FFMpeg\Binary The binary
* @throws Exception\BinaryNotFoundException * @throws Exception\BinaryNotFoundException
*/ */
public static function load(\Monolog\Logger $logger = null) public static function load(\Monolog\Logger $logger)
{ {
$finder = new ExecutableFinder(); $finder = new ExecutableFinder();
$binary = null; $binary = null;