Passed
Push — master ( 51edae...d29a9b )
by Curtis
11:52 queued 05:54
created
app/Http/Controllers/enso/localisation/Json/AddKey.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
app/Http/Controllers/enso/localisation/Json/Index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
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
         ]);
Please login to merge, or discard this patch.
app/Http/Controllers/Auth/LoginController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.