fix getters/setters

This commit is contained in:
Dennis Eichhorn 2023-05-31 12:03:54 +00:00
parent b87ccce07e
commit fc11f5115e
2 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -66,7 +66,7 @@ class Controller extends ModuleAbstract implements WebInterface
* @var string[]
* @since 1.0.0
*/
protected static array $providing = [
public static array $providing = [
];
/**
@ -75,5 +75,5 @@ class Controller extends ModuleAbstract implements WebInterface
* @var string[]
* @since 1.0.0
*/
protected static array $dependencies = [];
public static array $dependencies = [];
}