diff options
author | Christopher Ng <chrng8@gmail.com> | 2021-10-20 00:17:22 +0000 |
---|---|---|
committer | Christopher Ng <chrng8@gmail.com> | 2021-10-20 00:17:22 +0000 |
commit | f5bdf02695b3f1b7cf76fa3744a4eb84538d5120 (patch) | |
tree | 1d6b4ae459bf2e90a75ccf5af6da3118479594b5 /lib/private/Profile | |
parent | 5155f2b0c551703616ef8b7deb1a5b939b1c2450 (diff) | |
download | nextcloud-server-f5bdf02695b3f1b7cf76fa3744a4eb84538d5120.tar.gz nextcloud-server-f5bdf02695b3f1b7cf76fa3744a4eb84538d5120.zip |
Cleanup
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'lib/private/Profile')
-rw-r--r-- | lib/private/Profile/ProfileManager.php | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/private/Profile/ProfileManager.php b/lib/private/Profile/ProfileManager.php index 6a38f4ae16d..3c975de9a34 100644 --- a/lib/private/Profile/ProfileManager.php +++ b/lib/private/Profile/ProfileManager.php @@ -27,7 +27,6 @@ declare(strict_types=1); namespace OC\Profile; use function Safe\usort; - use OC\AppFramework\Bootstrap\Coordinator; use OC\Core\Db\ProfileConfig; use OC\Core\Db\ProfileConfigMapper; @@ -46,9 +45,6 @@ use OCP\Profile\ILinkAction; use Psr\Container\ContainerInterface; use Psr\Log\LoggerInterface; -/** - * @inheritDoc - */ class ProfileManager { /** @var IAccountManager */ @@ -78,6 +74,9 @@ class ProfileManager { /** @var ILinkAction[] */ private $actions = []; + /** + * Array of account property actions + */ private const ACCOUNT_PROPERTY_ACTIONS = [ EmailAction::class, PhoneAction::class, @@ -233,7 +232,7 @@ class ProfileManager { } /** - * @inheritDoc + * Return the profile parameters */ public function getProfileParams(IUser $targetUser, ?IUser $visitingUser): array { $account = $this->accountManager->getAccount($targetUser); |