Completed
Branch add-psr-18-support (b79d4b)
by Steven
02:51
created
src/Http.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
      * @param  string $path
80 80
      * @param  array  $parameters
81 81
      *
82
-     * @return Request
82
+     * @return RequestInterface
83 83
      */
84 84
     protected function createRequest($verb, $path, $parameters = [])
85 85
     {
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
      *
176 176
      * @param  ClientExceptionInterface  $clientException
177 177
      *
178
-     * @return class
178
+     * @return anonymous//src/Http.php@return class
179 179
      */
180 180
     private function getRequestExceptionParts(ClientExceptionInterface $clientException)
181 181
     {
@@ -282,7 +282,7 @@  discard block
 block discarded – undo
282 282
      * Adds a given resource to multipart stream collection, to be processed by next request.
283 283
      *
284 284
      * @param  string                                           $name
285
-     * @param  resource|string|Psr\Http\Message\StreamInterface $resource
285
+     * @param  \Psr\Http\Message\StreamInterface $resource
286 286
      *
287 287
      * @return void
288 288
      */
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,8 +5,8 @@
 block discarded – undo
5 5
 use Exception;
6 6
 use Psr\Http\Client\ClientExceptionInterface;
7 7
 use Psr\Http\Client\ClientInterface;
8
-use Psr\Http\Message\RequestInterface;
9 8
 use Psr\Http\Message\RequestFactoryInterface;
9
+use Psr\Http\Message\RequestInterface;
10 10
 use Psr\Http\Message\StreamFactoryInterface;
11 11
 
12 12
 class Http
Please login to merge, or discard this patch.