> */ public function rules(): array { return [ 'from' => ['sometimes', 'date_format:Y-m-d'], 'to' => ['sometimes', 'date_format:Y-m-d', 'after_or_equal:from'], 'client' => ['sometimes', 'in:all,web,mobile'], 'account_type' => ['sometimes', 'in:all,user,guest'], ]; } }