X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/a532906fc0063a87cb16f9daa0b76adef5fb3e36..b9524b9b4eef9d21fe4af2ab2072afb62fd61ae9:/Command/CalendarCommand.php diff --git a/Command/CalendarCommand.php b/Command/CalendarCommand.php index 525aa67..2488f51 100644 --- a/Command/CalendarCommand.php +++ b/Command/CalendarCommand.php @@ -29,16 +29,19 @@ class CalendarCommand extends Command { * * @var ManagerRegistry */ - protected $doctrine; + protected ManagerRegistry $doctrine; - ///Locale - protected $locale; + ///Router + protected RouterInterface $router; ///Slugger - protected $slugger; + protected SluggerUtil $slugger; ///Translator instance - protected $translator; + protected TranslatorInterface $translator; + + ///Locale + protected $locale; ///Lifetime string protected $lifetime; @@ -109,7 +112,7 @@ class CalendarCommand extends Command { } ///Process the attribution - protected function execute(InputInterface $input, OutputInterface $output) { + protected function execute(InputInterface $input, OutputInterface $output): int { //Compute period $period = new \DatePeriod( //Start from last week