jmontoyaa 7 anni fa
parent
commit
a152cc0afa
1 ha cambiato i file con 5 aggiunte e 6 eliminazioni
  1. 5 6
      src/CourseBundle/Resources/config/services.yml

+ 5 - 6
src/CourseBundle/Resources/config/services.yml

@@ -45,12 +45,11 @@ services:
     # Group voter, checks if a user has permissions to do actions
     # Group voter, checks if a user has permissions to do actions
     chamilo_course.security.authorization.voter.group_voter:
     chamilo_course.security.authorization.voter.group_voter:
         class: Chamilo\CoreBundle\Security\Authorization\Voter\GroupVoter
         class: Chamilo\CoreBundle\Security\Authorization\Voter\GroupVoter
-        arguments: [
-            '@doctrine.orm.entity_manager',
-            '@chamilo_core.entity.manager.course_manager',
-            '@chamilo_course.manager.group',
-            '@service_container'
-        ]
+        arguments:
+            - '@doctrine.orm.entity_manager'
+            - '@chamilo_core.entity.manager.course_manager'
+            - '@chamilo_course.manager.group'
+            - '@service_container'
         public: false
         public: false
         tags:
         tags:
             - {name: security.voter}
             - {name: security.voter}