@@ -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 | |
@@ -4,6 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | require_once dirname(__DIR__).'/vendor/autoload_runtime.php'; |
| 6 | 6 | |
| 7 | -return function (array $context) { |
|
| 7 | +return function(array $context) { |
|
| 8 | 8 | return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']); |
| 9 | 9 | }; |
@@ -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->getProfile()->getFullName(), |