Skip to content

Commit

Permalink
Add void type to MainCommand::configure
Browse files Browse the repository at this point in the history
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.
```
  • Loading branch information
ruudk committed Jun 7, 2023
1 parent b7da815 commit cc9c172
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/End2End/App/Command/MainCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

class MainCommand extends Command
{
protected function configure()
protected function configure(): void
{
$this
->addOption('option1', null, InputOption::VALUE_NONE)
Expand Down

0 comments on commit cc9c172

Please sign in to comment.