Completed
Pull Request — master (#3)
by Carlos C
03:14
created
src/Psr17/UploadedFileFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
 	 * @see http://php.net/manual/features.file-upload.post-method.php
27 27
 	 * @see http://php.net/manual/features.file-upload.errors.php
28 28
 	 *
29
-	 * @param StreamInterface $stream          Underlying stream representing the
29
+	 * @param \Psr\Http\Message\StreamInterface $stream          Underlying stream representing the
30 30
 	 *                                         uploaded file content.
31 31
 	 * @param int             $size            in bytes
32 32
 	 * @param int             $error           PHP file upload error
Please login to merge, or discard this patch.
src/Psr7/UploadedFile.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -203,7 +203,7 @@
 block discarded – undo
203 203
 	 *
204 204
 	 * @author Michael Dowling and contributors to guzzlehttp/psr7
205 205
 	 *
206
-	 * @param StreamInterface $dest   Stream to write to
206
+	 * @param \Psr\Http\Message\StreamInterface $dest   Stream to write to
207 207
 	 *
208 208
 	 * @throws \RuntimeException on error
209 209
 	 */
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,8 @@
 block discarded – undo
14 14
 
15 15
 use chillerlan\HTTP\{Psr17, Psr17\StreamFactory};
16 16
 use Psr\Http\Message\{StreamInterface, UploadedFileInterface};
17
-use InvalidArgumentException, RuntimeException;
17
+use InvalidArgumentException;
18
+use RuntimeException;
18 19
 
19 20
 final class UploadedFile implements UploadedFileInterface{
20 21
 
Please login to merge, or discard this patch.
src/Psr7/Stream.php 1 patch
Unused Use Statements   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,9 @@
 block discarded – undo
12 12
 
13 13
 namespace chillerlan\HTTP\Psr7;
14 14
 
15
-use Exception, InvalidArgumentException, RuntimeException;
15
+use Exception;
16
+use InvalidArgumentException;
17
+use RuntimeException;
16 18
 
17 19
 /**
18 20
  * @property resource $stream
Please login to merge, or discard this patch.
src/Psr18/HTTPClientAbstract.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,8 +13,8 @@
 block discarded – undo
13 13
 namespace chillerlan\HTTP\Psr18;
14 14
 
15 15
 use chillerlan\HTTP\{HTTPOptions, Psr7, Psr17};
16
-use chillerlan\HTTP\Psr7\Request;
17 16
 use chillerlan\HTTP\Psr17\ResponseFactory;
17
+use chillerlan\HTTP\Psr7\Request;
18 18
 use chillerlan\Settings\SettingsContainerInterface;
19 19
 use Psr\Http\Message\{ResponseFactoryInterface, ResponseInterface};
20 20
 use Psr\Log\{LoggerAwareInterface, LoggerAwareTrait, LoggerInterface, NullLogger};
Please login to merge, or discard this patch.
src/Psr7/MultipartStream.php 1 patch
Unused Use Statements   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,8 +14,9 @@
 block discarded – undo
14 14
 
15 15
 namespace chillerlan\HTTP\Psr7;
16 16
 
17
+use InvalidArgumentException;
18
+use RuntimeException;
17 19
 use chillerlan\HTTP\Psr17;
18
-use InvalidArgumentException, RuntimeException;
19 20
 
20 21
 /**
21 22
  * @property \chillerlan\HTTP\Psr7\Stream $stream
Please login to merge, or discard this patch.