Skip to content

Commit 3c72e64

Browse files
committed
Fixed/added doc blocks @deprecated annotations
1 parent 5577362 commit 3c72e64

File tree

13 files changed

+16
-15
lines changed

13 files changed

+16
-15
lines changed

app/Mage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ public static function getResourceSingleton($modelClass = '', array $arguments =
522522
}
523523

524524
/**
525-
* Deprecated, use self::helper()
525+
* @deprecated, use self::helper()
526526
*
527527
* @param string $type
528528
* @return object

app/code/core/Mage/Adminhtml/Block/Catalog/Product.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ protected function _prepareLayout()
6060
}
6161

6262
/**
63-
* Deprecated since 1.3.2
63+
* @deprecated since 1.3.2
6464
*
6565
* @return string
6666
*/

app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Customer/Grid.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ protected function _prepareColumns()
109109
}
110110

111111
/**
112-
* Deprecated since 1.1.7
112+
* @deprecated since 1.1.7
113113
*/
114114
public function getRowId($row)
115115
{

app/code/core/Mage/Adminhtml/Block/Store/Switcher.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public function __construct()
7272
}
7373

7474
/**
75-
* Deprecated
75+
* @deprecated
7676
*/
7777
public function getWebsiteCollection()
7878
{
@@ -105,7 +105,7 @@ public function getWebsites()
105105
}
106106

107107
/**
108-
* Deprecated
108+
* @deprecated
109109
*/
110110
public function getGroupCollection($website)
111111
{
@@ -130,7 +130,7 @@ public function getStoreGroups($website)
130130
}
131131

132132
/**
133-
* Deprecated
133+
* @deprecated
134134
*/
135135
public function getStoreCollection($group)
136136
{

app/code/core/Mage/Adminhtml/Block/Widget/Grid.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1307,7 +1307,7 @@ public function getJsObjectName()
13071307
}
13081308

13091309
/**
1310-
* Deprecated since 1.1.7
1310+
* @deprecated since 1.1.7
13111311
*
13121312
* @return string
13131313
*/

app/code/core/Mage/Adminhtml/controllers/Catalog/ProductController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ public function superConfigAction()
455455
}
456456

457457
/**
458-
* Deprecated since 1.2
458+
* @deprecated since 1.2
459459
*
460460
*/
461461
public function bundlesAction()

app/code/core/Mage/CatalogInventory/Model/Stock.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class Mage_CatalogInventory_Model_Stock extends Mage_Core_Model_Abstract
4242
const BACKORDERS_YES_NONOTIFY = 1;
4343
const BACKORDERS_YES_NOTIFY = 2;
4444

45-
/* deprecated */
45+
/* @deprecated */
4646
const BACKORDERS_BELOW = 1;
4747
const BACKORDERS_YES = 2;
4848

app/code/core/Mage/CatalogSearch/Model/Resource/Fulltext.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,7 @@ public function setAllowTableChanges($value = true)
848848
/**
849849
* Update category products indexes
850850
*
851-
* deprecated after 1.6.2.0
851+
* @deprecated after 1.6.2.0
852852
*
853853
* @param array $productIds
854854
* @param array $categoryIds

app/code/core/Mage/Cms/Model/Resource/Page/Collection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ protected function _construct()
5454
}
5555

5656
/**
57-
* deprecated after 1.4.0.1, use toOptionIdArray()
57+
* @deprecated after 1.4.0.1, use toOptionIdArray()
5858
*
5959
* @return array
6060
*/

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ public function getGmtOffset($type = 'seconds')
213213
}
214214

215215
/**
216-
* Deprecated since 1.1.7
216+
* @deprecated since 1.1.7
217217
*/
218218
public function checkDateTime($year, $month, $day, $hour = 0, $minute = 0, $second = 0)
219219
{
@@ -230,7 +230,7 @@ public function checkDateTime($year, $month, $day, $hour = 0, $minute = 0, $seco
230230
}
231231

232232
/**
233-
* Deprecated since 1.1.7
233+
* @deprecated since 1.1.7
234234
*/
235235
public function parseDateTime($dateTimeString, $dateTimeFormat)
236236
{

0 commit comments

Comments
 (0)