From 417596439dcf9e3271f95e3a7904f6fe9710f528 Mon Sep 17 00:00:00 2001 From: Smile <4213509@qq.com> Date: Wed, 21 Oct 2020 12:52:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0guard=E5=8F=AF=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Exception/PermissionException.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Exception/PermissionException.php b/src/Exception/PermissionException.php index a8bf262..859a746 100755 --- a/src/Exception/PermissionException.php +++ b/src/Exception/PermissionException.php @@ -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) {