mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-24 20:02:35 +01:00
Apply fixes from StyleCI
This commit is contained in:
parent
e17cdab420
commit
4a1d060eb9
@ -165,6 +165,7 @@ class OidcProviderSettings
|
||||
{
|
||||
return array_filter($keys, function (array $key) {
|
||||
$alg = $key['alg'] ?? null;
|
||||
|
||||
return $key['kty'] === 'RSA' && $key['use'] === 'sig' && (is_null($alg) || $alg === 'RS256');
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user