aboutsummaryrefslogtreecommitdiffstats
path: root/core/Controller/JsController.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/Controller/JsController.php')
-rw-r--r--core/Controller/JsController.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/core/Controller/JsController.php b/core/Controller/JsController.php
index 6b3e7ff2ed2..8a361dae67f 100644
--- a/core/Controller/JsController.php
+++ b/core/Controller/JsController.php
@@ -45,13 +45,14 @@ use OCP\IRequest;
class JsController extends Controller {
protected IAppData $appData;
- protected ITimeFactory $timeFactory;
- public function __construct($appName, IRequest $request, Factory $appDataFactory, ITimeFactory $timeFactory) {
+ public function __construct(string $appName,
+ IRequest $request,
+ Factory $appDataFactory,
+ protected ITimeFactory $timeFactory) {
parent::__construct($appName, $request);
$this->appData = $appDataFactory->get('js');
- $this->timeFactory = $timeFactory;
}
/**