diff options
Diffstat (limited to 'apps/encryption/lib/Settings/Personal.php')
-rw-r--r-- | apps/encryption/lib/Settings/Personal.php | 25 |
1 files changed, 9 insertions, 16 deletions
diff --git a/apps/encryption/lib/Settings/Personal.php b/apps/encryption/lib/Settings/Personal.php index 93609acdd03..8814d3afb58 100644 --- a/apps/encryption/lib/Settings/Personal.php +++ b/apps/encryption/lib/Settings/Personal.php @@ -1,4 +1,5 @@ <?php + /** * SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors * SPDX-License-Identifier: AGPL-3.0-or-later @@ -14,20 +15,12 @@ use OCP\Settings\ISettings; class Personal implements ISettings { - /** @var IConfig */ - private $config; - /** @var Session */ - private $session; - /** @var Util */ - private $util; - /** @var IUserSession */ - private $userSession; - - public function __construct(IConfig $config, Session $session, Util $util, IUserSession $userSession) { - $this->config = $config; - $this->session = $session; - $this->util = $util; - $this->userSession = $userSession; + public function __construct( + private IConfig $config, + private Session $session, + private Util $util, + private IUserSession $userSession, + ) { } /** @@ -64,8 +57,8 @@ class Personal implements ISettings { /** * @return int whether the form should be rather on the top or bottom of - * the admin section. The forms are arranged in ascending order of the - * priority values. It is required to return a value between 0 and 100. + * the admin section. The forms are arranged in ascending order of the + * priority values. It is required to return a value between 0 and 100. * * E.g.: 70 * @since 9.1 |