Skip to content

Commit 1aedd15

Browse files
committed
fixes
1 parent 31ff920 commit 1aedd15

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

app/Mage.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -577,10 +577,10 @@ public static function getControllerInstance($class, $request, $response, array
577577
}
578578

579579
/**
580-
* Retrieve resource vodel object singleton
580+
* Retrieve resource model object singleton
581581
*
582582
* @param string $modelClass
583-
* @return object
583+
* @return Mage_Core_Model_Resource_Db_Collection_Abstract
584584
*/
585585
public static function getResourceSingleton($modelClass = '', array $arguments = [])
586586
{

app/code/core/Mage/Core/Model/Abstract.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ protected function _beforeSave()
441441
* Get list of cache tags applied to model object.
442442
* Return false if cache tags are not supported by model
443443
*
444-
* @return array | false
444+
* @return array|false
445445
*/
446446
public function getCacheTags()
447447
{
@@ -467,7 +467,7 @@ public function getCacheTags()
467467
/**
468468
* Get cache tags associated with object id
469469
*
470-
* @return array|bool
470+
* @return array|false
471471
*/
472472
public function getCacheIdTags()
473473
{

app/code/core/Mage/Core/Model/Resource/Resource.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ protected function _loadVersionData($needType)
8484
* Get Module version from DB
8585
*
8686
* @param string $resName
87-
* @return bool|string
87+
* @return string|false
8888
* @SuppressWarnings(PHPMD.CamelCaseVariableName)
8989
*/
9090
public function getDbVersion($resName)

app/code/core/Mage/Eav/Model/Entity/Attribute.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
*
2323
* @method Mage_Eav_Model_Resource_Entity_Attribute _getResource()
2424
* @method Mage_Eav_Model_Resource_Entity_Attribute getResource()
25+
* @method Mage_Eav_Model_Resource_Entity_Attribute_Collection getCollection()
2526
* @method Mage_Eav_Model_Resource_Entity_Attribute_Collection getResourceCollection()
2627
*
2728
* @method int getAttributeGroupId()

0 commit comments

Comments
 (0)