Skip to content

Commit 827c2b3

Browse files
matijabobanorediggerco
authored andcommitted
(style) - Removed int return type hint in execute()
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.
1 parent 5f241d8 commit 827c2b3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Comcast/PhpLegalLicenses/Command/GenerateCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ protected function configure()
3434
*
3535
* @return void
3636
*/
37-
protected function execute(InputInterface $input, OutputInterface $output): int
37+
protected function execute(InputInterface $input, OutputInterface $output)
3838
{
3939
$this->hideVersion = $input->getOption('hide-version');
4040
$dependencies = $this->getDependencyList();

src/Comcast/PhpLegalLicenses/Command/ShowCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ protected function configure()
2727
*
2828
* @return void
2929
*/
30-
protected function execute(InputInterface $input, OutputInterface $output): int
30+
protected function execute(InputInterface $input, OutputInterface $output)
3131
{
3232
$dependencies = $this->getDependencyList();
3333
$this->outputDependencyLicenses($dependencies, $output);

0 commit comments

Comments
 (0)