From c90fa1fe047fbdc5317e4ec5cf65fd52b354f3f3 Mon Sep 17 00:00:00 2001 From: Jurj-Bogdan Date: Fri, 22 May 2026 14:10:59 +0300 Subject: [PATCH] minor phpstan fix Signed-off-by: Jurj-Bogdan --- src/Admin/src/Adapter/AuthenticationAdapter.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Admin/src/Adapter/AuthenticationAdapter.php b/src/Admin/src/Adapter/AuthenticationAdapter.php index 4de4540..b1ab6bf 100644 --- a/src/Admin/src/Adapter/AuthenticationAdapter.php +++ b/src/Admin/src/Adapter/AuthenticationAdapter.php @@ -76,8 +76,10 @@ public function authenticate(): Result /** Check for the authentication configuration */ $this->validateConfig(); + /** @var class-string $classString */ + $classString = $this->config['orm_default']['identity_class']; /** Get the identity class object */ - $repository = $this->entityManager->getRepository($this->config['orm_default']['identity_class']); + $repository = $this->entityManager->getRepository($classString); /** @var Admin $identityClass */ $identityClass = $repository->findOneBy([