X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/blobdiff_plain/a532906fc0063a87cb16f9daa0b76adef5fb3e36..9759014d2a2430ed3e8cd12ebe46e71885d63c14:/Command/CalendarCommand.php?ds=inline 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