From: Philipp Date: Sun, 19 Feb 2023 10:24:13 +0000 (+0100) Subject: adapt BaseURL constructor X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f9f86e04ffdba3074b1d4d399678e9f1c26ba11e;p=friendica.git adapt BaseURL constructor --- diff --git a/src/App/BaseURL.php b/src/App/BaseURL.php index 8c046fda3e..4030306849 100644 --- a/src/App/BaseURL.php +++ b/src/App/BaseURL.php @@ -44,11 +44,9 @@ class BaseURL extends Uri implements UriInterface $url = ServerRequest::getUriFromGlobals() ->withQuery('') ->withPath($this->determineURLPath($server)); - - parent::__construct((string)$url); - } else { - parent::__construct($url); } + + parent::__construct($url); } /**