debug file type

This commit is contained in:
omair saleh
2022-04-04 18:15:17 +08:00
parent 216f108b9e
commit bfd3d87977
5 changed files with 6 additions and 4 deletions
@@ -53,6 +53,7 @@ class FileObject implements DataTransferObject
*/
public function getExtension(): string
{
dd($this->getMimeType());
if(array_key_exists($this->getMimeType(), FileType::EXTENSION)){
return FileType::EXTENSION[$this->getMimeType()];
}