Skip to content

Commit

Permalink
增加guard可配置
Browse files Browse the repository at this point in the history
  • Loading branch information
lphkxd committed Oct 21, 2020
1 parent 7715842 commit 4175964
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Exception/PermissionException.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@
*/
namespace HPlus\Permission\Exception;

use Hyperf\Server\Exception\ServerException;
use Throwable;

class PermissionException extends ServerException
class PermissionException extends \Exception
{
public function __construct(int $code = 0, string $message = null, Throwable $previous = null)
{
Expand Down

0 comments on commit 4175964

Please sign in to comment.