Skip to content

Commit 8b10083

Browse files
committed
Merge branch '4.4' into 5.3
* 4.4: Fix optional before mandatory parameters
2 parents 2be7b5c + a3f7189 commit 8b10083

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Event/ConsoleEvent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class ConsoleEvent extends Event
2828
private $input;
2929
private $output;
3030

31-
public function __construct(Command $command = null, InputInterface $input, OutputInterface $output)
31+
public function __construct(?Command $command, InputInterface $input, OutputInterface $output)
3232
{
3333
$this->command = $command;
3434
$this->input = $input;

0 commit comments

Comments
 (0)