diff --git a/PHPCI/Command/DaemoniseCommand.php b/PHPCI/Command/DaemoniseCommand.php index eadd334e..c9e97295 100644 --- a/PHPCI/Command/DaemoniseCommand.php +++ b/PHPCI/Command/DaemoniseCommand.php @@ -47,9 +47,9 @@ class DaemoniseCommand extends Command * @param \Monolog\Logger $logger * @param string $name */ - public function __construct(Logger $logger, $name = null) + public function __construct(Logger $logger) { - parent::__construct($name); + parent::__construct(); $this->logger = $logger; } diff --git a/PHPCI/Command/PollCommand.php b/PHPCI/Command/PollCommand.php index a8729515..d0381b10 100644 --- a/PHPCI/Command/PollCommand.php +++ b/PHPCI/Command/PollCommand.php @@ -32,9 +32,10 @@ class PollCommand extends Command */ protected $logger; - public function __construct(Logger $logger, $name = null) + public function __construct(Logger $logger) { - parent::__construct($name); + parent::__construct(); + $this->logger = $logger; } diff --git a/PHPCI/Command/RebuildCommand.php b/PHPCI/Command/RebuildCommand.php index 4c24b359..d4dee396 100644 --- a/PHPCI/Command/RebuildCommand.php +++ b/PHPCI/Command/RebuildCommand.php @@ -49,9 +49,10 @@ class RebuildCommand extends Command * @param \Monolog\Logger $logger * @param string $name */ - public function __construct(Logger $logger, $name = null) + public function __construct(Logger $logger) { parent::__construct($name); + $this->logger = $logger; } diff --git a/PHPCI/Command/RunCommand.php b/PHPCI/Command/RunCommand.php index c2c352e6..e4d0a3f2 100644 --- a/PHPCI/Command/RunCommand.php +++ b/PHPCI/Command/RunCommand.php @@ -55,9 +55,9 @@ class RunCommand extends Command * @param \Monolog\Logger $logger * @param string $name */ - public function __construct(Logger $logger, $name = null) + public function __construct(Logger $logger) { - parent::__construct($name); + parent::__construct(); $this->logger = $logger; } diff --git a/PHPCI/Command/UpdateCommand.php b/PHPCI/Command/UpdateCommand.php index 13e31f79..f8e66150 100644 --- a/PHPCI/Command/UpdateCommand.php +++ b/PHPCI/Command/UpdateCommand.php @@ -29,9 +29,10 @@ class UpdateCommand extends Command */ protected $logger; - public function __construct(Logger $logger, $name = null) + public function __construct(Logger $logger) { - parent::__construct($name); + parent::__construct(); + $this->logger = $logger; }