diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2020-04-17 13:31:40 +0300 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2020-04-17 16:45:29 +0300 |
commit | 014d0ced6489858cb4acfc74edb5cf7948f4b0f1 (patch) | |
tree | c56402d515312a600fde2363df9bf56d5eac04b4 /lib/Controller | |
parent | 111346e29d957c631bc7f892f597e3f805932435 (diff) |
Fix tests
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'lib/Controller')
-rw-r--r-- | lib/Controller/PageController.php | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/lib/Controller/PageController.php b/lib/Controller/PageController.php index 4878e283..26599708 100644 --- a/lib/Controller/PageController.php +++ b/lib/Controller/PageController.php @@ -34,25 +34,26 @@ class PageController extends Controller { protected $appName; - // /** @var IInitialStateService */ - // private $initialStateService; + /** @var IConfig */ + private $config; + + /** @var IInitialStateService */ + private $initialStateService; /** @var IFactory */ private $languageFactory; - /** @var IConfig */ - private $config; - public function __construct(string $AppName, + public function __construct(string $appName, IRequest $request, IConfig $config, IInitialStateService $initialStateService, IFactory $languageFactory) { - parent::__construct($AppName, $request); + parent::__construct($appName, $request); - $this->appName = $AppName; + $this->appName = $appName; + $this->config = $config; $this->initialStateService = $initialStateService; $this->languageFactory = $languageFactory; - $this->config = $config; } /** |