debug file type

This commit is contained in:
omair saleh
2022-04-04 18:17:11 +08:00
parent 18b2cd3f4b
commit f25a1033cb
@@ -53,7 +53,6 @@ class FileObject implements DataTransferObject
*/
public function getExtension(): string
{
dd($this->getMimeType());
if(array_key_exists($this->getMimeType(), FileType::EXTENSION)){
return FileType::EXTENSION[$this->getMimeType()];
}