Mercurial > hg > isophonics-drupal-site
diff vendor/symfony/console/Event/ConsoleEvent.php @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line diff
--- a/vendor/symfony/console/Event/ConsoleEvent.php Mon Apr 23 09:33:26 2018 +0100 +++ b/vendor/symfony/console/Event/ConsoleEvent.php Mon Apr 23 09:46:53 2018 +0100 @@ -28,7 +28,7 @@ private $input; private $output; - public function __construct(Command $command, InputInterface $input, OutputInterface $output) + public function __construct(Command $command = null, InputInterface $input, OutputInterface $output) { $this->command = $command; $this->input = $input; @@ -38,7 +38,7 @@ /** * Gets the command that is executed. * - * @return Command A Command instance + * @return Command|null A Command instance */ public function getCommand() {