]> git.mxchange.org Git - friendica.git/blobdiff - src/App/BaseURL.php
Fix phpcbf style errors in part of code I didn't change
[friendica.git] / src / App / BaseURL.php
index 8c046fda3e06f37cc0dca4d59478bb5180e1f6a1..40303068493f9aa810ca6dba774d7a04192ca620 100644 (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);
        }
 
        /**