adapt BaseURL constructor

This commit is contained in:
Philipp Holzer 2023-02-19 11:24:13 +01:00
parent 3e0efc9c7c
commit f9f86e04ff
Signed by: nupplaPhil
GPG Key ID: 24A7501396EB5432
1 changed files with 2 additions and 4 deletions

View File

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