@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | $expectedAlg = $metadata->get($use . '_encrypted_response_alg'); |
| 40 | 40 | $expectedEnc = $metadata->get($use . '_encrypted_response_enc'); |
| 41 | 41 | |
| 42 | - if (! $expectedAlg) { |
|
| 42 | + if (!$expectedAlg) { |
|
| 43 | 43 | return $token; |
| 44 | 44 | } |
| 45 | 45 | |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | throw new RuntimeException(\sprintf('Unexpected JWE enc received, expected %s, got: %s', $expectedEnc, $header['enc'] ?? '')); |
| 54 | 54 | } |
| 55 | 55 | |
| 56 | - if (! \class_exists(JWELoader::class)) { |
|
| 56 | + if (!\class_exists(JWELoader::class)) { |
|
| 57 | 57 | throw new LogicException('In order to decrypt JWT you should install web-token/jwt-encryption package'); |
| 58 | 58 | } |
| 59 | 59 | |