@@ -12,7 +12,7 @@ |
||
| 12 | 12 | public function __invoke(ValidateKeyRequest $request, Language $language) |
| 13 | 13 | { |
| 14 | 14 | $keys = (new Collection($request->get('keys'))) |
| 15 | - ->mapWithKeys(fn ($key) => [$key => null]) |
|
| 15 | + ->mapWithKeys(fn($key) => [$key => null]) |
|
| 16 | 16 | ->toArray(); |
| 17 | 17 | |
| 18 | 18 | (new Updater($language, $keys))->addKey(); |
@@ -8,7 +8,7 @@ |
||
| 8 | 8 | { |
| 9 | 9 | public function __invoke() |
| 10 | 10 | { |
| 11 | - return Language::extra()->get()->map(fn ($locale) => [ |
|
| 11 | + return Language::extra()->get()->map(fn($locale) => [ |
|
| 12 | 12 | 'id' => $locale->id, |
| 13 | 13 | 'name' => $locale->display_name, |
| 14 | 14 | ]); |
@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | { |
| 55 | 55 | $user = $this->loggableUser($request); |
| 56 | 56 | |
| 57 | - if (! $user) { |
|
| 57 | + if (!$user) { |
|
| 58 | 58 | return false; |
| 59 | 59 | } |
| 60 | 60 | |
@@ -102,7 +102,7 @@ discard block |
||
| 102 | 102 | |
| 103 | 103 | // \Session::put('db', $value); |
| 104 | 104 | |
| 105 | - if (! optional($user)->currentPasswordIs($request->input('password'))) { |
|
| 105 | + if (!optional($user)->currentPasswordIs($request->input('password'))) { |
|
| 106 | 106 | return; |
| 107 | 107 | } |
| 108 | 108 | |