Passed
Push — master ( a00989...61ceb1 )
by Gregorio
04:41 queued 01:54
created
src/Connectors/Http.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
         $type = $config['type'];
129 129
         unset($config['type']);
130 130
 
131
-        $method = 'getClientConfigAuth'.ucfirst($type);
131
+        $method = 'getClientConfigAuth' . ucfirst($type);
132 132
         if (!method_exists($this, $method)) {
133 133
             throw new Exception("Invalid auth type: $type");
134 134
         }
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
     private function getClientConfigAuthOauth2($config = [])
216 216
     {
217 217
         $authClient = new Client(['base_uri' => $config['uri']]);
218
-        $grantType = '\\kamermans\\OAuth2\\GrantType\\'.studly_case($config['grant_type']);
218
+        $grantType = '\\kamermans\\OAuth2\\GrantType\\' . studly_case($config['grant_type']);
219 219
         unset($config['uri']);
220 220
         unset($config['grant_type']);
221 221
         /** @var \kamermans\OAuth2\GrantType\GrantTypeInterface $grant_type */
Please login to merge, or discard this patch.