@@ -276,7 +276,7 @@ discard block |
||
276 | 276 | $initiatorEmail = $initiatorUser->getEMailAddress(); |
277 | 277 | if ($initiatorEmail !== null) { |
278 | 278 | $message->setReplyTo([$initiatorEmail => $initiatorDisplayName]); |
279 | - $emailTemplate->addFooter($instanceName . ($this->defaults->getSlogan() !== '' ? ' - ' . $this->defaults->getSlogan() : '')); |
|
279 | + $emailTemplate->addFooter($instanceName.($this->defaults->getSlogan() !== '' ? ' - '.$this->defaults->getSlogan() : '')); |
|
280 | 280 | } else { |
281 | 281 | $emailTemplate->addFooter(); |
282 | 282 | } |
@@ -289,7 +289,7 @@ discard block |
||
289 | 289 | $failedRecipients = $this->mailer->send($message); |
290 | 290 | |
291 | 291 | if (!empty($failedRecipients)) { |
292 | - $this->logger->error('Share notification mail could not be sent to: ' . implode(', ', $failedRecipients)); |
|
292 | + $this->logger->error('Share notification mail could not be sent to: '.implode(', ', $failedRecipients)); |
|
293 | 293 | return; |
294 | 294 | } |
295 | 295 | } |
@@ -545,7 +545,7 @@ discard block |
||
545 | 545 | |
546 | 546 | return array_filter( |
547 | 547 | array_map( |
548 | - function (ShareWrapper $wrapper) { |
|
548 | + function(ShareWrapper $wrapper) { |
|
549 | 549 | return $wrapper->getShare($this->rootFolder, $this->userManager, $this->urlGenerator); |
550 | 550 | }, $wrappedShares |
551 | 551 | ) |
@@ -597,7 +597,7 @@ discard block |
||
597 | 597 | |
598 | 598 | return array_filter( |
599 | 599 | array_map( |
600 | - function (ShareWrapper $wrapper) { |
|
600 | + function(ShareWrapper $wrapper) { |
|
601 | 601 | return $wrapper->getShare($this->rootFolder, $this->userManager, $this->urlGenerator); |
602 | 602 | }, $wrappedShares |
603 | 603 | ) |
@@ -646,7 +646,7 @@ discard block |
||
646 | 646 | |
647 | 647 | return array_filter( |
648 | 648 | array_map( |
649 | - function (ShareWrapper $wrapper) { |
|
649 | + function(ShareWrapper $wrapper) { |
|
650 | 650 | return $wrapper->getShare( |
651 | 651 | $this->rootFolder, $this->userManager, $this->urlGenerator, true |
652 | 652 | ); |
@@ -677,7 +677,7 @@ discard block |
||
677 | 677 | |
678 | 678 | $share = $wrappedShare->getShare($this->rootFolder, $this->userManager, $this->urlGenerator); |
679 | 679 | if ($share->getPassword() !== '') { |
680 | - $this->logger->notice('share is protected by a password, hash: ' . $share->getPassword()); |
|
680 | + $this->logger->notice('share is protected by a password, hash: '.$share->getPassword()); |
|
681 | 681 | } |
682 | 682 | |
683 | 683 | return $share; |
@@ -787,7 +787,7 @@ discard block |
||
787 | 787 | ]; |
788 | 788 | } else { |
789 | 789 | // we only store temp value, as token is unknown at this point |
790 | - $remote[$member->getUserid() . '@' . $member->getInstance()] = [ |
|
790 | + $remote[$member->getUserid().'@'.$member->getInstance()] = [ |
|
791 | 791 | 'node_id' => $share->getFileSource(), |
792 | 792 | 'shareId' => $share->getId(), |
793 | 793 | 'memberId' => $member->getId(), |