Skip to content

Commit baafcf8

Browse files
committed
Update docs
1 parent ef25988 commit baafcf8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/PHPFUI/ORM/Validator.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@
4646
* | domain | Valid domain | None |
4747
* | email | Valid email | None |
4848
* | ends_with | Field must end with (case sensitive) | comma separated list of strings |
49-
* | enum | MySQL enum value, case insensitive | comma separated list of identifiers<br>**Example:** enum:Get,Post,Put,Delete |
50-
* | enum_exact | MySQL enum value, case sensitive | comma separated list of identifiers<br>**Example:** enum:ssl,tls |
49+
* | enum | MySQL enum value, case insensitive | comma separated list of identifiers. **Example:** enum:Get,Post,Put,Delete |
50+
* | enum_exact | MySQL enum value, case sensitive | comma separated list of identifiers. **Example:** enum:ssl,tls |
5151
* | eq_field | Equal to field | field, required |
5252
* | equal | Value must be equal | value, required |
5353
* | gt_field | Greater Than field | field, required |
@@ -106,7 +106,7 @@
106106
*
107107
* If there are parameters, the first parameter must be a field of the current record. If this is the only parameter, or if the next parameter is also a field of the record, then the unique test is only done with the value of this field set to the current record's value.
108108
*
109-
* If the next parameter is not a field of the record, it is used as a value to match for the preceeding field for the unique test.
109+
* If the next parameter is not a field of the record, it is used as a value to match for the preceding field for the unique test.
110110
*
111111
* The above repeats until all parameters are exhausted.
112112
*
@@ -127,7 +127,7 @@
127127
* You can reverse any validator by preceding the validator with an ! (exclamation mark).
128128
*
129129
* **Example:**
130-
* !starts_with:/ will fail if the field starts with a /
130+
* !starts_with:/ will fail if the field starts with a / character
131131
*
132132
* ## OR Operator
133133
* You can validate a field if any one of the validators passes. Use the vertical bar (|) to separate validators. If one of the validators passes, then the the field is valid.

0 commit comments

Comments
 (0)