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 = []; }