Update BaseURL.php

Fix PHP-CS
This commit is contained in:
Philipp 2025-05-03 21:39:58 +02:00 committed by GitHub
parent fb8cc06ce2
commit 0f7c739470
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -42,8 +42,7 @@ class BaseURL extends Uri implements UriInterface
/* Relative script path to the web server root /* Relative script path to the web server root
* Not all of those $_SERVER properties can be present, so we do by inverse priority order * Not all of those $_SERVER properties can be present, so we do by inverse priority order
*/ */
$relativeScriptPath = $relativeScriptPath = ($server['REDIRECT_URL'] ?? '') ?:
($server['REDIRECT_URL'] ?? '') ?:
($server['REDIRECT_URI'] ?? '') ?: ($server['REDIRECT_URI'] ?? '') ?:
($server['REDIRECT_SCRIPT_URL'] ?? '') ?: ($server['REDIRECT_SCRIPT_URL'] ?? '') ?:
($server['SCRIPT_URL'] ?? '') ?: ($server['SCRIPT_URL'] ?? '') ?: