mission->state_id == MissionStates::START_MISSION->value; } /** * Get the validation rules that apply to the request. * * @return array */ public function rules(): array { return [ 'time' => 'required|date', 'end_km' => 'required', ]; } }