Skip to content

Commit

Permalink
dep: Allow Symfony 7 (#433)
Browse files Browse the repository at this point in the history
  • Loading branch information
jongotlin committed Jan 1, 2024
1 parent 73b7caf commit 14bd960
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
"nesbot/carbon": "^1.26.3 || ^2.0",
"predis/predis": "^1.1 || ^2.0",
"ramsey/uuid": "^3.7 || ^4.0",
"symfony/console": "^5.0 || ^6.0",
"symfony/event-dispatcher": "^5.0 || ^6.0",
"symfony/http-foundation": "^5.0.7 || ^6.0",
"symfony/mime": "^5.0.9 || ^6.0"
"symfony/console": "^5.0 || ^6.0 || ^7.0",
"symfony/event-dispatcher": "^5.0 || ^6.0 || ^7.0",
"symfony/http-foundation": "^5.0.7 || ^6.0 || ^7.0",
"symfony/mime": "^5.0.9 || ^6.0 || ^7.0"
},
"require-dev": {
"ext-pcntl": "*",
Expand Down
4 changes: 2 additions & 2 deletions src/Commands/ExpirationCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ protected function configure()
/**
* {@inheritDoc}
*/
protected function execute(InputInterface $input, OutputInterface $output)
protected function execute(InputInterface $input, OutputInterface $output): int
{
$output->writeln([
'<info>Cleaning server resources</info>',
Expand Down Expand Up @@ -71,6 +71,6 @@ protected function execute(InputInterface $input, OutputInterface $output)

$output->writeln('');

return 0;
return Command::SUCCESS;
}
}

0 comments on commit 14bd960

Please sign in to comment.