Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mini DOCBlock update #4415

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading