From 4bc821edd95a6b71dd99f75632f432d5ccf2853f Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 13 Oct 2020 16:33:53 +0200 Subject: PSR logger for accounts Signed-off-by: Joas Schilling --- lib/private/Accounts/AccountManager.php | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'lib/private/Accounts/AccountManager.php') diff --git a/lib/private/Accounts/AccountManager.php b/lib/private/Accounts/AccountManager.php index 1f23e7e33a3..d18555d296c 100644 --- a/lib/private/Accounts/AccountManager.php +++ b/lib/private/Accounts/AccountManager.php @@ -35,8 +35,8 @@ use OCP\Accounts\IAccount; use OCP\Accounts\IAccountManager; use OCP\BackgroundJob\IJobList; use OCP\IDBConnection; -use OCP\ILogger; use OCP\IUser; +use Psr\Log\LoggerInterface; use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Component\EventDispatcher\GenericEvent; use function json_decode; @@ -64,20 +64,13 @@ class AccountManager implements IAccountManager { /** @var IJobList */ private $jobList; - /** @var ILogger */ + /** @var LoggerInterface */ private $logger; - /** - * AccountManager constructor. - * - * @param IDBConnection $connection - * @param EventDispatcherInterface $eventDispatcher - * @param IJobList $jobList - */ public function __construct(IDBConnection $connection, EventDispatcherInterface $eventDispatcher, IJobList $jobList, - ILogger $logger) { + LoggerInterface $logger) { $this->connection = $connection; $this->eventDispatcher = $eventDispatcher; $this->jobList = $jobList; -- cgit v1.2.3