Applied styleci changes

This commit is contained in:
Dan Brown 2022-05-04 21:19:46 +01:00
parent 420b29f32f
commit 93ef8c97b6
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9
2 changed files with 1 additions and 1 deletions

View File

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

View File

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