Completed
Pull Request — master (#551)
by Maxence
02:16
created
lib/Service/ConfigService.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -261,7 +261,7 @@  discard block
 block discarded – undo
261 261
 		if ((!$this->isNonSSLLinksAllowed() || strpos($remote, 'http://') !== 0)
262 262
 			&& strpos($remote, 'https://') !== 0
263 263
 		) {
264
-			$remote = 'https://' . $remote;
264
+			$remote = 'https://'.$remote;
265 265
 		}
266 266
 
267 267
 		return rtrim($remote, '/');
@@ -531,7 +531,7 @@  discard block
 block discarded – undo
531 531
 
532 532
 			if ($type !== self::GS_MOCKUP) {
533 533
 				throw new GSStatusException(
534
-					'GS and lookup are not configured : ' . $lookup . ', ' . $enabled
534
+					'GS and lookup are not configured : '.$lookup.', '.$enabled
535 535
 				);
536 536
 			}
537 537
 		}
@@ -607,7 +607,7 @@  discard block
 block discarded – undo
607 607
 			}
608 608
 
609 609
 			if (array_key_exists('port', $frontal)) {
610
-				return $frontal['host'] . ':' . $frontal['port'];
610
+				return $frontal['host'].':'.$frontal['port'];
611 611
 			} else {
612 612
 				return $frontal['host'];
613 613
 			}
@@ -629,13 +629,13 @@  discard block
 block discarded – undo
629 629
 	 * @return string
630 630
 	 */
631 631
 	public function getFrontalPath(string $route = 'circles.Remote.appService', array $args = []): string {
632
-		$base = $this->getAppValue(self::FRONTAL_CLOUD_SCHEME) . '://' . $this->getFrontalInstance();
632
+		$base = $this->getAppValue(self::FRONTAL_CLOUD_SCHEME).'://'.$this->getFrontalInstance();
633 633
 
634 634
 		if ($route === '') {
635 635
 			return $base;
636 636
 		}
637 637
 
638
-		return $base . $this->urlGenerator->linkToRoute($route, $args);
638
+		return $base.$this->urlGenerator->linkToRoute($route, $args);
639 639
 	}
640 640
 
641 641
 	/**
@@ -738,7 +738,7 @@  discard block
 block discarded – undo
738 738
 			$ncBase = substr($ncBase, 0, -strlen($forcedPath));
739 739
 		}
740 740
 
741
-		return rtrim($ncBase, '/') . $link;
741
+		return rtrim($ncBase, '/').$link;
742 742
 	}
743 743
 
744 744
 }
Please login to merge, or discard this patch.