aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Authentication/Notifications
diff options
context:
space:
mode:
authorGit'Fellow <12234510+solracsf@users.noreply.github.com>2025-01-21 22:52:12 +0100
committerGit'Fellow <12234510+solracsf@users.noreply.github.com>2025-01-22 16:59:12 +0100
commit3c208955241d2608d50eee355852bf21b7f33933 (patch)
tree6f9199322b0ee711828e657e58209d6b794e6159 /lib/private/Authentication/Notifications
parent250549cd031c6b62fd5728c531fed2bdc219e565 (diff)
downloadnextcloud-server-authPropertyPromotion.tar.gz
nextcloud-server-authPropertyPromotion.zip
refactor(authentication): Use constructor property promotionauthPropertyPromotion
fix: error
Diffstat (limited to 'lib/private/Authentication/Notifications')
-rw-r--r--lib/private/Authentication/Notifications/Notifier.php9
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/private/Authentication/Notifications/Notifier.php b/lib/private/Authentication/Notifications/Notifier.php
index a81e385d8b1..d57aa273095 100644
--- a/lib/private/Authentication/Notifications/Notifier.php
+++ b/lib/private/Authentication/Notifications/Notifier.php
@@ -14,11 +14,10 @@ use OCP\Notification\INotifier;
use OCP\Notification\UnknownNotificationException;
class Notifier implements INotifier {
- /** @var IL10nFactory */
- private $factory;
- public function __construct(IL10nFactory $l10nFactory) {
- $this->factory = $l10nFactory;
+ public function __construct(
+ private IL10nFactory $factory,
+ ) {
}
/**
@@ -59,7 +58,6 @@ class Notifier implements INotifier {
/**
* Identifier of the notifier, only use [a-z0-9_]
*
- * @return string
* @since 17.0.0
*/
public function getID(): string {
@@ -69,7 +67,6 @@ class Notifier implements INotifier {
/**
* Human readable name describing the notifier
*
- * @return string
* @since 17.0.0
*/
public function getName(): string {