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); } /**