Passed
Push — master ( df4379...356a95 )
by Thomas Mauro
02:53
created
src/RequestObject/RequestObjectFactory.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
             'exp' => \time() + 300,
75 75
         ]));
76 76
 
77
-        if (! $payload) {
77
+        if (!$payload) {
78 78
             throw new RuntimeException('Unable to encode payload');
79 79
         }
80 80
 
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
             $jwk = $client->getJWKS()->selectKey('sig', null, ['alg' => $alg]);
103 103
         }
104 104
 
105
-        if (! $jwk) {
105
+        if (!$jwk) {
106 106
             throw new RuntimeException('No key to sign with alg ' . $alg);
107 107
         }
108 108
 
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
         /** @var null|string $alg */
128 128
         $alg = $metadata->get('request_object_encryption_alg');
129 129
 
130
-        if (! $alg) {
130
+        if (!$alg) {
131 131
             return $payload;
132 132
         }
133 133
 
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
             );
144 144
         }
145 145
 
146
-        if (! $jwk) {
146
+        if (!$jwk) {
147 147
             throw new RuntimeException('No key to sign with alg ' . $alg);
148 148
         }
149 149
 
Please login to merge, or discard this patch.