@@ -62,7 +62,7 @@ |
||
62 | 62 | 'class' => 'select2', |
63 | 63 | ], |
64 | 64 | 'class' => UserRole::class, |
65 | - 'choice_label' => function (UserRole $userRole) { |
|
65 | + 'choice_label' => function(UserRole $userRole) { |
|
66 | 66 | return $this->translator->trans($userRole); |
67 | 67 | }, |
68 | 68 | 'required' => false, |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace SumoCoders\FrameworkMultiUserBundle\Entity; |
4 | 4 | |
5 | -use Doctrine\Common\Collections\ArrayCollection; |
|
6 | 5 | use Doctrine\Common\Collections\Collection; |
7 | 6 | use Doctrine\ORM\Mapping as ORM; |
8 | 7 | use Serializable; |
@@ -62,7 +62,7 @@ |
||
62 | 62 | 'class' => 'select2', |
63 | 63 | ], |
64 | 64 | 'class' => UserRole::class, |
65 | - 'choice_label' => function (UserRole $userRole) { |
|
65 | + 'choice_label' => function(UserRole $userRole) { |
|
66 | 66 | return $this->translator->trans($userRole); |
67 | 67 | }, |
68 | 68 | 'required' => false, |