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:
369369<a id =" rule-default " ></a >
370370#### default/defaults
371371
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.
373374
374375For example if you have validation like this
375376
@@ -461,7 +462,7 @@ $validation = $validator->validate($inputs, [
461462]);
462463```
463464
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.
465466 Except for JDBC URL, currently it just check a valid JDBC scheme.
466467
467468<a id =" rule-ip " ></a >
You can’t perform that action at this time.
0 commit comments