Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sreichel committed Dec 14, 2024
1 parent 31ff920 commit 8252c97
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 10 deletions.
4 changes: 2 additions & 2 deletions app/Mage.php
Original file line number Diff line number Diff line change
Expand Up @@ -577,10 +577,10 @@ public static function getControllerInstance($class, $request, $response, array
}

/**
* Retrieve resource vodel object singleton
* Retrieve resource model object singleton
*
* @param string $modelClass
* @return object
* @return Mage_Core_Model_Resource_Db_Collection_Abstract
*/
public static function getResourceSingleton($modelClass = '', array $arguments = [])
{
Expand Down
8 changes: 4 additions & 4 deletions app/code/core/Mage/Catalog/Model/Category.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@
* @method $this setIncludeInMenu(int $value)
* @method bool getInitialSetupFlag()
* @method $this setInitialSetupFlag(bool $value)
* @method bool getIsActive()
* @method $this setIsActive(bool $value)
* @method bool getIsAnchor()
* @method $this setIsAnchor(bool $value)
* @method int getIsActive()
* @method $this setIsActive(int $value)
* @method int getIsAnchor()
* @method $this setIsAnchor(int $value)
* @method $this setIsChangedProductList(bool $bool)
*
* @method int getLandingPage()
Expand Down
4 changes: 2 additions & 2 deletions app/code/core/Mage/Core/Model/Abstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ protected function _beforeSave()
* Get list of cache tags applied to model object.
* Return false if cache tags are not supported by model
*
* @return array | false
* @return array|false
*/
public function getCacheTags()
{
Expand All @@ -467,7 +467,7 @@ public function getCacheTags()
/**
* Get cache tags associated with object id
*
* @return array|bool
* @return array|false
*/
public function getCacheIdTags()
{
Expand Down
2 changes: 1 addition & 1 deletion app/code/core/Mage/Core/Model/Resource/Resource.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ protected function _loadVersionData($needType)
* Get Module version from DB
*
* @param string $resName
* @return bool|string
* @return string|false
* @SuppressWarnings(PHPMD.CamelCaseVariableName)
*/
public function getDbVersion($resName)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
* @package Mage_Directory
*
* @property Mage_Directory_Model_Country[] $_items
* @method Mage_Directory_Model_Country getFirstItem()
* @method Mage_Directory_Model_Country getLastItem()
*/
class Mage_Directory_Model_Resource_Country_Collection extends Mage_Core_Model_Resource_Db_Collection_Abstract
{
Expand Down
1 change: 1 addition & 0 deletions app/code/core/Mage/Eav/Model/Entity/Attribute.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
*
* @method Mage_Eav_Model_Resource_Entity_Attribute _getResource()
* @method Mage_Eav_Model_Resource_Entity_Attribute getResource()
* @method Mage_Eav_Model_Resource_Entity_Attribute_Collection getCollection()
* @method Mage_Eav_Model_Resource_Entity_Attribute_Collection getResourceCollection()
*
* @method int getAttributeGroupId()
Expand Down
2 changes: 1 addition & 1 deletion app/code/core/Mage/Rss/Block/Catalog/Category.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ protected function _toHtml()
if ($category->getId()) {
$layer = Mage::getSingleton('catalog/layer')->setStore($storeId);
//want to load all products no matter anchor or not
$category->setIsAnchor(true);
$category->setIsAnchor(1);
$newurl = $category->getUrl();
$title = $category->getName();
$data = ['title' => $title,
Expand Down

0 comments on commit 8252c97

Please sign in to comment.