X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/a532906fc0063a87cb16f9daa0b76adef5fb3e36..df3dc838441b9dcbebf69601cfd26fdf513f86a1:/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