You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-11Lines changed: 15 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -45,6 +45,8 @@ if ($validator->isValid()) {
45
45
}
46
46
```
47
47
48
+
If you are validating multiple things then you should call `$$validator->reset();` between calls to `$validator->validate()`. See https://github.com/justinrainbow/json-schema/issues/385
49
+
48
50
### Type coercion
49
51
50
52
If you're validating data passed to your application via HTTP, you can cast strings and booleans to
0 commit comments