@@ -14,7 +14,8 @@ |
||
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 |
@@ -12,7 +12,9 @@ |
||
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 |
@@ -13,8 +13,8 @@ |
||
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}; |
@@ -14,8 +14,9 @@ |
||
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 |
@@ -119,9 +119,9 @@ |
||
119 | 119 | \CURLOPT_HEADERFUNCTION => [$this, 'headerfunction'], |
120 | 120 | ]; |
121 | 121 | if ($this->options->ca_info) { |
122 | - $options[\CURLOPT_CAINFO] = $this->options->ca_info; |
|
122 | + $options[\CURLOPT_CAINFO] = $this->options->ca_info; |
|
123 | 123 | } |
124 | - return $options; |
|
124 | + return $options; |
|
125 | 125 | } |
126 | 126 | |
127 | 127 | /** |