From 0928f51993bf6f057790cb738dad3831aba4977d Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Wed, 31 May 2023 12:03:54 +0000 Subject: [PATCH] fix getters/setters --- Admin/Install/Application/Shop/Application.php | 2 +- Controller/Controller.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Admin/Install/Application/Shop/Application.php b/Admin/Install/Application/Shop/Application.php index 65dc327..d329560 100755 --- a/Admin/Install/Application/Shop/Application.php +++ b/Admin/Install/Application/Shop/Application.php @@ -166,7 +166,7 @@ final class Application } if (!\in_array($response->header->l11n->language, $this->config['language'])) { - $response->header->l11n->setLanguage($this->app->l11nServer->getLanguage()); + $response->header->l11n->setLanguage($this->app->l11nServer->language); } $pageView = new ShopView($this->app->l11nManager, $request, $response); diff --git a/Controller/Controller.php b/Controller/Controller.php index b8914ab..bf9a912 100755 --- a/Controller/Controller.php +++ b/Controller/Controller.php @@ -64,7 +64,7 @@ class Controller extends ModuleAbstract * @var string[] * @since 1.0.0 */ - protected static array $providing = [ + public static array $providing = [ ]; /** @@ -73,5 +73,5 @@ class Controller extends ModuleAbstract * @var string[] * @since 1.0.0 */ - protected static array $dependencies = []; + public static array $dependencies = []; }