@@ -34,7 +34,7 @@ |
||
34 | 34 | { |
35 | 35 | $this->persistentObjectName = $class; |
36 | 36 | |
37 | - $count = $this->cache->get($key, function () { |
|
37 | + $count = $this->cache->get($key, function() { |
|
38 | 38 | return $this->countItems(); |
39 | 39 | }); |
40 | 40 |
@@ -48,7 +48,7 @@ |
||
48 | 48 | |
49 | 49 | $allUsers = $this->users->findBy([], ['id' => 'DESC'], $limit); |
50 | 50 | |
51 | - $usersAsPlainArrays = array_map(function (User $user) { |
|
51 | + $usersAsPlainArrays = array_map(function(User $user) { |
|
52 | 52 | return [ |
53 | 53 | $user->getId(), |
54 | 54 | $user->getFullName(), |
@@ -12,7 +12,6 @@ |
||
12 | 12 | |
13 | 13 | use App\Entity\User; |
14 | 14 | use Symfony\Component\Form\AbstractType; |
15 | -use Symfony\Component\Form\Extension\Core\Type\ChoiceType; |
|
16 | 15 | use Symfony\Component\Form\Extension\Core\Type\PasswordType; |
17 | 16 | use Symfony\Component\Form\FormBuilderInterface; |
18 | 17 | use Symfony\Component\OptionsResolver\OptionsResolver; |