Skip to content
This repository has been archived by the owner on Jan 17, 2024. It is now read-only.

Commit

Permalink
Refactor NickolasBurr_GoogleCloudStorage_Model_Core_File_Storage
Browse files Browse the repository at this point in the history
  • Loading branch information
nickolasburr committed Jan 23, 2019
1 parent fe736aa commit c971b5f
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -25,7 +25,7 @@ class NickolasBurr_GoogleCloudStorage_Model_Core_File_Storage extends Mage_Core_
*
* @param int|null $storageCode
* @param array $params
* @return Mage_Core_Model_File_Storage
* @return Mage_Core_Model_File_Storage|bool
* @see Mage_Core_Model_File_Storage::getStorageModel
*/
public function getStorageModel($storageCode = null, $params = array())
Expand All @@ -40,6 +40,7 @@ public function getStorageModel($storageCode = null, $params = array())
case NickolasBurr_GoogleCloudStorage_Helper_Dict::STORAGE_MEDIA_GCS:
/** @var NickolasBurr_GoogleCloudStorage_Model_Core_File_Storage_Bucket $storageModel */
$storageModel = Mage::getModel(NickolasBurr_GoogleCloudStorage_Helper_Dict::XML_PATH_MODEL_CORE_FILE_STORAGE_BUCKET);

break;
default:
return false;
Expand Down

0 comments on commit c971b5f

Please sign in to comment.