Skip to content

Commit

Permalink
fix for #444 (#446)
Browse files Browse the repository at this point in the history
  • Loading branch information
axelhahn authored Oct 22, 2024
1 parent 86b250a commit 25ba1e6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion libs/Console/ClearCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ protected function configure()
->setDescription('Clears the cache');
}

protected function execute(InputInterface $input, OutputInterface $output)
protected function execute(InputInterface $input, OutputInterface $output): int
{
$output->writeln("Clearing cache at '" . Cache::getDirectory() . "'");
Cache::clear();
Expand Down
2 changes: 1 addition & 1 deletion libs/Console/Generate.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ protected function prepareConfig($mode, InputInterface $input, OutputInterface $
return $builder;
}

protected function execute(InputInterface $input, OutputInterface $output)
protected function execute(InputInterface $input, OutputInterface $output): int
{
// When used as a default command,
// Symfony doesn't read the default parameters.
Expand Down
2 changes: 1 addition & 1 deletion libs/Console/Serve.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ protected function configure()
->addOption('port', null, InputOption::VALUE_REQUIRED, 'The port to serve on', 8085);
}

protected function execute(InputInterface $input, OutputInterface $output)
protected function execute(InputInterface $input, OutputInterface $output): int
{
$host = $input->getOption('host');
$port = $input->getOption('port');
Expand Down

0 comments on commit 25ba1e6

Please sign in to comment.