fix getters/setters

This commit is contained in:
Dennis Eichhorn 2023-05-31 12:03:54 +00:00
parent 90d4bed874
commit 0928f51993
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

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