Skip to content

Commit

Permalink
Merge pull request #52 from jklue/main
Browse files Browse the repository at this point in the history
Add return type declarations
  • Loading branch information
freekmurze authored Jun 7, 2024
2 parents 0817fcb + df31a77 commit 6be3db1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Commands/BuildCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ protected function configure()
->setDescription('Build the Ray Phar');
}

protected function execute(InputInterface $input, OutputInterface $output)
protected function execute(InputInterface $input, OutputInterface $output): int
{
$output->writeln('Building phars...');

Expand Down
2 changes: 1 addition & 1 deletion src/Commands/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ protected function configure()
->addOption('ini', null, InputOption::VALUE_REQUIRED, 'The full path to the PHP ini that should be updated');
}

protected function execute(InputInterface $input, OutputInterface $output)
protected function execute(InputInterface $input, OutputInterface $output): int
{
$output->writeln('');
$output->writeln(' ⚡️ Ray is a wonderful desktop application that will let you');
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/UninstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ protected function configure()
->addOption('ini', null, InputOption::VALUE_REQUIRED, 'The full path to the PHP ini that should be updated');
}

protected function execute(InputInterface $input, OutputInterface $output)
protected function execute(InputInterface $input, OutputInterface $output): int
{
$ini = new PhpIni(
$this->findPhpIniPath($input, $output)
Expand Down

0 comments on commit 6be3db1

Please sign in to comment.