/** * Update file path - change file extension taken from MIME information. * * @return boolean */ protected function updatePathByMIME() { return self::STORAGE_S3 == $this->getStorageType() ? true : parent::updatePathByMIME(); }