File tree Expand file tree Collapse file tree 6 files changed +10
-10
lines changed Expand file tree Collapse file tree 6 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 44
55use Exception ;
66use Illuminate \Auth \Access \AuthorizationException ;
7- use Illuminate \Support \Str ;
8- use InvalidArgumentException ;
97use Illuminate \Auth \AuthenticationException ;
10- use Illuminate \Validation \ValidationException ;
11- use SMartins \Exceptions \Response \ErrorHandledInterface ;
128use Illuminate \Database \Eloquent \ModelNotFoundException ;
9+ use Illuminate \Support \Str ;
10+ use Illuminate \Validation \ValidationException ;
11+ use InvalidArgumentException ;
1312use SMartins \Exceptions \JsonApi \Response as JsonApiResponse ;
1413use SMartins \Exceptions \Response \ErrorHandledCollectionInterface ;
14+ use SMartins \Exceptions \Response \ErrorHandledInterface ;
1515use Symfony \Component \HttpKernel \Exception \BadRequestHttpException ;
1616use Symfony \Component \HttpKernel \Exception \NotFoundHttpException ;
1717
Original file line number Diff line number Diff line change 22
33namespace SMartins \Exceptions \Handlers ;
44
5+ use Illuminate \Database \Eloquent \ModelNotFoundException ;
56use Illuminate \Support \Str ;
67use SMartins \Exceptions \JsonApi \Error ;
78use SMartins \Exceptions \JsonApi \Source ;
8- use Illuminate \Database \Eloquent \ModelNotFoundException ;
99
1010class ModelNotFoundHandler extends AbstractHandler
1111{
Original file line number Diff line number Diff line change 22
33namespace SMartins \Exceptions \Handlers ;
44
5+ use League \OAuth2 \Server \Exception \OAuthServerException ;
56use SMartins \Exceptions \JsonApi \Error ;
67use SMartins \Exceptions \JsonApi \Source ;
7- use League \OAuth2 \Server \Exception \OAuthServerException ;
88
99class OAuthServerHandler extends AbstractHandler
1010{
Original file line number Diff line number Diff line change 33namespace SMartins \Exceptions \Handlers ;
44
55use SMartins \Exceptions \JsonApi \Error ;
6- use SMartins \Exceptions \JsonApi \Source ;
76use SMartins \Exceptions \JsonApi \ErrorCollection ;
7+ use SMartins \Exceptions \JsonApi \Source ;
88
99class ValidationHandler extends AbstractHandler
1010{
Original file line number Diff line number Diff line change 33namespace SMartins \Exceptions \JsonApi ;
44
55use Illuminate \Contracts \Support \Arrayable ;
6- use SMartins \Exceptions \Traits \NotNullArrayable ;
7- use SMartins \Exceptions \Response \ErrorHandledInterface ;
86use SMartins \Exceptions \Response \ErrorHandledCollectionInterface ;
7+ use SMartins \Exceptions \Response \ErrorHandledInterface ;
8+ use SMartins \Exceptions \Traits \NotNullArrayable ;
99
1010class Error implements Arrayable, ErrorHandledInterface
1111{
Original file line number Diff line number Diff line change 33namespace SMartins \Exceptions \JsonApi ;
44
55use Illuminate \Support \Collection ;
6- use SMartins \Exceptions \Response \InvalidContentException ;
76use SMartins \Exceptions \Response \ErrorHandledCollectionInterface ;
7+ use SMartins \Exceptions \Response \InvalidContentException ;
88
99class ErrorCollection extends Collection implements ErrorHandledCollectionInterface
1010{
You can’t perform that action at this time.
0 commit comments