Passed
Push — 5.0.0 ( 9fcb89...47cf5a )
by Fèvre
05:30
created
app/Http/Controllers/Auth/LoginController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@
 block discarded – undo
137 137
      *
138 138
      * @return RedirectResponse|JsonResponse
139 139
      */
140
-    public function logout(Request $request): RedirectResponse|JsonResponse
140
+    public function logout(Request $request): RedirectResponse | JsonResponse
141 141
     {
142 142
         $this->guard()->logout();
143 143
 
Please login to merge, or discard this patch.
app/View/Components/Button.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
     /**
46 46
      * Get the view / contents that represent the component.
47 47
      */
48
-    public function render(): View|Closure|string
48
+    public function render(): View | Closure | string
49 49
     {
50 50
         return view('components.button');
51 51
     }
Please login to merge, or discard this patch.
app/View/Components/Password.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -41,12 +41,12 @@  discard block
 block discarded – undo
41 41
         $this->uuid = md5(serialize($this));
42 42
 
43 43
         // Cannot use a left icon when password toggle should be shown on the left side.
44
-        if (($this->icon && ! $this->right) && ! $this->onlyPassword) {
44
+        if (($this->icon && !$this->right) && !$this->onlyPassword) {
45 45
             throw new Exception("Cannot use `icon` without providing `right` or `onlyPassword`.");
46 46
         }
47 47
 
48 48
         // Cannot use a right icon when password toggle should be shown on the right side.
49
-        if (($this->iconRight && $this->right) && ! $this->onlyPassword) {
49
+        if (($this->iconRight && $this->right) && !$this->onlyPassword) {
50 50
             throw new Exception("Cannot use `iconRight` when providing `right` and not providing `onlyPassword`.");
51 51
         }
52 52
     }
@@ -63,18 +63,18 @@  discard block
 block discarded – undo
63 63
 
64 64
     public function placeToggleLeft(): bool
65 65
     {
66
-        return (! $this->icon && ! $this->right) && ! $this->onlyPassword;
66
+        return (!$this->icon && !$this->right) && !$this->onlyPassword;
67 67
     }
68 68
 
69 69
     public function placeToggleRight(): bool
70 70
     {
71
-        return (! $this->iconRight && $this->right) && ! $this->onlyPassword;
71
+        return (!$this->iconRight && $this->right) && !$this->onlyPassword;
72 72
     }
73 73
 
74 74
     /**
75 75
      * Get the view / contents that represent the component.
76 76
      */
77
-    public function render(): View|Closure|string
77
+    public function render(): View | Closure | string
78 78
     {
79 79
         return view('components.password');
80 80
     }
Please login to merge, or discard this patch.