From 6c0455989916d0340770b652aa859c2c12b58f94 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Wed, 31 May 2023 12:03:53 +0000 Subject: [PATCH] fix getters/setters --- Controller/ApiBillController.php | 2 +- Controller/Controller.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Controller/ApiBillController.php b/Controller/ApiBillController.php index c482bd5..417b09c 100755 --- a/Controller/ApiBillController.php +++ b/Controller/ApiBillController.php @@ -271,7 +271,7 @@ final class ApiBillController extends Controller } } - $bill->setLanguage($billLanguage); + $bill->language = $billLanguage; $typeMapper = BillTypeMapper::get() ->with('l11n') diff --git a/Controller/Controller.php b/Controller/Controller.php index 86c389d..7e78db2 100755 --- a/Controller/Controller.php +++ b/Controller/Controller.php @@ -65,7 +65,7 @@ class Controller extends ModuleAbstract implements WebInterface * @var string[] * @since 1.0.0 */ - protected static array $providing = []; + public static array $providing = []; /** * Dependencies. @@ -73,5 +73,5 @@ class Controller extends ModuleAbstract implements WebInterface * @var string[] * @since 1.0.0 */ - protected static array $dependencies = []; + public static array $dependencies = []; }