Passed
Pull Request — master (#95)
by Fèvre
12:18 queued 05:51
created
app/View/Components/Form.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
     /**
24 24
      * Get the view / contents that represent the component.
25 25
      */
26
-    public function render(): View|Closure|string
26
+    public function render(): View | Closure | string
27 27
     {
28 28
         return view('components.form');
29 29
     }
Please login to merge, or discard this patch.
app/View/Components/Input.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
     /**
63 63
      * Get the view / contents that represent the component.
64 64
      */
65
-    public function render(): View|Closure|string
65
+    public function render(): View | Closure | string
66 66
     {
67 67
         return view('components.input');
68 68
     }
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.
app/View/Components/Checkbox.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     /**
40 40
      * Get the view / contents that represent the component.
41 41
      */
42
-    public function render(): View|Closure|string
42
+    public function render(): View | Closure | string
43 43
     {
44 44
         return view('components.checkbox');
45 45
     }
Please login to merge, or discard this patch.
app/View/Components/ThemeToggle.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     /**
19 19
      * Get the view / contents that represent the component.
20 20
      */
21
-    public function render(): View|Closure|string
21
+    public function render(): View | Closure | string
22 22
     {
23 23
         return view('components.theme-toggle');
24 24
     }
Please login to merge, or discard this patch.