Passed
Push — 5.0.0 ( 89bdb6...750121 )
by Fèvre
07:01
created
app/View/Components/Header.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
     /**
41 41
      * Get the view / contents that represent the component.
42 42
      */
43
-    public function render(): View|Closure|string
43
+    public function render(): View | Closure | string
44 44
     {
45 45
         return view('components.header');
46 46
     }
Please login to merge, or discard this patch.
app/View/Components/ListItem.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
     public string $uuid;
12 12
 
13 13
     public function __construct(
14
-        public object|array $item,
14
+        public object | array $item,
15 15
         public string $avatar = 'avatar',
16 16
         public string $value = 'name',
17 17
         public ?string $subValue = '',
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     /**
29 29
      * Get the view / contents that represent the component.
30 30
      */
31
-    public function render(): View|Closure|string
31
+    public function render(): View | Closure | string
32 32
     {
33 33
         return view('components.list-item');
34 34
     }
Please login to merge, or discard this patch.
app/View/Components/Choices.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
         public ?string $optionAvatar = 'avatar',
41 41
         public ?bool $valuesAsString = false,
42 42
         public ?string $height = 'max-h-64',
43
-        public Collection|array $options = new Collection(),
43
+        public Collection | array $options = new Collection(),
44 44
         public ?string $noResultText = 'No results found.',
45 45
 
46 46
         // Validations
@@ -95,12 +95,12 @@  discard block
 block discarded – undo
95 95
             return "'$value'";
96 96
         }
97 97
 
98
-        return is_numeric($value) && ! str($value)->startsWith('0') ? $value : "'$value'";
98
+        return is_numeric($value) && !str($value)->startsWith('0') ? $value : "'$value'";
99 99
     }
100 100
     /**
101 101
      * Get the view / contents that represent the component.
102 102
      */
103
-    public function render(): View|Closure|string
103
+    public function render(): View | Closure | string
104 104
     {
105 105
         return view('components.choices');
106 106
     }
Please login to merge, or discard this patch.
app/View/Components/Select.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
         public ?string $optionLabel = 'name',
27 27
         public ?string $optionClass = '',
28 28
         public ?string $optionStyle = '',
29
-        public Collection|array $options = new Collection(),
29
+        public Collection | array $options = new Collection(),
30 30
 
31 31
         // Slots
32 32
         public mixed $prepend = null,
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
     /**
54 54
      * Get the view / contents that represent the component.
55 55
      */
56
-    public function render(): View|Closure|string
56
+    public function render(): View | Closure | string
57 57
     {
58 58
         return view('components.select');
59 59
     }
Please login to merge, or discard this patch.
app/Observers/DiscussPostObserver.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,8 +12,8 @@
 block discarded – undo
12 12
 class DiscussPostObserver
13 13
 {
14 14
     /**
15
- * Handle the "creating" event.
16
- */
15
+     * Handle the "creating" event.
16
+     */
17 17
     public function creating(DiscussPost $discussPost): void
18 18
     {
19 19
         $discussPost->user_id = Auth::id();
Please login to merge, or discard this patch.
app/Livewire/Discuss/DeletePost.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
      *
62 62
      * @throws Throwable
63 63
      */
64
-    public function delete(): RedirectResponse|Redirector|null
64
+    public function delete(): RedirectResponse | Redirector | null
65 65
     {
66 66
         $this->authorize('delete', $this->discussPost);
67 67
 
Please login to merge, or discard this patch.
app/Livewire/Discuss/DeleteConversation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
      *
64 64
      * @throws Throwable
65 65
      */
66
-    public function delete(): Redirector|RedirectResponse|null
66
+    public function delete(): Redirector | RedirectResponse | null
67 67
     {
68 68
         $this->authorize('delete', $this->discussConversation);
69 69
 
Please login to merge, or discard this patch.
app/Livewire/Forms/DiscussConversationForm.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
      *
70 70
      * @var Collection|array
71 71
      */
72
-    public Collection|array $categoriesSearchable = [];
72
+    public Collection | array $categoriesSearchable = [];
73 73
 
74 74
     /**
75 75
      * Function to store the model.
Please login to merge, or discard this patch.