From 34512da2fbd18c3ebca7263e7d6416c08acd0c35 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Mon, 10 Jan 2022 13:21:12 +0100 Subject: [PATCH] Fixed indentation --- module/Core/src/ShortUrl/Helper/ShortUrlStringifier.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/module/Core/src/ShortUrl/Helper/ShortUrlStringifier.php b/module/Core/src/ShortUrl/Helper/ShortUrlStringifier.php index d238f2fc..3cc98786 100644 --- a/module/Core/src/ShortUrl/Helper/ShortUrlStringifier.php +++ b/module/Core/src/ShortUrl/Helper/ShortUrlStringifier.php @@ -18,9 +18,9 @@ class ShortUrlStringifier implements ShortUrlStringifierInterface public function stringify(ShortUrl $shortUrl): string { $uriWithoutShortCode = (new Uri())->withScheme($this->domainConfig['schema'] ?? 'http') - ->withHost($this->resolveDomain($shortUrl)) - ->withPath($this->basePath) - ->__toString(); + ->withHost($this->resolveDomain($shortUrl)) + ->withPath($this->basePath) + ->__toString(); // The short code needs to be appended to avoid it from being URL-encoded return sprintf('%s/%s', $uriWithoutShortCode, $shortUrl->getShortCode());