aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/Notification/Notifier.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/lib/Notification/Notifier.php')
-rw-r--r--apps/files_sharing/lib/Notification/Notifier.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_sharing/lib/Notification/Notifier.php b/apps/files_sharing/lib/Notification/Notifier.php
index 43f61258395..e4434ef0b37 100644
--- a/apps/files_sharing/lib/Notification/Notifier.php
+++ b/apps/files_sharing/lib/Notification/Notifier.php
@@ -67,9 +67,9 @@ class Notifier implements INotifier {
* @since 9.0.0
*/
public function prepare(INotification $notification, string $languageCode): INotification {
- if ($notification->getApp() !== 'files_sharing' ||
- ($notification->getSubject() !== 'expiresTomorrow' &&
- $notification->getObjectType() !== 'share')) {
+ if ($notification->getApp() !== 'files_sharing'
+ || ($notification->getSubject() !== 'expiresTomorrow'
+ && $notification->getObjectType() !== 'share')) {
throw new UnknownNotificationException('Unhandled app or subject');
}