Skip to content

Commit

Permalink
(style) - Removed int return type hint in execute()
Browse files Browse the repository at this point in the history
This commit removes the int return type hint in lien with PR
feedback comments noting that some users are still using PHP 5.6
and the type hint introduction would be a breakign change.
  • Loading branch information
matijaboban authored and orediggerco committed Jan 22, 2020
1 parent 5f241d8 commit 827c2b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Comcast/PhpLegalLicenses/Command/GenerateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ protected function configure()
*
* @return void
*/
protected function execute(InputInterface $input, OutputInterface $output): int
protected function execute(InputInterface $input, OutputInterface $output)
{
$this->hideVersion = $input->getOption('hide-version');
$dependencies = $this->getDependencyList();
Expand Down
2 changes: 1 addition & 1 deletion src/Comcast/PhpLegalLicenses/Command/ShowCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ protected function configure()
*
* @return void
*/
protected function execute(InputInterface $input, OutputInterface $output): int
protected function execute(InputInterface $input, OutputInterface $output)
{
$dependencies = $this->getDependencyList();
$this->outputDependencyLicenses($dependencies, $output);
Expand Down

0 comments on commit 827c2b3

Please sign in to comment.