@@ -124,9 +124,9 @@ discard block |
||
124 | 124 | |
125 | 125 | protected function setIcon(IEvent $event, string $icon, string $app = 'files') { |
126 | 126 | if ($this->activityManager->getRequirePNG()) { |
127 | - $event->setIcon($this->url->getAbsoluteURL($this->url->imagePath($app, $icon . '.png'))); |
|
127 | + $event->setIcon($this->url->getAbsoluteURL($this->url->imagePath($app, $icon.'.png'))); |
|
128 | 128 | } else { |
129 | - $event->setIcon($this->url->getAbsoluteURL($this->url->imagePath($app, $icon . '.svg'))); |
|
129 | + $event->setIcon($this->url->getAbsoluteURL($this->url->imagePath($app, $icon.'.svg'))); |
|
130 | 130 | } |
131 | 131 | } |
132 | 132 | |
@@ -245,7 +245,7 @@ discard block |
||
245 | 245 | } |
246 | 246 | |
247 | 247 | if ($this->fileIsEncrypted) { |
248 | - $event->setSubject($event->getSubject() . '_enc', $event->getSubjectParameters()); |
|
248 | + $event->setSubject($event->getSubject().'_enc', $event->getSubjectParameters()); |
|
249 | 249 | } |
250 | 250 | |
251 | 251 | if (!isset($parsedParameters['user'])) { |
@@ -272,7 +272,7 @@ discard block |
||
272 | 272 | protected function setSubjects(IEvent $event, $subject, array $parameters) { |
273 | 273 | $placeholders = $replacements = []; |
274 | 274 | foreach ($parameters as $placeholder => $parameter) { |
275 | - $placeholders[] = '{' . $placeholder . '}'; |
|
275 | + $placeholders[] = '{'.$placeholder.'}'; |
|
276 | 276 | if ($parameter['type'] === 'file') { |
277 | 277 | $replacements[] = $parameter['path']; |
278 | 278 | } else { |
@@ -538,7 +538,7 @@ discard block |
||
538 | 538 | $lowerSearch = strtolower($search); |
539 | 539 | foreach ($cloudIds as $cloudId) { |
540 | 540 | if (strtolower($cloudId) === $lowerSearch) { |
541 | - $this->displayNames[$search] = $contact['FN'] . " ($cloudId)"; |
|
541 | + $this->displayNames[$search] = $contact['FN']." ($cloudId)"; |
|
542 | 542 | return $this->displayNames[$search]; |
543 | 543 | } |
544 | 544 | } |
@@ -125,7 +125,7 @@ discard block |
||
125 | 125 | protected function setSubjects(IEvent $event, $subject, array $parameters) { |
126 | 126 | $placeholders = $replacements = []; |
127 | 127 | foreach ($parameters as $placeholder => $parameter) { |
128 | - $placeholders[] = '{' . $placeholder . '}'; |
|
128 | + $placeholders[] = '{'.$placeholder.'}'; |
|
129 | 129 | if ($parameter['type'] === 'file') { |
130 | 130 | $replacements[] = $parameter['path']; |
131 | 131 | } else { |
@@ -218,7 +218,7 @@ discard block |
||
218 | 218 | $lowerSearch = strtolower($search); |
219 | 219 | foreach ($cloudIds as $cloudId) { |
220 | 220 | if (strtolower($cloudId) === $lowerSearch) { |
221 | - $this->displayNames[$search] = $contact['FN'] . " ($cloudId)"; |
|
221 | + $this->displayNames[$search] = $contact['FN']." ($cloudId)"; |
|
222 | 222 | return $this->displayNames[$search]; |
223 | 223 | } |
224 | 224 | } |