Update method which gets MIME type

getMIMEType() was calling $adapter->getMimeName() instead of $adapter->getMimeType()