Skip to content

Commit

Permalink
Merge branch '2.next'
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Dec 29, 2020
2 parents fa9626c + a2763dd commit 23f1818
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"type": "cakephp-plugin",
"require": {
"php": ">=7.2",
"cakephp/core": "^4.0",
"cakephp/http": "^4.0",
"psr/http-client": "^1.0",
"psr/http-message": "^1.0",
"psr/http-server-handler": "^1.0",
Expand Down
4 changes: 1 addition & 3 deletions src/Exception/AuthorizationRequiredException.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,10 @@
*/
namespace Authorization\Exception;

use Authorization\Exception\Exception as BaseException;

/**
* Exception raised when authorization is required.
*/
class AuthorizationRequiredException extends BaseException
class AuthorizationRequiredException extends Exception
{
/**
* @inheritDoc
Expand Down
4 changes: 2 additions & 2 deletions src/Exception/Exception.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
*/
namespace Authorization\Exception;

use Cake\Core\Exception\Exception as CakeException;
use Cake\Http\Exception\HttpException;

class Exception extends CakeException
class Exception extends HttpException
{
}

0 comments on commit 23f1818

Please sign in to comment.