bump symfony to 5.4.21
adapt to the new EventDispatcher API - Symfony\Component\EventDispatcher => Symfony\Contracts\EventDispatcher - dispatch() arguments swap - execute() must return int
This commit is contained in:
committed by
Frédéric Guillot
parent
bb4b547ffe
commit
bd7f3d219d
@@ -23,7 +23,7 @@ class JobCommand extends BaseCommand
|
||||
;
|
||||
}
|
||||
|
||||
protected function execute(InputInterface $input, OutputInterface $output)
|
||||
protected function execute(InputInterface $input, OutputInterface $output): int
|
||||
{
|
||||
$payload = fgets(STDIN);
|
||||
|
||||
@@ -31,5 +31,6 @@ class JobCommand extends BaseCommand
|
||||
$job->unserialize($payload);
|
||||
|
||||
JobHandler::getInstance($this->container)->executeJob($job);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user