File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed
Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 1010 "type" : " cakephp-plugin" ,
1111 "require" : {
1212 "php" : " >=7.2" ,
13- "cakephp/core " : " ^4.0" ,
13+ "cakephp/http " : " ^4.0" ,
1414 "psr/http-client" : " ^1.0" ,
1515 "psr/http-message" : " ^1.0" ,
1616 "psr/http-server-handler" : " ^1.0" ,
Original file line number Diff line number Diff line change 1616 */
1717namespace Authorization \Exception ;
1818
19- use Authorization \Exception \Exception as BaseException ;
20-
2119/**
2220 * Exception raised when authorization is required.
2321 */
24- class AuthorizationRequiredException extends BaseException
22+ class AuthorizationRequiredException extends Exception
2523{
2624 /**
2725 * @inheritDoc
Original file line number Diff line number Diff line change 1616 */
1717namespace Authorization \Exception ;
1818
19- use Cake \Core \Exception \Exception as CakeException ;
19+ use Cake \Http \Exception \HttpException ;
2020
21- class Exception extends CakeException
21+ class Exception extends HttpException
2222{
2323}
You can’t perform that action at this time.
0 commit comments