diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2020-04-09 11:25:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-09 11:25:38 +0200 |
commit | 813bdc1ce8a45039fa17aac12bd078466a0034d0 (patch) | |
tree | a2ea40c4afc7f4c188d008d9850e795e60ae020d /apps/comments | |
parent | 21b7e510102514d85558b1863759c20171c15e28 (diff) | |
parent | 2fbad1ed72bc9ef591a6f35558eb02e7b76ffd1b (diff) | |
download | nextcloud-server-813bdc1ce8a45039fa17aac12bd078466a0034d0.tar.gz nextcloud-server-813bdc1ce8a45039fa17aac12bd078466a0034d0.zip |
Merge pull request #20375 from nextcloud/techdebt/fix-array-indent-style
Fix (array) indent style to always use one tab
Diffstat (limited to 'apps/comments')
-rw-r--r-- | apps/comments/lib/Activity/Provider.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/comments/lib/Activity/Provider.php b/apps/comments/lib/Activity/Provider.php index 763e2d036d4..a637d4ca6b3 100644 --- a/apps/comments/lib/Activity/Provider.php +++ b/apps/comments/lib/Activity/Provider.php @@ -146,17 +146,17 @@ class Provider implements IProvider { if ($event->getSubject() === 'add_comment_subject') { if ($subjectParameters['actor'] === $this->activityManager->getCurrentUserId()) { $event->setParsedSubject($this->l->t('You commented on %1$s', [ - $subjectParameters['filePath'], - ])) + $subjectParameters['filePath'], + ])) ->setRichSubject($this->l->t('You commented on {file}'), [ 'file' => $this->generateFileParameter($subjectParameters['fileId'], $subjectParameters['filePath']), ]); } else { $author = $this->generateUserParameter($subjectParameters['actor']); $event->setParsedSubject($this->l->t('%1$s commented on %2$s', [ - $author['name'], - $subjectParameters['filePath'], - ])) + $author['name'], + $subjectParameters['filePath'], + ])) ->setRichSubject($this->l->t('{author} commented on {file}'), [ 'author' => $author, 'file' => $this->generateFileParameter($subjectParameters['fileId'], $subjectParameters['filePath']), |