Completed
Push — master ( 59c665...0338ec )
by Maxence
01:16 queued 14s
created
lib/Service/ConfigService.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -230,7 +230,7 @@  discard block
 block discarded – undo
230 230
 			return $value;
231 231
 		}
232 232
 
233
-		if (($value = $this->config->getSystemValue(Application::APP_ID . '.' . $key, '')) !== '') {
233
+		if (($value = $this->config->getSystemValue(Application::APP_ID.'.'.$key, '')) !== '') {
234 234
 			return $value;
235 235
 		}
236 236
 
@@ -449,7 +449,7 @@  discard block
 block discarded – undo
449 449
 	 */
450 450
 	public function getTrustedDomains(): array {
451 451
 		return array_map(
452
-			function (string $address) {
452
+			function(string $address) {
453 453
 				return strtolower($address);
454 454
 			}, $this->config->getSystemValue('trusted_domains', [])
455 455
 		);
@@ -485,7 +485,7 @@  discard block
 block discarded – undo
485 485
 		}
486 486
 
487 487
 		if (array_key_exists('port', $loopback)) {
488
-			$loopbackCloudId = $loopback['host'] . ':' . $loopback['port'];
488
+			$loopbackCloudId = $loopback['host'].':'.$loopback['port'];
489 489
 		} else {
490 490
 			$loopbackCloudId = $loopback['host'];
491 491
 		}
@@ -524,13 +524,13 @@  discard block
 block discarded – undo
524 524
 			$path = $this->getAppValue(self::LOOPBACK_CLOUD_PATH);
525 525
 		}
526 526
 
527
-		$base = $scheme . '://' . $instance . $path;
527
+		$base = $scheme.'://'.$instance.$path;
528 528
 
529 529
 		if ($route === '') {
530 530
 			return $base;
531 531
 		}
532 532
 
533
-		return rtrim($base, '/') . $this->linkToRoute($route, $args);
533
+		return rtrim($base, '/').$this->linkToRoute($route, $args);
534 534
 	}
535 535
 
536 536
 
@@ -631,13 +631,13 @@  discard block
 block discarded – undo
631 631
 		$name = ($displayName) ? $federatedUser->getDisplayName() : $federatedUser->getUserId();
632 632
 
633 633
 		if ($federatedUser->getUserType() === Member::TYPE_MAIL) {
634
-			return $name . ' ' . $this->displayInstance(
634
+			return $name.' '.$this->displayInstance(
635 635
 					$federatedUser->getInstance(),
636 636
 					self::DISPLAY_PARENTHESIS
637 637
 				);
638 638
 		}
639 639
 
640
-		return $name . $this->displayInstance($federatedUser->getInstance(), self::DISPLAY_AT);
640
+		return $name.$this->displayInstance($federatedUser->getInstance(), self::DISPLAY_AT);
641 641
 	}
642 642
 
643 643
 	/**
@@ -653,9 +653,9 @@  discard block
 block discarded – undo
653 653
 
654 654
 		switch ($type) {
655 655
 			case self::DISPLAY_AT:
656
-				return '@' . $instance;
656
+				return '@'.$instance;
657 657
 			case self::DISPLAY_PARENTHESIS:
658
-				return '(' . $instance . ')';
658
+				return '('.$instance.')';
659 659
 		}
660 660
 
661 661
 		return $instance;
Please login to merge, or discard this patch.