Completed
Push — master ( ca47be...fc3067 )
by
unknown
23:02 queued 27s
created
apps/files_reminders/lib/SetupChecks/NeedNotificationsApp.php 1 patch
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -15,25 +15,25 @@
 block discarded – undo
15 15
 use OCP\SetupCheck\SetupResult;
16 16
 
17 17
 class NeedNotificationsApp implements ISetupCheck {
18
-	public function __construct(
19
-		private IAppManager $appManager,
20
-		private IL10N $l10n,
21
-	) {
22
-	}
23
-
24
-	public function getName(): string {
25
-		return $this->l10n->t('Files reminder');
26
-	}
27
-
28
-	public function getCategory(): string {
29
-		return 'system';
30
-	}
31
-
32
-	public function run(): SetupResult {
33
-		if ($this->appManager->isEnabledForAnyone('notifications')) {
34
-			return SetupResult::success($this->l10n->t('The "files_reminders" app can work properly.'));
35
-		} else {
36
-			return SetupResult::warning($this->l10n->t('The "files_reminders" app needs the notification app to work properly. You should either enable notifications or disable files_reminder.'));
37
-		}
38
-	}
18
+    public function __construct(
19
+        private IAppManager $appManager,
20
+        private IL10N $l10n,
21
+    ) {
22
+    }
23
+
24
+    public function getName(): string {
25
+        return $this->l10n->t('Files reminder');
26
+    }
27
+
28
+    public function getCategory(): string {
29
+        return 'system';
30
+    }
31
+
32
+    public function run(): SetupResult {
33
+        if ($this->appManager->isEnabledForAnyone('notifications')) {
34
+            return SetupResult::success($this->l10n->t('The "files_reminders" app can work properly.'));
35
+        } else {
36
+            return SetupResult::warning($this->l10n->t('The "files_reminders" app needs the notification app to work properly. You should either enable notifications or disable files_reminder.'));
37
+        }
38
+    }
39 39
 }
Please login to merge, or discard this patch.