Skip to content

Commit fa46568

Browse files
committed
Fix small inconsistency in README.md constant references
1 parent 15102c8 commit fa46568

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,9 @@ third argument to `Validator::validate()`, or can be provided as the third argum
188188
| `Constraint::CHECK_MODE_COERCE_TYPES` | Convert data types to match the schema where possible |
189189
| `Constraint::CHECK_MODE_APPLY_DEFAULTS` | Apply default values from the schema if not set |
190190
| `Constraint::CHECK_MODE_EXCEPTIONS` | Throw an exception immediately if validation fails |
191-
| `CHECK_MODE_EARLY_COERCE` | Apply type coercion as soon as possible |
191+
| `Constraint::CHECK_MODE_EARLY_COERCE` | Apply type coercion as soon as possible |
192192

193-
Please note that using `Constraint::CHECK_MODE_COERCE_TYPES` or `Constraint::CHECK_MODE_APPLY_DEFAULTS`
193+
Please note that using `CHECK_MODE_COERCE_TYPES` or `CHECK_MODE_APPLY_DEFAULTS`
194194
will modify your original data.
195195

196196
`CHECK_MODE_EARLY_COERCE` has no effect unless used in combination with `CHECK_MODE_COERCE_TYPES`. If

0 commit comments

Comments
 (0)