@@ -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(), |
@@ -23,7 +23,7 @@ |
||
23 | 23 | { |
24 | 24 | $this->persistentObjectName = $class; |
25 | 25 | |
26 | - $count = $this->cache->get($key, fn () => $this->countItems()); |
|
26 | + $count = $this->cache->get($key, fn() => $this->countItems()); |
|
27 | 27 | |
28 | 28 | return (int) $count; |
29 | 29 | } |