diff options
author | Joas Schilling <coding@schilljs.com> | 2023-11-23 10:22:34 +0100 |
---|---|---|
committer | Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com> | 2023-11-23 10:36:13 +0100 |
commit | aa5f037af71c915424c6dcfd5ad2dc82797dc0d6 (patch) | |
tree | 843203cd1346158aab3515687e37a90e78c929e9 /apps/files_reminders | |
parent | 272719ed1cba6836ea0a597bb9767754eeb1e0d4 (diff) | |
download | nextcloud-server-aa5f037af71c915424c6dcfd5ad2dc82797dc0d6.tar.gz nextcloud-server-aa5f037af71c915424c6dcfd5ad2dc82797dc0d6.zip |
chore: apply changes from Nextcloud coding standards 1.1.1
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
Diffstat (limited to 'apps/files_reminders')
5 files changed, 10 insertions, 5 deletions
diff --git a/apps/files_reminders/lib/Listener/LoadAdditionalScriptsListener.php b/apps/files_reminders/lib/Listener/LoadAdditionalScriptsListener.php index bc3aa42ff6c..f95b3da3d61 100644 --- a/apps/files_reminders/lib/Listener/LoadAdditionalScriptsListener.php +++ b/apps/files_reminders/lib/Listener/LoadAdditionalScriptsListener.php @@ -36,7 +36,8 @@ use OCP\Util; class LoadAdditionalScriptsListener implements IEventListener { public function __construct( private IAppManager $appManager, - ) {} + ) { + } public function handle(Event $event): void { if (!($event instanceof LoadAdditionalScriptsEvent)) { diff --git a/apps/files_reminders/lib/Listener/NodeDeletedListener.php b/apps/files_reminders/lib/Listener/NodeDeletedListener.php index 88aed08bba8..944ce2cbe36 100644 --- a/apps/files_reminders/lib/Listener/NodeDeletedListener.php +++ b/apps/files_reminders/lib/Listener/NodeDeletedListener.php @@ -34,7 +34,8 @@ use OCP\Files\Events\Node\NodeDeletedEvent; class NodeDeletedListener implements IEventListener { public function __construct( private ReminderService $reminderService, - ) {} + ) { + } public function handle(Event $event): void { if (!($event instanceof NodeDeletedEvent)) { diff --git a/apps/files_reminders/lib/Listener/UserDeletedListener.php b/apps/files_reminders/lib/Listener/UserDeletedListener.php index b95102c1cc2..4e54a6d9946 100644 --- a/apps/files_reminders/lib/Listener/UserDeletedListener.php +++ b/apps/files_reminders/lib/Listener/UserDeletedListener.php @@ -34,7 +34,8 @@ use OCP\User\Events\UserDeletedEvent; class UserDeletedListener implements IEventListener { public function __construct( private ReminderService $reminderService, - ) {} + ) { + } public function handle(Event $event): void { if (!($event instanceof UserDeletedEvent)) { diff --git a/apps/files_reminders/lib/Notification/Notifier.php b/apps/files_reminders/lib/Notification/Notifier.php index ce46aafb86c..f7ffa0b4437 100644 --- a/apps/files_reminders/lib/Notification/Notifier.php +++ b/apps/files_reminders/lib/Notification/Notifier.php @@ -42,7 +42,8 @@ class Notifier implements INotifier { protected IFactory $l10nFactory, protected IURLGenerator $urlGenerator, protected IRootFolder $root, - ) {} + ) { + } public function getID(): string { return Application::APP_ID; diff --git a/apps/files_reminders/lib/Service/ReminderService.php b/apps/files_reminders/lib/Service/ReminderService.php index 4bfa943cb04..fabca65c45a 100644 --- a/apps/files_reminders/lib/Service/ReminderService.php +++ b/apps/files_reminders/lib/Service/ReminderService.php @@ -52,7 +52,8 @@ class ReminderService { protected ReminderMapper $reminderMapper, protected IRootFolder $root, protected LoggerInterface $logger, - ) {} + ) { + } /** * @throws DoesNotExistException |