]> Raphaël G. Git Repositories - airbundle/commitdiff
Strict types
authorRaphaël Gertz <git@rapsys.eu>
Thu, 1 Feb 2024 03:44:07 +0000 (04:44 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Thu, 1 Feb 2024 03:44:07 +0000 (04:44 +0100)
Add locale member

Command/CalendarCommand.php

index 525aa670eb7bd4259042f35db3b943217cf92c51..fb0cd029b944af6b81cf629abd12c22ce08a945e 100644 (file)
@@ -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;