mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-01-13 15:07:49 +00:00
chore: update dependencies, chore: pint
This commit is contained in:
parent
fb506fa846
commit
0ffc0acc3f
7 changed files with 43 additions and 40 deletions
|
|
@ -46,7 +46,7 @@ class OidcProvider extends AbstractProvider implements ProviderInterface
|
|||
if (str_ends_with($endpoint, '/.well-known/openid-configuration')) {
|
||||
$this->baseUrl = str_replace('/.well-known/openid-configuration', '', $endpoint);
|
||||
} else {
|
||||
$this->baseUrl = rtrim($endpoint, '/');
|
||||
$this->baseUrl = mb_rtrim($endpoint, '/');
|
||||
}
|
||||
|
||||
$this->scopes = $scopes ?: ['openid', 'profile', 'email'];
|
||||
|
|
|
|||
|
|
@ -144,7 +144,7 @@ class PluginExportService
|
|||
$markup = preg_replace('/^<div class="view view--\{\{ size \}\}">\s*/', '', $markup);
|
||||
$markup = preg_replace('/\s*<\/div>\s*$/', '', $markup);
|
||||
|
||||
return trim($markup);
|
||||
return mb_trim($markup);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue