mirror of
https://github.com/shlinkio/shlink.git
synced 2025-02-16 18:24:56 -06:00
Fixed indentation
This commit is contained in:
parent
5b3c6f7752
commit
34512da2fb
@ -18,9 +18,9 @@ class ShortUrlStringifier implements ShortUrlStringifierInterface
|
|||||||
public function stringify(ShortUrl $shortUrl): string
|
public function stringify(ShortUrl $shortUrl): string
|
||||||
{
|
{
|
||||||
$uriWithoutShortCode = (new Uri())->withScheme($this->domainConfig['schema'] ?? 'http')
|
$uriWithoutShortCode = (new Uri())->withScheme($this->domainConfig['schema'] ?? 'http')
|
||||||
->withHost($this->resolveDomain($shortUrl))
|
->withHost($this->resolveDomain($shortUrl))
|
||||||
->withPath($this->basePath)
|
->withPath($this->basePath)
|
||||||
->__toString();
|
->__toString();
|
||||||
|
|
||||||
// The short code needs to be appended to avoid it from being URL-encoded
|
// The short code needs to be appended to avoid it from being URL-encoded
|
||||||
return sprintf('%s/%s', $uriWithoutShortCode, $shortUrl->getShortCode());
|
return sprintf('%s/%s', $uriWithoutShortCode, $shortUrl->getShortCode());
|
||||||
|
Loading…
Reference in New Issue
Block a user