check(); } /** * Get the validation rules that apply to the request. * * @return array|string> */ public function rules(): array { return [ 'title' => ['required', 'string', 'min:3', 'max:50'], 'content' => ['required', 'string', new WysiwygLength()], ]; } }