Completed
Pull Request — master (#15)
by Mischa
04:46
created
src/Superdesk/ContentApiSdk/API/Request/RequestDecorator.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,6 @@
 block discarded – undo
24 24
     /**
25 25
      * Intialize object.
26 26
      *
27
-     * @param RequestInterface $wrappable
28 27
      */
29 28
     public function __construct(RequestInterface $requestInterface)
30 29
     {
Please login to merge, or discard this patch.
Superdesk/ContentApiSdk/API/Authentication/OAuthPasswordAuthentication.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 
15 15
 namespace Superdesk\ContentApiSdk\API\Authentication;
16 16
 
17
-use Superdesk\ContentApiSdk\API\Request\RequestInterface;
18 17
 use Superdesk\ContentApiSdk\Exception\AuthenticationException;
19 18
 use Superdesk\ContentApiSdk\Exception\ClientException;
20 19
 
Please login to merge, or discard this patch.
src/Superdesk/ContentApiSdk/ContentApiSdk.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -365,7 +365,7 @@
 block discarded – undo
365 365
      * @param  string $uri Uri of the request
366 366
      * @param  array $parameters Parameters for the request object
367 367
      *
368
-     * @return Request
368
+     * @return VersionDecorator
369 369
      */
370 370
     public function getNewRequest($uri, array $parameters = array())
371 371
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
     /**
58 58
      * Useragent string sent to the API when making requests.
59 59
      */
60
-    const USERAGENT = 'Content API SDK '. self::API_VERSION;
60
+    const USERAGENT = 'Content API SDK ' . self::API_VERSION;
61 61
 
62 62
     /**
63 63
      * A list of parameters the Content API accepts.
Please login to merge, or discard this patch.
src/Superdesk/ContentApiSdk/Client/CurlClient.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@
 block discarded – undo
107 107
                 $key = $h[0];
108 108
             } else {
109 109
                 if (substr($h[0], 0, 1) == "\t") {
110
-                    $headers[$key] .= "\r\n\t".trim($h[0]);
110
+                    $headers[$key] .= "\r\n\t" . trim($h[0]);
111 111
                 } elseif (!$key) {
112 112
                     $headers[0] = trim($h[0]);
113 113
                 }
Please login to merge, or discard this patch.