From ded66ac8d1b571e69fe0b8eaa657600285e5a40f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Burnichon?= Date: Tue, 12 Apr 2016 17:46:29 +0200 Subject: [PATCH] Fix badly named class --- lib/Alchemy/Phrasea/Application/Root.php | 2 +- lib/Alchemy/Phrasea/Application/WebApplicationLoader.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Alchemy/Phrasea/Application/Root.php b/lib/Alchemy/Phrasea/Application/Root.php index 3f95d6fb9d..6b87fdfb2d 100644 --- a/lib/Alchemy/Phrasea/Application/Root.php +++ b/lib/Alchemy/Phrasea/Application/Root.php @@ -10,7 +10,7 @@ use Alchemy\Phrasea\Application; -return (new Application\WebBaseApplicationLoader())->buildApplication( +return (new Application\WebApplicationLoader())->buildApplication( isset($environment) ? $environment : Application::ENV_PROD, isset($forceDebug) ? $forceDebug : false ); diff --git a/lib/Alchemy/Phrasea/Application/WebApplicationLoader.php b/lib/Alchemy/Phrasea/Application/WebApplicationLoader.php index e0d7c838b8..a4ed4ef314 100644 --- a/lib/Alchemy/Phrasea/Application/WebApplicationLoader.php +++ b/lib/Alchemy/Phrasea/Application/WebApplicationLoader.php @@ -17,7 +17,7 @@ use Alchemy\Phrasea\Core\Event\Subscriber\JsonRequestSubscriber; use Alchemy\Phrasea\Core\Event\Subscriber\PhraseaExceptionHandlerSubscriber; use Alchemy\Phrasea\Core\Middleware\SetupMiddlewareProvider; -class WebBaseApplicationLoader extends BaseApplicationLoader +class WebApplicationLoader extends BaseApplicationLoader { protected function doPrePluginServiceRegistration(Application $app) {