Completed
Pull Request — master (#2050)
by
unknown
30s
created
lib/ShareByCircleProvider.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -274,7 +274,7 @@  discard block
 block discarded – undo
274 274
 			$initiatorEmail = $initiatorUser->getEMailAddress();
275 275
 			if ($initiatorEmail !== null) {
276 276
 				$message->setReplyTo([$initiatorEmail => $initiatorDisplayName]);
277
-				$emailTemplate->addFooter($instanceName . ($this->defaults->getSlogan() !== '' ? ' - ' . $this->defaults->getSlogan() : ''));
277
+				$emailTemplate->addFooter($instanceName.($this->defaults->getSlogan() !== '' ? ' - '.$this->defaults->getSlogan() : ''));
278 278
 			} else {
279 279
 				$emailTemplate->addFooter();
280 280
 			}
@@ -285,7 +285,7 @@  discard block
 block discarded – undo
285 285
 		$message->useTemplate($emailTemplate);
286 286
 		$failedRecipients = $this->mailer->send($message);
287 287
 		if (!empty($failedRecipients)) {
288
-			$this->logger->error('Share notification mail could not be sent to: ' . implode(', ', $failedRecipients));
288
+			$this->logger->error('Share notification mail could not be sent to: '.implode(', ', $failedRecipients));
289 289
 			return;
290 290
 		}
291 291
 	}
@@ -541,7 +541,7 @@  discard block
 block discarded – undo
541 541
 
542 542
 		return array_filter(
543 543
 			array_map(
544
-				function (ShareWrapper $wrapper) {
544
+				function(ShareWrapper $wrapper) {
545 545
 					return $wrapper->getShare($this->rootFolder, $this->userManager, $this->urlGenerator);
546 546
 				}, $wrappedShares
547 547
 			)
@@ -593,7 +593,7 @@  discard block
 block discarded – undo
593 593
 
594 594
 		return array_filter(
595 595
 			array_map(
596
-				function (ShareWrapper $wrapper) {
596
+				function(ShareWrapper $wrapper) {
597 597
 					return $wrapper->getShare($this->rootFolder, $this->userManager, $this->urlGenerator);
598 598
 				}, $wrappedShares
599 599
 			)
@@ -642,7 +642,7 @@  discard block
 block discarded – undo
642 642
 
643 643
 		return array_filter(
644 644
 			array_map(
645
-				function (ShareWrapper $wrapper) {
645
+				function(ShareWrapper $wrapper) {
646 646
 					return $wrapper->getShare(
647 647
 						$this->rootFolder, $this->userManager, $this->urlGenerator, true
648 648
 					);
@@ -673,7 +673,7 @@  discard block
 block discarded – undo
673 673
 
674 674
 		$share = $wrappedShare->getShare($this->rootFolder, $this->userManager, $this->urlGenerator);
675 675
 		if ($share->getPassword() !== '') {
676
-			$this->logger->notice('share is protected by a password, hash: ' . $share->getPassword());
676
+			$this->logger->notice('share is protected by a password, hash: '.$share->getPassword());
677 677
 		}
678 678
 
679 679
 		return $share;
@@ -783,7 +783,7 @@  discard block
 block discarded – undo
783 783
 							];
784 784
 						} else {
785 785
 							// we only store temp value, as token is unknown at this point
786
-							$remote[$member->getUserid() . '@' . $member->getInstance()] = [
786
+							$remote[$member->getUserid().'@'.$member->getInstance()] = [
787 787
 								'node_id' => $share->getFileSource(),
788 788
 								'shareId' => $share->getId(),
789 789
 								'memberId' => $member->getId(),
Please login to merge, or discard this patch.