Passed
Push — master ( e981ac...a0bb2c )
by Adam
18:18 queued 08:21
created
app/Http/Requests/Forum/PostRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@
 block discarded – undo
119 119
 
120 120
     public function withValidator(Validator $validator)
121 121
     {
122
-        $shouldValidatePoll = fn () => count(array_filter($this->input('poll.items.*.text', []))) >= 1;
122
+        $shouldValidatePoll = fn() => count(array_filter($this->input('poll.items.*.text', []))) >= 1;
123 123
 
124 124
         $validator->sometimes('poll.items', ['min:2'], $shouldValidatePoll);
125 125
         $validator->sometimes('poll.items.*.text', ['required', 'string', 'max:200'], $shouldValidatePoll);
Please login to merge, or discard this patch.