mirror of
https://github.com/Karaka-Management/oms-Shop.git
synced 2026-02-16 17:58:42 +00:00
fix getters/setters
This commit is contained in:
parent
b87ccce07e
commit
fc11f5115e
|
|
@ -166,7 +166,7 @@ final class Application
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!\in_array($response->header->l11n->language, $this->config['language'])) {
|
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);
|
$pageView = new ShopView($this->app->l11nManager, $request, $response);
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
||||||
* @var string[]
|
* @var string[]
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
protected static array $providing = [
|
public static array $providing = [
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -75,5 +75,5 @@ class Controller extends ModuleAbstract implements WebInterface
|
||||||
* @var string[]
|
* @var string[]
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
protected static array $dependencies = [];
|
public static array $dependencies = [];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user