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
@@ -15,7 +15,7 @@ class ProjectDailyStatsCalculationCommand extends BaseCommand
|
||||
->setDescription('Calculate daily statistics for all projects');
|
||||
}
|
||||
|
||||
protected function execute(InputInterface $input, OutputInterface $output)
|
||||
protected function execute(InputInterface $input, OutputInterface $output): int
|
||||
{
|
||||
$projects = $this->projectModel->getAllByStatus(ProjectModel::ACTIVE);
|
||||
|
||||
@@ -24,5 +24,6 @@ class ProjectDailyStatsCalculationCommand extends BaseCommand
|
||||
$this->projectDailyColumnStatsModel->updateTotals($project['id'], date('Y-m-d'));
|
||||
$this->projectDailyStatsModel->updateTotals($project['id'], date('Y-m-d'));
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user