]> BookStack Code Mirror - bookstack/commitdiff
Applied styleci changes
authorDan Brown <redacted>
Wed, 4 May 2022 20:19:46 +0000 (21:19 +0100)
committerDan Brown <redacted>
Wed, 4 May 2022 20:19:46 +0000 (21:19 +0100)
app/Http/Request.php
tests/UrlTest.php

index fa368f3bca96fa829095c75a12a11dae8c42b8e4..4cbdf34bae6ac266463776d9e825be5128abdc9c 100644 (file)
@@ -36,6 +36,7 @@ class Request extends LaravelRequest
 
         if ($appUrl) {
             $parsedBaseUrl = rtrim(implode('/', array_slice(explode('/', $appUrl), 3)), '/');
+
             return empty($parsedBaseUrl) ? '' : ('/' . $parsedBaseUrl);
         }
 
index 2313e02f43022f8d01fba32fbdd4d62aa29f9803..13f9d9e0c95fb97a3c690daf9115b89f36fa1374 100644 (file)
@@ -48,5 +48,4 @@ class UrlTest extends TestCase
         $this->assertEquals('/settings', $bsRequest->getPathInfo());
         $this->assertEquals('https://donkey.example.com/settings', $bsRequest->getUri());
     }
-
 }