Skip to content

Commit

Permalink
Declare return types to be compatible with composer 2.7+
Browse files Browse the repository at this point in the history
  • Loading branch information
Seldaek authored Feb 9, 2024
1 parent cee07b7 commit a39d2e8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class RequireCommerceCommand extends ExtendableRequireCommand
*
* @return void
*/
protected function configure()
protected function configure(): void
{
parent::configure();

Expand Down Expand Up @@ -154,7 +154,7 @@ protected function getFormattedHelp(): string
*
* @throws Exception
*/
protected function execute(InputInterface $input, OutputInterface $output)
protected function execute(InputInterface $input, OutputInterface $output): int
{
$this->console = new Console($this->getIO(), $input->getOption(self::INTERACTIVE_OPT));
$console = $this->console;
Expand Down

0 comments on commit a39d2e8

Please sign in to comment.