@@ -14,7 +14,6 @@ |
||
| 14 | 14 | |
| 15 | 15 | use chillerlan\HTTP\HTTPOptions; |
| 16 | 16 | use chillerlan\HTTP\Psr17\{RequestFactory, ResponseFactory}; |
| 17 | -use chillerlan\HTTP\Psr7\Request; |
|
| 18 | 17 | use chillerlan\Settings\SettingsContainerInterface; |
| 19 | 18 | use Psr\Http\Message\{RequestFactoryInterface, ResponseFactoryInterface, ResponseInterface}; |
| 20 | 19 | use Psr\Log\{LoggerAwareInterface, LoggerAwareTrait, LoggerInterface, NullLogger}; |
@@ -14,7 +14,8 @@ |
||
| 14 | 14 | |
| 15 | 15 | use chillerlan\HTTP\Psr17\StreamFactory; |
| 16 | 16 | use Psr\Http\Message\{StreamInterface, UploadedFileInterface}; |
| 17 | -use InvalidArgumentException, RuntimeException; |
|
| 17 | +use InvalidArgumentException; |
|
| 18 | +use RuntimeException; |
|
| 18 | 19 | |
| 19 | 20 | use function chillerlan\HTTP\Psr17\create_stream_from_input; |
| 20 | 21 | use function in_array, is_file, is_string, is_writable, move_uploaded_file, php_sapi_name,rename; |
@@ -17,7 +17,7 @@ discard block |
||
| 17 | 17 | use InvalidArgumentException, RuntimeException; |
| 18 | 18 | |
| 19 | 19 | use function chillerlan\HTTP\Psr17\create_stream_from_input; |
| 20 | -use function in_array, is_file, is_string, is_writable, move_uploaded_file, php_sapi_name,rename; |
|
| 20 | +use function in_array, is_file, is_string, is_writable, move_uploaded_file, php_sapi_name, rename; |
|
| 21 | 21 | |
| 22 | 22 | use const UPLOAD_ERR_CANT_WRITE, UPLOAD_ERR_EXTENSION, UPLOAD_ERR_FORM_SIZE, UPLOAD_ERR_INI_SIZE, |
| 23 | 23 | UPLOAD_ERR_NO_FILE, UPLOAD_ERR_NO_TMP_DIR, UPLOAD_ERR_OK, UPLOAD_ERR_PARTIAL; |
@@ -161,7 +161,7 @@ discard block |
||
| 161 | 161 | /** |
| 162 | 162 | * @inheritDoc |
| 163 | 163 | */ |
| 164 | - public function getSize():?int{ |
|
| 164 | + public function getSize(): ?int{ |
|
| 165 | 165 | return $this->size; |
| 166 | 166 | } |
| 167 | 167 | |
@@ -175,14 +175,14 @@ discard block |
||
| 175 | 175 | /** |
| 176 | 176 | * @inheritDoc |
| 177 | 177 | */ |
| 178 | - public function getClientFilename():?string{ |
|
| 178 | + public function getClientFilename(): ?string{ |
|
| 179 | 179 | return $this->clientFilename; |
| 180 | 180 | } |
| 181 | 181 | |
| 182 | 182 | /** |
| 183 | 183 | * @inheritDoc |
| 184 | 184 | */ |
| 185 | - public function getClientMediaType():?string{ |
|
| 185 | + public function getClientMediaType(): ?string{ |
|
| 186 | 186 | return $this->clientMediaType; |
| 187 | 187 | } |
| 188 | 188 | |