File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -369,7 +369,8 @@ Here are some example definitions and explanations:
369
369
<a id =" rule-default " ></a >
370
370
#### default/defaults
371
371
372
- This is special rule that doesn't validate anything. It just set default value to your attribute.
372
+ This is special rule that doesn't validate anything.
373
+ It just set default value to your attribute if that attribute is empty or not present.
373
374
374
375
For example if you have validation like this
375
376
@@ -461,7 +462,7 @@ $validation = $validator->validate($inputs, [
461
462
]);
462
463
```
463
464
464
- > For commmon URL scheme and mailto, we combine ` FILTER_VALIDATE_URL ` to validate URL format and ` preg_match ` to validate it's scheme.
465
+ > For common URL scheme and mailto, we combine ` FILTER_VALIDATE_URL ` to validate URL format and ` preg_match ` to validate it's scheme.
465
466
Except for JDBC URL, currently it just check a valid JDBC scheme.
466
467
467
468
<a id =" rule-ip " ></a >
You can’t perform that action at this time.
0 commit comments