From 4bc569d47ab733df48fa30c0d0a5af41845f0b38 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Wed, 31 May 2023 12:03:53 +0000 Subject: [PATCH] fix getters/setters --- Admin/Install/Application/QA/Application.php | 2 +- Controller/Controller.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Admin/Install/Application/QA/Application.php b/Admin/Install/Application/QA/Application.php index b80c531..b4871f5 100755 --- a/Admin/Install/Application/QA/Application.php +++ b/Admin/Install/Application/QA/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 QAView($this->app->l11nManager, $request, $response); diff --git a/Controller/Controller.php b/Controller/Controller.php index ae63253..4277758 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 = []; /** * Dependencies. @@ -72,5 +72,5 @@ class Controller extends ModuleAbstract * @var string[] * @since 1.0.0 */ - protected static array $dependencies = []; + public static array $dependencies = []; }