Skip to content

Commit

Permalink
Fix smarty-gettext#18: return int in execute()
Browse files Browse the repository at this point in the history
Here is a simple fix that bypass the issue reported in smarty-gettext#18
  • Loading branch information
kumy authored Nov 11, 2020
1 parent 4193d14 commit 9247edb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Console/Command/Extract.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ protected function configure()
/**
* @param InputInterface $input
* @param OutputInterface $output
* @return void
* @return int
* @throws FileNotReadableException
* @throws FileNotWritableException
* @throws InvalidArgumentException
Expand Down Expand Up @@ -92,6 +92,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
}

$output->writeln('<info>Done</info>');
return 0;
}

/**
Expand Down

0 comments on commit 9247edb

Please sign in to comment.