Skip to content

Commit

Permalink
Update return types to match interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
MArmourTCCC authored and orediggerco committed May 7, 2024
1 parent ee83154 commit e1fc12c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Comcast/PhpLegalLicenses/Command/GenerateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ protected function configure()
* @param \Symfony\Component\Console\Input\InputInterface $input
* @param \Symfony\Component\Console\Output\OutputInterface $output
*
* @return void
* @return int
*/
protected function execute(InputInterface $input, OutputInterface $output)
protected function execute(InputInterface $input, OutputInterface $output): int
{
$this->hideVersion = $input->getOption('hide-version');
$this->toCsv = $input->getOption('csv');
Expand Down
4 changes: 2 additions & 2 deletions src/Comcast/PhpLegalLicenses/Command/ShowCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ protected function configure()
* @param \Symfony\Component\Console\Input\InputInterface $input
* @param \Symfony\Component\Console\Output\OutputInterface $output
*
* @return void
* @return int
*/
protected function execute(InputInterface $input, OutputInterface $output)
protected function execute(InputInterface $input, OutputInterface $output): int
{
$dependencies = $this->getDependencyList();
$this->outputDependencyLicenses($dependencies, $output);
Expand Down

0 comments on commit e1fc12c

Please sign in to comment.