10000 Fix optional before mandatory parameters · symfony/symfony@aec3021 · GitHub
[go: up one dir, main page]

Skip to content

Commit aec3021

Browse files
committed
Fix optional before mandatory parameters
Signed-off-by: Alexander M. Turek <me@derrabus.de>
1 parent 58c7f74 commit aec3021

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Console/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)
0