Skip to content

Commit

Permalink
Fix(CommitCommand): Add psalm-suppress annotation
Browse files Browse the repository at this point in the history
- Add psalm-suppress annotation to CommitCommand class
- Suppress InvalidScalarArgument warning
  • Loading branch information
guanguans committed Feb 9, 2023
1 parent 8c9c540 commit bd5183e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/Commands/CommitCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ protected function configure()
]);
}

/**
* @psalm-suppress InvalidScalarArgument
*/
protected function initialize(InputInterface $input, OutputInterface $output)
{
$config = $this->option('config') and $this->configManager->replaceFrom($config);
Expand Down

0 comments on commit bd5183e

Please sign in to comment.