diff options
author | Joas Schilling <coding@schilljs.com> | 2021-04-16 14:26:43 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-04-27 14:34:32 +0200 |
commit | 56ae87c281d2f54b23f98acf0e138d8e72196a06 (patch) | |
tree | d875702c4eb0901bcf6d3e23570a05ba5c397954 /lib/private/Avatar/Avatar.php | |
parent | bf1c875425e7fdf5ffd3c233ddf1f567428b4168 (diff) | |
download | nextcloud-server-56ae87c281d2f54b23f98acf0e138d8e72196a06.tar.gz nextcloud-server-56ae87c281d2f54b23f98acf0e138d8e72196a06.zip |
Less ILogger
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/Avatar/Avatar.php')
-rw-r--r-- | lib/private/Avatar/Avatar.php | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/lib/private/Avatar/Avatar.php b/lib/private/Avatar/Avatar.php index f716c567c79..bd40766afcb 100644 --- a/lib/private/Avatar/Avatar.php +++ b/lib/private/Avatar/Avatar.php @@ -43,14 +43,14 @@ use OC\Color; use OC_Image; use OCP\Files\NotFoundException; use OCP\IAvatar; -use OCP\ILogger; +use Psr\Log\LoggerInterface; /** * This class gets and sets users avatars. */ abstract class Avatar implements IAvatar { - /** @var ILogger */ + /** @var LoggerInterface */ protected $logger; /** @@ -69,12 +69,7 @@ abstract class Avatar implements IAvatar { <text x="50%" y="350" style="font-weight:normal;font-size:280px;font-family:\'Noto Sans\';text-anchor:middle;fill:#fff">{letter}</text> </svg>'; - /** - * The base avatar constructor. - * - * @param ILogger $logger The logger - */ - public function __construct(ILogger $logger) { + public function __construct(LoggerInterface $logger) { $this->logger = $logger; } |