From f9f86e04ffdba3074b1d4d399678e9f1c26ba11e Mon Sep 17 00:00:00 2001 From: Philipp Date: Sun, 19 Feb 2023 11:24:13 +0100 Subject: [PATCH] adapt BaseURL constructor --- src/App/BaseURL.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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); } /**