Browse Source

Fix PHPCS errors.

Mark Story 9 years ago
parent
commit
a21902035b

+ 1 - 1
src/Http/Client/Auth/Oauth.php

@@ -163,7 +163,7 @@ class Oauth
      *
      * Section 9.1.2. of the Oauth spec
      *
-     * @param Psr\Http\Message\UriInterface $url URL
+     * @param Psr\Http\Message\UriInterface $uri Uri object to build a normalized version of.
      * @return string Normalized URL
      */
     protected function _normalizedUrl($uri)

+ 1 - 1
src/Http/Client/Request.php

@@ -38,7 +38,7 @@ class Request extends Message implements RequestInterface
      * @param string $url The request URL
      * @param string $method The HTTP method to use.
      * @param array $headers The HTTP headers to set.
-     * @param array|string $body The request body to use.
+     * @param array|string $data The request body to use.
      */
     public function __construct($url = '', $method = self::METHOD_GET, array $headers = [], $data = null)
     {

+ 0 - 1
tests/test_app/TestApp/Http/CompatAuth.php

@@ -47,5 +47,4 @@ class CompatAuth
     {
         $request->header('Proxy-Authorization', 'Bearer abc123');
     }
-
 }