adapt BaseURL constructor

This commit is contained in:
Philipp 2023-02-19 11:24:13 +01:00
parent 3e0efc9c7c
commit f9f86e04ff
No known key found for this signature in database
GPG key ID: 24A7501396EB5432

View file

@ -44,11 +44,9 @@ class BaseURL extends Uri implements UriInterface
$url = ServerRequest::getUriFromGlobals() $url = ServerRequest::getUriFromGlobals()
->withQuery('') ->withQuery('')
->withPath($this->determineURLPath($server)); ->withPath($this->determineURLPath($server));
parent::__construct((string)$url);
} else {
parent::__construct($url);
} }
parent::__construct($url);
} }
/** /**