Skip to content

Commit

Permalink
Fixed/added doc blocks @deprecated annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
sreichel committed Jan 31, 2018
1 parent 5577362 commit 3c72e64
Show file tree
Hide file tree
Showing 13 changed files with 16 additions and 15 deletions.
2 changes: 1 addition & 1 deletion app/Mage.php
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ public static function getResourceSingleton($modelClass = '', array $arguments =
}

/**
* Deprecated, use self::helper()
* @deprecated, use self::helper()
*
* @param string $type
* @return object
Expand Down
2 changes: 1 addition & 1 deletion app/code/core/Mage/Adminhtml/Block/Catalog/Product.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ protected function _prepareLayout()
}

/**
* Deprecated since 1.3.2
* @deprecated since 1.3.2
*
* @return string
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ protected function _prepareColumns()
}

/**
* Deprecated since 1.1.7
* @deprecated since 1.1.7
*/
public function getRowId($row)
{
Expand Down
6 changes: 3 additions & 3 deletions app/code/core/Mage/Adminhtml/Block/Store/Switcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function __construct()
}

/**
* Deprecated
* @deprecated
*/
public function getWebsiteCollection()
{
Expand Down Expand Up @@ -105,7 +105,7 @@ public function getWebsites()
}

/**
* Deprecated
* @deprecated
*/
public function getGroupCollection($website)
{
Expand All @@ -130,7 +130,7 @@ public function getStoreGroups($website)
}

/**
* Deprecated
* @deprecated
*/
public function getStoreCollection($group)
{
Expand Down
2 changes: 1 addition & 1 deletion app/code/core/Mage/Adminhtml/Block/Widget/Grid.php
Original file line number Diff line number Diff line change
Expand Up @@ -1307,7 +1307,7 @@ public function getJsObjectName()
}

/**
* Deprecated since 1.1.7
* @deprecated since 1.1.7
*
* @return string
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ public function superConfigAction()
}

/**
* Deprecated since 1.2
* @deprecated since 1.2
*
*/
public function bundlesAction()
Expand Down
2 changes: 1 addition & 1 deletion app/code/core/Mage/CatalogInventory/Model/Stock.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class Mage_CatalogInventory_Model_Stock extends Mage_Core_Model_Abstract
const BACKORDERS_YES_NONOTIFY = 1;
const BACKORDERS_YES_NOTIFY = 2;

/* deprecated */
/* @deprecated */
const BACKORDERS_BELOW = 1;
const BACKORDERS_YES = 2;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,7 @@ public function setAllowTableChanges($value = true)
/**
* Update category products indexes
*
* deprecated after 1.6.2.0
* @deprecated after 1.6.2.0
*
* @param array $productIds
* @param array $categoryIds
Expand Down
2 changes: 1 addition & 1 deletion app/code/core/Mage/Cms/Model/Resource/Page/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ protected function _construct()
}

/**
* deprecated after 1.4.0.1, use toOptionIdArray()
* @deprecated after 1.4.0.1, use toOptionIdArray()
*
* @return array
*/
Expand Down
4 changes: 2 additions & 2 deletions app/code/core/Mage/Core/Model/Date.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ public function getGmtOffset($type = 'seconds')
}

/**
* Deprecated since 1.1.7
* @deprecated since 1.1.7
*/
public function checkDateTime($year, $month, $day, $hour = 0, $minute = 0, $second = 0)
{
Expand All @@ -230,7 +230,7 @@ public function checkDateTime($year, $month, $day, $hour = 0, $minute = 0, $seco
}

/**
* Deprecated since 1.1.7
* @deprecated since 1.1.7
*/
public function parseDateTime($dateTimeString, $dateTimeFormat)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ protected function _initSelect()
}

/**
* Deprecated
* @deprecated
*
* @param int $storeId
* @return Mage_GoogleBase_Model_Resource_Item_Collection
Expand Down
2 changes: 1 addition & 1 deletion app/code/core/Mage/Install/Block/Begin.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function __construct()
}

/**
* Deprecated
* @deprecated
*/
public function getLanguages()
{
Expand Down
1 change: 1 addition & 0 deletions lib/Zend/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -849,6 +849,7 @@ public static function namespaceUnset($namespace)
* namespaceGet() - get all variables in a namespace
* Deprecated: Use getIterator() in Zend_Session_Namespace.
*
* @deprecated
* @param string $namespace
* @return array
*/
Expand Down

0 comments on commit 3c72e64

Please sign in to comment.