@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | public function sendShareNotification(IShare $share, $circle): void { |
46 | 46 | if ($this->config->getSystemValueBool('sharing.enable_share_mail', true)) { |
47 | 47 | $circleMembers = $circle->getMembers(); |
48 | - $link = $this->urlGenerator->linkToRouteAbsolute('files_sharing.Accept.accept', ['shareId' => 'ocinternal:' . $share->getId()]); |
|
48 | + $link = $this->urlGenerator->linkToRouteAbsolute('files_sharing.Accept.accept', ['shareId' => 'ocinternal:'.$share->getId()]); |
|
49 | 49 | foreach ($circleMembers as $member) { |
50 | 50 | if ($member->getUserType() != 1) { |
51 | 51 | continue; |
@@ -120,7 +120,7 @@ discard block |
||
120 | 120 | $initiatorEmail = $initiatorUser->getEMailAddress(); |
121 | 121 | if ($initiatorEmail !== null) { |
122 | 122 | $message->setReplyTo([$initiatorEmail => $initiatorDisplayName]); |
123 | - $emailTemplate->addFooter($instanceName . ($this->defaults->getSlogan() !== '' ? ' - ' . $this->defaults->getSlogan() : '')); |
|
123 | + $emailTemplate->addFooter($instanceName.($this->defaults->getSlogan() !== '' ? ' - '.$this->defaults->getSlogan() : '')); |
|
124 | 124 | } else { |
125 | 125 | $emailTemplate->addFooter(); |
126 | 126 | } |
@@ -133,7 +133,7 @@ discard block |
||
133 | 133 | $failedRecipients = $this->mailer->send($message); |
134 | 134 | |
135 | 135 | if (!empty($failedRecipients)) { |
136 | - $this->logger->error('Share notification mail could not be sent to: ' . implode(', ', $failedRecipients)); |
|
136 | + $this->logger->error('Share notification mail could not be sent to: '.implode(', ', $failedRecipients)); |
|
137 | 137 | return; |
138 | 138 | } |
139 | 139 | } |
@@ -285,7 +285,7 @@ |
||
285 | 285 | |
286 | 286 | private function createL10NFactory(): \OCP\L10N\IFactory { |
287 | 287 | $l10n = $this->createMock(\OCP\IL10N::class); |
288 | - $l10n->method('t')->willReturnCallback(function (string $text, array $params = []): string { |
|
288 | + $l10n->method('t')->willReturnCallback(function(string $text, array $params = []): string { |
|
289 | 289 | return vsprintf($text, $params); |
290 | 290 | }); |
291 | 291 |