Completed
Pull Request — master (#7)
by
unknown
02:49
created
src/Provider/Keycloak.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
                 );
162 162
             } else {
163 163
                 throw new EncryptionConfigurationException(
164
-                    'The given response may be encrypted and sufficient ' .
164
+                    'The given response may be encrypted and sufficient '.
165 165
                     'encryption configuration has not been provided.',
166 166
                     400
167 167
                 );
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
      */
203 203
     public function getBaseAuthorizationUrl()
204 204
     {
205
-        return $this->getBaseUrlWithRealm() . '/protocol/openid-connect/auth';
205
+        return $this->getBaseUrlWithRealm().'/protocol/openid-connect/auth';
206 206
     }
207 207
 
208 208
     /**
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
      */
215 215
     public function getBaseAccessTokenUrl(array $params)
216 216
     {
217
-        return $this->getBaseUrlWithRealm() . '/protocol/openid-connect/token';
217
+        return $this->getBaseUrlWithRealm().'/protocol/openid-connect/token';
218 218
     }
219 219
 
220 220
     /**
@@ -226,7 +226,7 @@  discard block
 block discarded – undo
226 226
      */
227 227
     public function getResourceOwnerDetailsUrl(AccessToken $token)
228 228
     {
229
-        return $this->getBaseUrlWithRealm() . '/protocol/openid-connect/userinfo';
229
+        return $this->getBaseUrlWithRealm().'/protocol/openid-connect/userinfo';
230 230
     }
231 231
 
232 232
     /**
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
      */
238 238
     public function getEntitlementsUrl(AccessToken $token)
239 239
     {
240
-        return $this->getBaseUrlWithRealm() . '/authz/entitlement/' . $this->clientId;
240
+        return $this->getBaseUrlWithRealm().'/authz/entitlement/'.$this->clientId;
241 241
     }
242 242
 
243 243
     /**
@@ -247,7 +247,7 @@  discard block
 block discarded – undo
247 247
      */
248 248
     protected function getBaseUrlWithRealm()
249 249
     {
250
-        return $this->authServerUrl . '/realms/' . $this->realm;
250
+        return $this->authServerUrl.'/realms/'.$this->realm;
251 251
     }
252 252
 
253 253
     /**
@@ -274,7 +274,7 @@  discard block
 block discarded – undo
274 274
     protected function checkResponse(ResponseInterface $response, $data)
275 275
     {
276 276
         if (!empty($data['error'])) {
277
-            $error = $data['error'] . ': ' . $data['error_description'];
277
+            $error = $data['error'].': '.$data['error_description'];
278 278
             throw new IdentityProviderException($error, 0, $data);
279 279
         }
280 280
     }
Please login to merge, or discard this patch.