Skip to content

Commit

Permalink
API Update return type to match Symfony 7 (#89)
Browse files Browse the repository at this point in the history
We have determined that this exception to our definition of public API is acceptable, as the likelihood of someone overriding methods in this repository is very low, and this change will allow for a greater range of installations for longer.

Co-authored-by: nlighteneddesign <[email protected]>
  • Loading branch information
GuySartorelli and nlighteneddesign authored Feb 19, 2025
1 parent 09d284a commit a327132
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Console/VendorExposeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function configure()
$this->setHelp('This command will update all resources for all installed modules using the given method');
}

public function execute(InputInterface $input, OutputInterface $output)
public function execute(InputInterface $input, OutputInterface $output): int
{
$io = new ConsoleIO($input, $output, $this->getHelperSet());

Expand All @@ -55,7 +55,7 @@ public function execute(InputInterface $input, OutputInterface $output)
// Success
$io->write("All modules updated!");
}

return 0;
}

Expand Down

0 comments on commit a327132

Please sign in to comment.