From 832d41e5ec0054aba1026e35a2db1507cfc2f92f Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Fri, 13 Sep 2024 12:45:17 +0200 Subject: [PATCH] Update apps/settings/lib/SetupChecks/CheckServerResponseTrait.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Ferdinand Thiessen --- apps/settings/lib/SetupChecks/CheckServerResponseTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/settings/lib/SetupChecks/CheckServerResponseTrait.php b/apps/settings/lib/SetupChecks/CheckServerResponseTrait.php index 9a71518e09d1c..3080829cb00c4 100644 --- a/apps/settings/lib/SetupChecks/CheckServerResponseTrait.php +++ b/apps/settings/lib/SetupChecks/CheckServerResponseTrait.php @@ -88,7 +88,7 @@ protected function getTestUrls(string $url, bool $isRootRequest = false): array /** * Strip a trailing slash and remove the webroot if requested. * @param string $url The URL to normalize. Should be an absolute URL containing scheme, host and optionally web-root. - * @param string $removeWebroot If set the web-root is removed from the URL and an absolute URL with only the scheme and host (optional port) is returned + * @param bool $removeWebroot If set the web-root is removed from the URL and an absolute URL with only the scheme and host (optional port) is returned */ protected function normalizeUrl(string $url, bool $removeWebroot): string { if ($removeWebroot) {