|
@@ -91,8 +91,8 @@ |
|
|
block discarded – undo |
|
91
|
91
|
/** @var MIMEType $mimeType */ |
|
92
|
92
|
$mimeType = MIMEType::fromNative($mimeTypeString); |
|
93
|
93
|
|
|
94
|
|
- $fileName = $fileId . '.' . $file->guessExtension(); |
|
95
|
|
- $destination = $this->getUploadDirectory() . '/' . $fileName; |
|
|
94
|
+ $fileName = $fileId.'.'.$file->guessExtension(); |
|
|
95
|
+ $destination = $this->getUploadDirectory().'/'.$fileName; |
|
96
|
96
|
$stream = fopen($file->getRealPath(), 'r+'); |
|
97
|
97
|
$this->filesystem->writeStream($destination, $stream); |
|
98
|
98
|
fclose($stream); |
Please login to merge, or discard this patch.