aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Authentication/Notifications/Notifier.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Authentication/Notifications/Notifier.php')
-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..72326f5bb1c 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 $l10nFactory,
+ ) {
}
/**
@@ -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 {