]> Raphaƫl G. Git Repositories - packbundle/blobdiff - Resources/config/packages/rapsys_pack.yaml
Php 8.x constructor style
[packbundle] / Resources / config / packages / rapsys_pack.yaml
index 04565768030494451711af1da7e1610847388cb6..8aa86194ab15bcf6f4f7f74ab9e5e3c280c9a455 100644 (file)
@@ -24,7 +24,7 @@ services:
         public: true
     #Register facebook event subscriber
     Rapsys\PackBundle\Subscriber\FacebookSubscriber:
         public: true
     #Register facebook event subscriber
     Rapsys\PackBundle\Subscriber\FacebookSubscriber:
-        arguments: [ '@router', '%rapsys_air.locales%' ]
+        arguments: [ '@router', [] ]
         tags: [ 'kernel.event_subscriber' ]
     #Register intl util class alias
     Rapsys\PackBundle\Util\IntlUtil:
         tags: [ 'kernel.event_subscriber' ]
     #Register intl util class alias
     Rapsys\PackBundle\Util\IntlUtil:
@@ -69,6 +69,7 @@ services:
     Rapsys\PackBundle\Controller\MapController:
         arguments: [ '@service_container', '@rapsys_pack.map_util', '@rapsys_pack.slugger_util', '%kernel.project_dir%/var/cache', '%rapsys_pack.path%' ]
         tags: [ 'controller.service_arguments' ]
     Rapsys\PackBundle\Controller\MapController:
         arguments: [ '@service_container', '@rapsys_pack.map_util', '@rapsys_pack.slugger_util', '%kernel.project_dir%/var/cache', '%rapsys_pack.path%' ]
         tags: [ 'controller.service_arguments' ]
+    #Register captcha form type
     Rapsys\PackBundle\Form\CaptchaType:
         arguments: [ '@rapsys_pack.image_util', '@rapsys_pack.slugger_util', '@translator' ]
         tags: [ 'form.type' ]
     Rapsys\PackBundle\Form\CaptchaType:
         arguments: [ '@rapsys_pack.image_util', '@rapsys_pack.slugger_util', '@translator' ]
         tags: [ 'form.type' ]