aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Avatar/AvatarManager.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Avatar/AvatarManager.php')
-rw-r--r--lib/private/Avatar/AvatarManager.php16
1 files changed, 3 insertions, 13 deletions
diff --git a/lib/private/Avatar/AvatarManager.php b/lib/private/Avatar/AvatarManager.php
index 04d3a721022..c54539b2cde 100644
--- a/lib/private/Avatar/AvatarManager.php
+++ b/lib/private/Avatar/AvatarManager.php
@@ -45,8 +45,8 @@ use OCP\IAvatar;
use OCP\IAvatarManager;
use OCP\IConfig;
use OCP\IL10N;
-use OCP\ILogger;
use OCP\IUserSession;
+use Psr\Log\LoggerInterface;
/**
* This class implements methods to access Avatar functionality
@@ -65,7 +65,7 @@ class AvatarManager implements IAvatarManager {
/** @var IL10N */
private $l;
- /** @var ILogger */
+ /** @var LoggerInterface */
private $logger;
/** @var IConfig */
@@ -77,22 +77,12 @@ class AvatarManager implements IAvatarManager {
/** @var KnownUserService */
private $knownUserService;
- /**
- * AvatarManager constructor.
- *
- * @param Manager $userManager
- * @param IAppData $appData
- * @param IL10N $l
- * @param ILogger $logger
- * @param IConfig $config
- * @param IUserSession $userSession
- */
public function __construct(
IUserSession $userSession,
Manager $userManager,
IAppData $appData,
IL10N $l,
- ILogger $logger,
+ LoggerInterface $logger,
IConfig $config,
IAccountManager $accountManager,
KnownUserService $knownUserService