From 9812095cbe3be4ae3bc5dced341a7afee5bcf1ee Mon Sep 17 00:00:00 2001 From: Rich Shank Date: Fri, 6 Oct 2023 19:00:29 -0500 Subject: [PATCH] Change type in construct --- .../Interactor/AuthenticateUsernamePassword.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Authentication/Interactor/AuthenticateUsernamePassword.php b/src/Authentication/Interactor/AuthenticateUsernamePassword.php index 7f4f2dc..7246648 100644 --- a/src/Authentication/Interactor/AuthenticateUsernamePassword.php +++ b/src/Authentication/Interactor/AuthenticateUsernamePassword.php @@ -3,7 +3,7 @@ namespace App\Authentication\Interactor; -use App\Authentication\DbTableAuthAdapter; +use Laminas\Authentication\Adapter\DbTable\CallbackCheckAdapter; use App\Jwt\Interactor\CreateJwtToken; use Zestic\Contracts\Authentication\AuthenticationResponseInterface; use Zestic\Contracts\User\FindUserByIdInterface; @@ -11,7 +11,7 @@ final class AuthenticateUsernamePassword { public function __construct( - private DbTableAuthAdapter $authAdapter, + private CallbackCheckAdapter $authAdapter, private CreateJwtToken $createJwtToken, private FindUserByIdInterface $findUserById, private AuthenticationResponseInterface $authenticationResponse,