@@ -24,7 +24,6 @@ |
||
24 | 24 | /** |
25 | 25 | * Intialize object. |
26 | 26 | * |
27 | - * @param RequestInterface $wrappable |
|
28 | 27 | */ |
29 | 28 | public function __construct(RequestInterface $requestInterface) |
30 | 29 | { |
@@ -14,7 +14,6 @@ |
||
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 |
@@ -365,7 +365,7 @@ |
||
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 | { |
@@ -57,7 +57,7 @@ |
||
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. |
@@ -107,7 +107,7 @@ |
||
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 | } |