@@ -43,7 +43,7 @@ |
||
| 43 | 43 | * |
| 44 | 44 | * @param mixed $header |
| 45 | 45 | * |
| 46 | - * @return \Error|null|string |
|
| 46 | + * @return string |
|
| 47 | 47 | * @throws GoridgeException |
| 48 | 48 | */ |
| 49 | 49 | public function receive(&$header) |
@@ -173,8 +173,7 @@ |
||
| 173 | 173 | } |
| 174 | 174 | |
| 175 | 175 | $stream = UPLOAD_ERR_OK === $f['error'] ? |
| 176 | - $this->streamFactory->createStreamFromFile($f['tmpName']) : |
|
| 177 | - $this->streamFactory->createStream(); |
|
| 176 | + $this->streamFactory->createStreamFromFile($f['tmpName']) : $this->streamFactory->createStream(); |
|
| 178 | 177 | |
| 179 | 178 | $result[$index] = $this->uploadsFactory->createUploadedFile( |
| 180 | 179 | $stream, |