Completed
Push — master ( 2a258c...683c35 )
by Alexandre
02:27
created
src/Endpoints/AuthorizationRequestBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -172,7 +172,7 @@
 block discarded – undo
172 172
             }
173 173
         } catch (\InvalidArgumentException $e) {
174 174
             throw new OAuthException('invalid_request',
175
-                'The request includes the malformed parameter redirect_uri. ' . $e->getMessage(),
175
+                'The request includes the malformed parameter redirect_uri. '.$e->getMessage(),
176 176
                 'https://tools.ietf.org/html/rfc6749#section-4.1');
177 177
         }
178 178
 
Please login to merge, or discard this patch.
src/Extensions/OpenID/Endpoints/AuthorizationEndpoint.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@
 block discarded – undo
155 155
             try {
156 156
                 $this->idTokenHint = $this->idTokenManager->decode($requestData['id_token_hint']);
157 157
             } catch (\Exception $exception) {
158
-                throw new OAuthException('invalid_request', 'Failed to decode id_token_hint : ' . $exception->getMessage());
158
+                throw new OAuthException('invalid_request', 'Failed to decode id_token_hint : '.$exception->getMessage());
159 159
             }
160 160
         }
161 161
 
Please login to merge, or discard this patch.
src/Roles/ResourceServer/ResourceServer.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
              * WWW-Authenticate: Bearer realm="example"
106 106
              */
107 107
             if (!$bearerAuthenticationMethodUsed) {
108
-                return new Response(401, ['WWW-Authenticate' => 'Bearer' . ($realm ? ' realm="example"' : '')]);
108
+                return new Response(401, ['WWW-Authenticate' => 'Bearer'.($realm ? ' realm="example"' : '')]);
109 109
             }
110 110
 
111 111
             $token = $bearerAuthenticationMethodUsed->authenticate($request);
@@ -205,14 +205,14 @@  discard block
 block discarded – undo
205 205
 
206 206
             $header = 'Bearer';
207 207
             if ($realm) {
208
-                $header .= ' realm="' . $realm . '"';
208
+                $header .= ' realm="'.$realm.'"';
209 209
             }
210
-            $header .= ' error="' . $e->getError() . '"';
210
+            $header .= ' error="'.$e->getError().'"';
211 211
             if ($e->getErrorDescription()) {
212
-                $header .= ' error_description="' . $e->getErrorDescription() . '"';
212
+                $header .= ' error_description="'.$e->getErrorDescription().'"';
213 213
             }
214 214
             if ($e->getErrorUri()) {
215
-                $header .= ' error_uri="' . $e->getErrorUri() . '"';
215
+                $header .= ' error_uri="'.$e->getErrorUri().'"';
216 216
             }
217 217
 
218 218
             return new Response($statusCode, ['WWW-Authenticate' => $header]);
Please login to merge, or discard this patch.
src/Roles/ResourceServerInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,5 +53,5 @@
 block discarded – undo
53 53
      * "scope" value is intended for programmatic use and is not meant to be
54 54
      * displayed to end-users.
55 55
      */
56
-    public function verifyRequest(ServerRequestInterface $request,  ?string $realm = null, ?string $scope = null): ?ResponseInterface;
56
+    public function verifyRequest(ServerRequestInterface $request, ?string $realm = null, ?string $scope = null): ?ResponseInterface;
57 57
 }
58 58
\ No newline at end of file
Please login to merge, or discard this patch.