Skip to content

Commit cc9c172

Browse files
committed
Add void type to MainCommand::configure
Fixes ``` 1x: Method "Symfony\Component\Console\Command\Command::configure()" might add "void" as a native return type declaration in the future. Do the same in child class "Sentry\SentryBundle\Tests\End2End\App\Command\MainCommand" now to avoid errors or add an explicit @return annotation to suppress this message. ```
1 parent b7da815 commit cc9c172

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/End2End/App/Command/MainCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
class MainCommand extends Command
1313
{
14-
protected function configure()
14+
protected function configure(): void
1515
{
1616
$this
1717
->addOption('option1', null, InputOption::VALUE_NONE)

0 commit comments

Comments
 (0)