diff options
Diffstat (limited to 'apps/twofactor_backupcodes/lib/Notifications/Notifier.php')
-rw-r--r-- | apps/twofactor_backupcodes/lib/Notifications/Notifier.php | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/apps/twofactor_backupcodes/lib/Notifications/Notifier.php b/apps/twofactor_backupcodes/lib/Notifications/Notifier.php index ec24a59641f..e8144f52a56 100644 --- a/apps/twofactor_backupcodes/lib/Notifications/Notifier.php +++ b/apps/twofactor_backupcodes/lib/Notifications/Notifier.php @@ -16,15 +16,10 @@ use OCP\Notification\UnknownNotificationException; class Notifier implements INotifier { - /** @var IFactory */ - private $factory; - - /** @var IURLGenerator */ - private $url; - - public function __construct(IFactory $factory, IURLGenerator $url) { - $this->factory = $factory; - $this->url = $url; + public function __construct( + private IFactory $factory, + private IURLGenerator $url, + ) { } /** |