From f5bdf02695b3f1b7cf76fa3744a4eb84538d5120 Mon Sep 17 00:00:00 2001 From: Christopher Ng Date: Wed, 20 Oct 2021 00:17:22 +0000 Subject: Cleanup Signed-off-by: Christopher Ng --- lib/private/Profile/ProfileManager.php | 9 ++++----- 1 file 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); -- cgit v1.2.3