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:
42
42
``` php
43
43
<?php
44
44
45
- use Selective\Validation\ValidationException;
45
+ use Selective\Validation\Exception\ ValidationException;
46
46
use Selective\Validation\ValidationResult;
47
47
48
48
$validationResult = new ValidationResult();
@@ -68,7 +68,7 @@ Login example:
68
68
``` php
69
69
<?php
70
70
71
- use Selective\Validation\ValidationException;
71
+ use Selective\Validation\Exception\ ValidationException;
72
72
use Selective\Validation\ValidationResult;
73
73
74
74
// ...
@@ -102,6 +102,7 @@ because in PHP it's just an array from the request object.
102
102
103
103
``` php
104
104
<?php
105
+ use Selective\Validation\ValidationResult;
105
106
106
107
// Fetch json data from request as array
107
108
$jsonData = (array)$request->getParsedBody();
You can’t perform that action at this time.
0 commit comments