user() !== null; } /** * @return array> */ public function rules(): array { return [ 'body' => ['required', 'string', 'max:2000'], 'attachments' => ['nullable', 'array', 'max:3'], 'attachments.*' => [new SupportAttachmentFile], ]; } }