Skip to content

Commit 60b82cb

Browse files
committed
Add missing comma
1 parent 6b13592 commit 60b82cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/development/services/model/building-your-own.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ Validation rules are added using the same format as the [Validation Service](dev
195195
You can also create your own local validation rules. These one-off rules can be added directly to the model class by creating a public method whose name starts with `validate`. The method will be treated as a [custom validation rule](development/services/validation.md#custom-rules). On validation it will receive the property name, current value, rule parameters, and the rule object. The method should return `TRUE` on success, and an error string or language key on failure:
196196

197197
protected static $_validation_rules = array(
198-
'even_number' => 'validateMultipleOf[2]'
198+
'even_number' => 'validateMultipleOf[2]',
199199
'decade' => 'validateMultipleOf[10]'
200200
);
201201

0 commit comments

Comments
 (0)