Skip to content

Commit 7b75652

Browse files
committed
1 parent 909eb7b commit 7b75652

File tree

7 files changed

+12
-9
lines changed

7 files changed

+12
-9
lines changed

app/Mage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ public static function getControllerInstance($class, $request, $response, array
499499
}
500500

501501
/**
502-
* Retrieve resource vodel object singleton
502+
* Retrieve resource model object singleton
503503
*
504504
* @param string $modelClass
505505
* @return object

app/code/core/Mage/Catalog/Model/Category.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@
4242
* @method $this setIncludeInMenu(int $value)
4343
* @method bool getInitialSetupFlag()
4444
* @method $this setInitialSetupFlag(bool $value)
45-
* @method bool getIsActive()
46-
* @method $this setIsActive(bool $value)
47-
* @method bool getIsAnchor()
48-
* @method $this setIsAnchor(bool $value)
45+
* @method int getIsActive()
46+
* @method $this setIsActive(int $value)
47+
* @method int getIsAnchor()
48+
* @method $this setIsAnchor(int $value)
4949
* @method $this setIsChangedProductList(bool $bool)
5050
*
5151
* @method int getLandingPage()

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
@@ -95,7 +95,7 @@ protected function _loadVersionData($needType)
9595
* Get Module version from DB
9696
*
9797
* @param string $resName
98-
* @return bool|string
98+
* @return string|false
9999
*/
100100
public function getDbVersion($resName)
101101
{

app/code/core/Mage/Directory/Model/Resource/Country/Collection.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
* @package Mage_Directory
1919
*
2020
* @property Mage_Directory_Model_Country[] $_items
21+
* @method Mage_Directory_Model_Country getFirstItem()
22+
* @method Mage_Directory_Model_Country getLastItem()
2123
*/
2224
class Mage_Directory_Model_Resource_Country_Collection extends Mage_Core_Model_Resource_Db_Collection_Abstract
2325
{

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
*
2020
* @method Mage_Eav_Model_Resource_Entity_Attribute _getResource()
2121
* @method Mage_Eav_Model_Resource_Entity_Attribute getResource()
22+
* @method Mage_Eav_Model_Resource_Entity_Attribute_Collection getCollection()
2223
* @method Mage_Eav_Model_Resource_Entity_Attribute_Collection getResourceCollection()
2324
*
2425
* @method int getAttributeGroupId()

app/code/core/Mage/Rss/Block/Catalog/Category.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ protected function _toHtml()
5454
if ($category->getId()) {
5555
$layer = Mage::getSingleton('catalog/layer')->setStore($storeId);
5656
//want to load all products no matter anchor or not
57-
$category->setIsAnchor(true);
57+
$category->setIsAnchor(1);
5858
$newurl = $category->getUrl();
5959
$title = $category->getName();
6060
$data = ['title' => $title,

0 commit comments

Comments
 (0)