@@ -225,7 +225,7 @@ |
||
225 | 225 | /** |
226 | 226 | * Add roles to form |
227 | 227 | * |
228 | - * @param Form $form The form in which to insert the roles |
|
228 | + * @param \Symfony\Component\Form\Form $form The form in which to insert the roles |
|
229 | 229 | * @param Group $group The entity to deal |
230 | 230 | * @return Form The form |
231 | 231 | */ |
@@ -229,7 +229,8 @@ |
||
229 | 229 | * @param Group $group The entity to deal |
230 | 230 | * @return Form The form |
231 | 231 | */ |
232 | - private function addRoles($form, $group) { |
|
232 | + private function addRoles($form, $group) |
|
233 | + { |
|
233 | 234 | $form->add('roles', 'choice', array( |
234 | 235 | 'choices' => $this->getExistingRoles(), |
235 | 236 | 'data' => $group->getRoles(), |
@@ -46,7 +46,7 @@ |
||
46 | 46 | 'entity', |
47 | 47 | array( |
48 | 48 | 'class' => 'AppBundle:FamilyLog', |
49 | - 'query_builder' => function (EntityRepository $er) { |
|
49 | + 'query_builder' => function(EntityRepository $er) { |
|
50 | 50 | return $er->createQueryBuilder('f') |
51 | 51 | ->orderBy('f.path', 'ASC'); |
52 | 52 | }, |
@@ -133,7 +133,7 @@ |
||
133 | 133 | ); |
134 | 134 | |
135 | 135 | return $return; |
136 | - } |
|
136 | + } |
|
137 | 137 | |
138 | 138 | /** |
139 | 139 | * Deletes a FamilyLog entity. |
@@ -46,7 +46,7 @@ |
||
46 | 46 | 'entity', |
47 | 47 | array( |
48 | 48 | 'class' => 'AppBundle:FamilyLog', |
49 | - 'query_builder' => function (EntityRepository $er) { |
|
49 | + 'query_builder' => function(EntityRepository $er) { |
|
50 | 50 | return $er->createQueryBuilder('f') |
51 | 51 | ->orderBy('f.path', 'ASC'); |
52 | 52 | }, |
@@ -133,7 +133,7 @@ |
||
133 | 133 | ); |
134 | 134 | |
135 | 135 | return $return; |
136 | - } |
|
136 | + } |
|
137 | 137 | |
138 | 138 | /** |
139 | 139 | * Deletes a FamilyLog entity. |