Passed
Push — master ( 450add...e90ed9 )
by Thomas Mauro
04:12
created
src/Token/TokenDecrypter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.