Completed
Push — master ( 2f2c8f...8cc518 )
by Philippe
03:10
created
Classes/Service/OAuth2/Client.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -299,7 +299,7 @@  discard block
 block discarded – undo
299 299
     /**
300 300
      * Fetch a protected ressource
301 301
      *
302
-     * @param string $protected_ressource_url Protected resource URL
302
+     * @param string $protected_resource_url Protected resource URL
303 303
      * @param array  $parameters Array of parameters
304 304
      * @param string $http_method HTTP Method to use (POST, PUT, GET, HEAD, DELETE)
305 305
      * @param array  $http_headers HTTP headers
@@ -480,7 +480,7 @@  discard block
 block discarded – undo
480 480
     /**
481 481
      * Converts the class name to camel case
482 482
      *
483
-     * @param  mixed  $grant_type  the grant type
483
+     * @param  integer  $grant_type  the grant type
484 484
      * @return string
485 485
      */
486 486
     private function convertToCamelCase($grant_type)
Please login to merge, or discard this patch.
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -19,8 +19,8 @@  discard block
 block discarded – undo
19 19
     const ACCESS_TOKEN_MAC      = 3;
20 20
 
21 21
     /**
22
-    * Different Grant types
23
-    */
22
+     * Different Grant types
23
+     */
24 24
     const GRANT_TYPE_AUTH_CODE          = 'authorization_code';
25 25
     const GRANT_TYPE_PASSWORD           = 'password';
26 26
     const GRANT_TYPE_CLIENT_CREDENTIALS = 'client_credentials';
@@ -397,7 +397,7 @@  discard block
 block discarded – undo
397 397
                 $curl_options[CURLOPT_POST] = true;
398 398
                 /* No break */
399 399
             case self::HTTP_METHOD_PUT:
400
-			case self::HTTP_METHOD_PATCH:
400
+            case self::HTTP_METHOD_PATCH:
401 401
 
402 402
                 /**
403 403
                  * Passing an array to CURLOPT_POSTFIELDS will encode the data as multipart/form-data,
Please login to merge, or discard this patch.