Passed
Push — 5.0.0 ( 746f48...fc989a )
by Fèvre
06:29
created
app/Livewire/Forms/DiscussConversationForm.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
      *
56 56
      * @var Collection|array
57 57
      */
58
-    public Collection|array $categoriesSearchable = [];
58
+    public Collection | array $categoriesSearchable = [];
59 59
 
60 60
     /**
61 61
      * The content of the post.
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.