Skip to content

Commit

Permalink
Merge branch '4.4' into 5.3
Browse files Browse the repository at this point in the history
* 4.4:
  Fix optional before mandatory parameters
  • Loading branch information
derrabus committed Aug 25, 2021
2 parents 2be7b5c + a3f7189 commit 8b10083
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Event/ConsoleEvent.php
Expand Up @@ -28,7 +28,7 @@ class ConsoleEvent extends Event
private $input;
private $output;

public function __construct(Command $command = null, InputInterface $input, OutputInterface $output)
public function __construct(?Command $command, InputInterface $input, OutputInterface $output)
{
$this->command = $command;
$this->input = $input;
Expand Down

0 comments on commit 8b10083

Please sign in to comment.