@@ -238,14 +238,14 @@ |
||
238 | 238 | /** |
239 | 239 | * @return string|null |
240 | 240 | */ |
241 | - public function getMimeType(){ |
|
241 | + public function getMimeType() { |
|
242 | 242 | return (new \finfo())->buffer($this->getContent(), FILEINFO_MIME_TYPE); |
243 | 243 | } |
244 | 244 | |
245 | 245 | /** |
246 | 246 | * @return string|null |
247 | 247 | */ |
248 | - public function getExtension(){ |
|
248 | + public function getExtension() { |
|
249 | 249 | return ExtensionGuesser::getInstance()->guess($this->getMimeType()); |
250 | 250 | } |
251 | 251 | } |
252 | 252 | \ No newline at end of file |