@@ -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(), |