aboutsummaryrefslogtreecommitdiffstats
path: root/apps/encryption/lib/Controller/StatusController.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/encryption/lib/Controller/StatusController.php')
-rw-r--r--apps/encryption/lib/Controller/StatusController.php23
1 files changed, 6 insertions, 17 deletions
diff --git a/apps/encryption/lib/Controller/StatusController.php b/apps/encryption/lib/Controller/StatusController.php
index 5c6a950d0a3..341ad6bc49f 100644
--- a/apps/encryption/lib/Controller/StatusController.php
+++ b/apps/encryption/lib/Controller/StatusController.php
@@ -17,32 +17,21 @@ use OCP\IRequest;
class StatusController extends Controller {
- /** @var IL10N */
- private $l;
-
- /** @var Session */
- private $session;
-
- /** @var IManager */
- private $encryptionManager;
-
/**
* @param string $AppName
* @param IRequest $request
- * @param IL10N $l10n
+ * @param IL10N $l
* @param Session $session
* @param IManager $encryptionManager
*/
- public function __construct($AppName,
+ public function __construct(
+ $AppName,
IRequest $request,
- IL10N $l10n,
- Session $session,
- IManager $encryptionManager,
+ private IL10N $l,
+ private Session $session,
+ private IManager $encryptionManager,
) {
parent::__construct($AppName, $request);
- $this->l = $l10n;
- $this->session = $session;
- $this->encryptionManager = $encryptionManager;
}
/**