check(); } /** * Get the validation rules that apply to the request. * * @return array */ public function rules(): array { return [ 'pomo_start' => 'required|date_format:Y-m-d\TH:i', 'pomo_end' => 'required|date_format:Y-m-d\TH:i|after:pomo_start', 'notes' => 'nullable|string', ]; } }