]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Command/CalendarCommand.php
Set synchronized as not nullable
[airbundle] / Command / CalendarCommand.php
index 525aa670eb7bd4259042f35db3b943217cf92c51..2488f51d3840262a512c2c6a54abd0cdffa9c770 100644 (file)
@@ -29,16 +29,19 @@ class CalendarCommand extends Command {
         *
         * @var ManagerRegistry
         */
         *
         * @var ManagerRegistry
         */
-       protected $doctrine;
+       protected ManagerRegistry $doctrine;
 
 
-       ///Locale
-       protected $locale;
+       ///Router
+       protected RouterInterface $router;
 
        ///Slugger
 
        ///Slugger
-       protected $slugger;
+       protected SluggerUtil $slugger;
 
        ///Translator instance
 
        ///Translator instance
-       protected $translator;
+       protected TranslatorInterface $translator;
+
+       ///Locale
+       protected $locale;
 
        ///Lifetime string
        protected $lifetime;
 
        ///Lifetime string
        protected $lifetime;
@@ -109,7 +112,7 @@ class CalendarCommand extends Command {
        }
 
        ///Process the attribution
        }
 
        ///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
                //Compute period
                $period = new \DatePeriod(
                        //Start from last week