Skip to content

Commit 76e21f9

Browse files
committed
Updated Comments in validate
1 parent 5279ff4 commit 76e21f9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/cbvalidation/models/Mixins.cfm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* @fields The fields to validate on the target. By default, it validates on all fields
77
* @constraints A structure of constraint rules or the name of the shared constraint rules to use for validation
88
* @locale The i18n locale to use for validation messages
9-
* @excludeFields The fields to exclude in the validation
9+
* @excludeFields The fields to exclude from the validation
1010
* @includeFields The fields to include in the validation
1111
*
1212
* @return cbvalidation.model.result.IValidationResult

modules/cbvalidation/models/ValidationManager.cfc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ component accessors="true" serialize="false" implements="IValidationManager" sin
8989
* @constraints.hint An optional shared constraints name or an actual structure of constraints to validate on.
9090
* @locale.hint An optional locale to use for i18n messages
9191
* @excludeFields.hint An optional list of fields to exclude from the validation.
92-
* @IncludeFields.hint An optional list of fields to exclude from the validation.
92+
* @IncludeFields.hint An optional list of fields to include in the validation.
9393
*/
9494
IValidationResult function validate(required any target, string fields="*", any constraints="", string locale="", string excludeFields="", string includeFields=""){
9595
var targetName = "";

0 commit comments

Comments
 (0)