Completed
Push — scrutinizer_segfault ( 3cb465...950f93 )
by Jens
07:28
created
src/Client/Adapter/Guzzle5Adapter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
 
60 60
     /**
61 61
      * @param RequestInterface $request
62
-     * @return ResponseInterface
62
+     * @return null|Response
63 63
      * @throws \Commercetools\Core\Error\ApiException
64 64
      * @throws \Commercetools\Core\Error\BadGatewayException
65 65
      * @throws \Commercetools\Core\Error\ConcurrentModificationException
Please login to merge, or discard this patch.
src/Client/Adapter/Guzzle5Promise.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
      * new protocol version.
77 77
      *
78 78
      * @param string $version HTTP protocol version
79
-     * @return self
79
+     * @return Response
80 80
      */
81 81
     public function withProtocolVersion($version)
82 82
     {
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
      *
182 182
      * @param string $name Case-insensitive header field name.
183 183
      * @param string|string[] $value Header value(s).
184
-     * @return self
184
+     * @return Response
185 185
      * @throws \InvalidArgumentException for invalid header names or values.
186 186
      */
187 187
     public function withHeader($name, $value)
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
      *
203 203
      * @param string $name Case-insensitive header field name to add.
204 204
      * @param string|string[] $value Header value(s).
205
-     * @return self
205
+     * @return Response
206 206
      * @throws \InvalidArgumentException for invalid header names or values.
207 207
      */
208 208
     public function withAddedHeader($name, $value)
@@ -220,7 +220,7 @@  discard block
 block discarded – undo
220 220
      * the named header.
221 221
      *
222 222
      * @param string $name Case-insensitive header field name to remove.
223
-     * @return self
223
+     * @return Response
224 224
      */
225 225
     public function withoutHeader($name)
226 226
     {
@@ -247,7 +247,7 @@  discard block
 block discarded – undo
247 247
      * new body stream.
248 248
      *
249 249
      * @param StreamInterface $body Body.
250
-     * @return self
250
+     * @return Response
251 251
      * @throws \InvalidArgumentException When the body is not valid.
252 252
      */
253 253
     public function withBody(StreamInterface $body)
@@ -285,7 +285,7 @@  discard block
 block discarded – undo
285 285
      * @param string $reasonPhrase The reason phrase to use with the
286 286
      *     provided status code; if none is provided, implementations MAY
287 287
      *     use the defaults as suggested in the HTTP specification.
288
-     * @return self
288
+     * @return Response
289 289
      * @throws \InvalidArgumentException For invalid status code arguments.
290 290
      */
291 291
     public function withStatus($code, $reasonPhrase = '')
Please login to merge, or discard this patch.