From f8c8ee6a12acb50bea5bfefb4a46a22ef8b74112 Mon Sep 17 00:00:00 2001 From: Simon Asika Date: Fri, 26 Jan 2024 12:34:30 +0800 Subject: [PATCH] use interface --- src/Access/AccessService.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Access/AccessService.php b/src/Access/AccessService.php index 42c34fd2..7404f38b 100644 --- a/src/Access/AccessService.php +++ b/src/Access/AccessService.php @@ -15,6 +15,7 @@ use Lyrasoft\Luna\User\UserEntityInterface; use Lyrasoft\Luna\User\UserService; use Windwalker\Authorization\Authorization; +use Windwalker\Authorization\AuthorizationInterface; use Windwalker\Core\Application\AppClient; use Windwalker\Core\Application\ApplicationInterface; use Windwalker\Core\Auth\AuthService; @@ -42,7 +43,7 @@ class AccessService public function __construct( protected ApplicationInterface $app, - protected Authorization $authorization, + protected AuthorizationInterface $authorization, protected ORM $orm, protected Session $session ) {