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 @@ -42,7 +42,7 @@ A `ValidationResult` can be really simple:
4242``` php
4343<?php
4444
45- use Selective\Validation\ValidationException;
45+ use Selective\Validation\Exception\ ValidationException;
4646use Selective\Validation\ValidationResult;
4747
4848$validationResult = new ValidationResult();
@@ -68,7 +68,7 @@ Login example:
6868``` php
6969<?php
7070
71- use Selective\Validation\ValidationException;
71+ use Selective\Validation\Exception\ ValidationException;
7272use Selective\Validation\ValidationResult;
7373
7474// ...
@@ -102,6 +102,7 @@ because in PHP it's just an array from the request object.
102102
103103``` php
104104<?php
105+ use Selective\Validation\ValidationResult;
105106
106107// Fetch json data from request as array
107108$jsonData = (array)$request->getParsedBody();
You can’t perform that action at this time.
0 commit comments