diff --git a/lib/CheckQuota.php b/lib/CheckQuota.php index e72446b..e6fc108 100644 --- a/lib/CheckQuota.php +++ b/lib/CheckQuota.php @@ -251,7 +251,7 @@ protected function shouldIssueWarning(string $userId, string $level): bool { return true; } - $days = (int) $this->config->getAppValue('quota_warning', 'repeat_warning', '7'); + $days = (int)$this->config->getAppValue('quota_warning', 'repeat_warning', '7'); if ($days <= 0) { return false; diff --git a/lib/Notification/Notifier.php b/lib/Notification/Notifier.php index 3f6de44..605a87c 100644 --- a/lib/Notification/Notifier.php +++ b/lib/Notification/Notifier.php @@ -115,7 +115,7 @@ public function prepare(INotification $notification, string $languageCode): INot $l = $this->l10nFactory->get(Application::APP_ID, $languageCode); $parameters = $notification->getSubjectParameters(); - $usage = (int) round($parameters['usage']); + $usage = (int)round($parameters['usage']); $usage = min(100, $usage); $notification->setParsedSubject( $l->t('You are using more than %d%% of your storage quota', [$usage])