1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-28 17:02:04 +03:00

Applied styleci changes

This commit is contained in:
Dan Brown
2022-05-04 21:19:46 +01:00
parent 420b29f32f
commit 93ef8c97b6
2 changed files with 1 additions and 1 deletions

View File

@ -36,6 +36,7 @@ class Request extends LaravelRequest
if ($appUrl) { if ($appUrl) {
$parsedBaseUrl = rtrim(implode('/', array_slice(explode('/', $appUrl), 3)), '/'); $parsedBaseUrl = rtrim(implode('/', array_slice(explode('/', $appUrl), 3)), '/');
return empty($parsedBaseUrl) ? '' : ('/' . $parsedBaseUrl); return empty($parsedBaseUrl) ? '' : ('/' . $parsedBaseUrl);
} }

View File

@ -48,5 +48,4 @@ class UrlTest extends TestCase
$this->assertEquals('/settings', $bsRequest->getPathInfo()); $this->assertEquals('/settings', $bsRequest->getPathInfo());
$this->assertEquals('https://donkey.example.com/settings', $bsRequest->getUri()); $this->assertEquals('https://donkey.example.com/settings', $bsRequest->getUri());
} }
} }