]> git.mxchange.org Git - friendica.git/commitdiff
Update BaseURL.php
authorPhilipp <admin+Github@philipp.info>
Sat, 3 May 2025 19:39:58 +0000 (21:39 +0200)
committerGitHub <noreply@github.com>
Sat, 3 May 2025 19:39:58 +0000 (21:39 +0200)
Fix PHP-CS

src/App/BaseURL.php

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