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) {
|
return array_filter($keys, function (array $key) {
|
||||||
$alg = $key['alg'] ?? null;
|
$alg = $key['alg'] ?? null;
|
||||||
|
|
||||||
return $key['kty'] === 'RSA' && $key['use'] === 'sig' && (is_null($alg) || $alg === 'RS256');
|
return $key['kty'] === 'RSA' && $key['use'] === 'sig' && (is_null($alg) || $alg === 'RS256');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue