File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ Deprecations
59
59
- Consolidated and deprecated ``ControllerResponse `` and ``FeatureResponse `` in favor of ``TestResponse ``.
60
60
- Deprecated ``Time::instance() ``, use ``Time::createFromInstance() `` instead (now accepts ``DateTimeInterface ``).
61
61
- Deprecated ``IncomingRequest::removeRelativeDirectory() ``, use ``URI::removeDotSegments() `` instead
62
- - Deprecated ``\API\ResponseTrait::failValidationError `` to use ``\API\ResponseTrait::failValidationErrors `` instead
62
+ - Deprecated ``\API\ResponseTrait::failValidationError() `` to use ``\API\ResponseTrait::failValidationErrors() `` instead
63
63
64
64
Bugs Fixed
65
65
----------
Original file line number Diff line number Diff line change 24
24
// Resource Not Found
25
25
$ this ->failNotFound ($ description );
26
26
27
- // Data did not validate
28
- $ this ->failValidationError ( $ description );
27
+ // Data was not validated
28
+ $ this ->failValidationErrors ( $ errors );
29
29
30
30
// Resource already exists
31
31
$ this ->failResourceExists ($ description );
You can’t perform that action at this time.
0 commit comments