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