From 4b84a4a62ef8d7827b0b1b5710ec6e18b30b4686 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20FIDRY?= Date: Wed, 29 Nov 2023 00:57:46 +0100 Subject: [PATCH] remove dead code --- src/DependencyInjection/LeagueOAuth2ServerExtension.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/DependencyInjection/LeagueOAuth2ServerExtension.php b/src/DependencyInjection/LeagueOAuth2ServerExtension.php index 36a388a8..aaa8cadc 100644 --- a/src/DependencyInjection/LeagueOAuth2ServerExtension.php +++ b/src/DependencyInjection/LeagueOAuth2ServerExtension.php @@ -265,11 +265,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']);