diff --git a/src/DependencyInjection/LeagueOAuth2ServerExtension.php b/src/DependencyInjection/LeagueOAuth2ServerExtension.php index 1afb2b3c..d7f30bca 100644 --- a/src/DependencyInjection/LeagueOAuth2ServerExtension.php +++ b/src/DependencyInjection/LeagueOAuth2ServerExtension.php @@ -256,11 +256,6 @@ private function configurePersistence(LoaderInterface $loader, ContainerBuilder } } - private function isDoctrinePersistenceEnabled(array $config): bool - { - return 'doctrine' === $this->getPersistenceMethod($config); - } - private function getPersistenceMethod(array $config): ?string { $persistenceMethod = key($config['persistence']);