diff --git a/src/Security/DI/SecurityExtension.php b/src/Security/DI/SecurityExtension.php index 82df548e..64e19c8c 100755 --- a/src/Security/DI/SecurityExtension.php +++ b/src/Security/DI/SecurityExtension.php @@ -169,9 +169,9 @@ public function getUserTypes() new UserType( 'Default user', \Venne\Security\DefaultType\User::class, - new Statement('@' . \Venne\Security\DefaultType\AdminFormService::getReflection()->getName()), - new Statement('@' . \Venne\Security\DefaultType\FrontFormService::getReflection()->getName()), - new Statement('@' . \Venne\Security\DefaultType\RegistrationFormService::getReflection()->getName()) + new Statement('@' . \Venne\Security\DefaultType\AdminFormService::class), + new Statement('@' . \Venne\Security\DefaultType\FrontFormService::class), + new Statement('@' . \Venne\Security\DefaultType\RegistrationFormService::class) ), ); }