Skip to content

Commit f4c1d75

Browse files
committed
Updated deprecation doc annotations
1 parent ff6d1b8 commit f4c1d75

File tree

867 files changed

+1462
-855
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

867 files changed

+1462
-855
lines changed

app/code/Magento/Analytics/ReportXml/Query.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ public function getConfig()
8181
* @link http://php.net/manual/en/jsonserializable.jsonserialize.php
8282
* @return mixed data which can be serialized by <b>json_encode</b>,
8383
* which is a value of any type other than a resource.
84-
* @since 5.4.0
8584
*/
8685
public function jsonSerialize()
8786
{

app/code/Magento/Backend/Block/Page/System/Config/Robots/Reset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
/**
1212
* "Reset to Defaults" button renderer
1313
*
14-
* @deprecated 100.2.0
14+
* @deprecated 100.1.6
1515
* @author Magento Core Team <[email protected]>
1616
*/
1717
class Reset extends \Magento\Config\Block\System\Config\Form\Field

app/code/Magento/Backend/Block/Widget/Grid/Massaction.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ public function __construct(
6464
* @param array|DataObject $item
6565
*
6666
* @return $this
67+
* @since 100.2.3
6768
*/
6869
public function addItem($itemId, $item)
6970
{

app/code/Magento/Backup/Model/ResourceModel/Db.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ public function getTableForeignKeysSql($tableName = null)
120120
* @param string|null $tableName
121121
* @param bool $addDropIfExists
122122
* @return string
123+
* @since 100.2.3
123124
*/
124125
public function getTableTriggersSql($tableName = null, $addDropIfExists = true)
125126
{

app/code/Magento/Backup/Model/ResourceModel/Helper.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,7 @@ public function restoreTransactionIsolationLevel()
345345
* @param boolean $addDropIfExists
346346
* @param boolean $stripDefiner
347347
* @return string
348+
* @since 100.2.3
348349
*/
349350
public function getTableTriggersSql($tableName, $addDropIfExists = false, $stripDefiner = true)
350351
{

app/code/Magento/Bundle/Pricing/Price/BundleOptionPrice.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class BundleOptionPrice extends AbstractPrice implements BundleOptionPriceInterf
2727

2828
/**
2929
* @var BundleSelectionFactory
30-
* @deprecated
30+
* @deprecated 100.2.3
3131
*/
3232
protected $selectionFactory;
3333

@@ -79,7 +79,7 @@ public function getValue()
7979
* Getter for maximal price of options.
8080
*
8181
* @return bool|float
82-
* @deprecated
82+
* @deprecated 100.2.3
8383
*/
8484
public function getMaxValue()
8585
{

app/code/Magento/Bundle/Pricing/Price/ConfiguredPrice.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
/**
1919
* Configured price model
2020
* @api
21+
* @since 100.0.2
2122
*/
2223
class ConfiguredPrice extends CatalogPrice\FinalPrice implements ConfiguredPriceInterface
2324
{

app/code/Magento/Catalog/Api/BasePriceStorageInterface.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
/**
1010
* Base prices storage.
1111
* @api
12-
* @since 101.1.0
12+
* @since 102.0.0
1313
*/
1414
interface BasePriceStorageInterface
1515
{
@@ -18,7 +18,7 @@ interface BasePriceStorageInterface
1818
*
1919
* @param string[] $skus
2020
* @return \Magento\Catalog\Api\Data\BasePriceInterface[]
21-
* @since 101.1.0
21+
* @since 102.0.0
2222
*/
2323
public function get(array $skus);
2424

@@ -33,7 +33,7 @@ public function get(array $skus);
3333
* @param \Magento\Catalog\Api\Data\BasePriceInterface[] $prices
3434
* @return \Magento\Catalog\Api\Data\PriceUpdateResultInterface[]
3535
* @throws \Magento\Framework\Exception\CouldNotSaveException
36-
* @since 101.1.0
36+
* @since 102.0.0
3737
*/
3838
public function update(array $prices);
3939
}

app/code/Magento/Catalog/Api/CategoryListInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
/**
99
* @api
10-
* @since 101.1.0
10+
* @since 102.0.0
1111
*/
1212
interface CategoryListInterface
1313
{
@@ -16,7 +16,7 @@ interface CategoryListInterface
1616
*
1717
* @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria
1818
* @return \Magento\Catalog\Api\Data\CategorySearchResultsInterface
19-
* @since 101.1.0
19+
* @since 102.0.0
2020
*/
2121
public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria);
2222
}

app/code/Magento/Catalog/Api/CostStorageInterface.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
/**
1010
* Product cost storage.
1111
* @api
12-
* @since 101.1.0
12+
* @since 102.0.0
1313
*/
1414
interface CostStorageInterface
1515
{
@@ -19,7 +19,7 @@ interface CostStorageInterface
1919
* @param string[] $skus
2020
* @return \Magento\Catalog\Api\Data\CostInterface[]
2121
* @throws \Magento\Framework\Exception\NoSuchEntityException
22-
* @since 101.1.0
22+
* @since 102.0.0
2323
*/
2424
public function get(array $skus);
2525

@@ -33,7 +33,7 @@ public function get(array $skus);
3333
*
3434
* @param \Magento\Catalog\Api\Data\CostInterface[] $prices
3535
* @return \Magento\Catalog\Api\Data\PriceUpdateResultInterface[]
36-
* @since 101.1.0
36+
* @since 102.0.0
3737
*/
3838
public function update(array $prices);
3939

@@ -45,7 +45,7 @@ public function update(array $prices);
4545
* @return bool Will return True if deleted.
4646
* @throws \Magento\Framework\Exception\NoSuchEntityException
4747
* @throws \Magento\Framework\Exception\CouldNotDeleteException
48-
* @since 101.1.0
48+
* @since 102.0.0
4949
*/
5050
public function delete(array $skus);
5151
}

app/code/Magento/Catalog/Api/Data/BasePriceInterface.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
/**
1010
* Price interface.
1111
* @api
12-
* @since 101.1.0
12+
* @since 102.0.0
1313
*/
1414
interface BasePriceInterface extends \Magento\Framework\Api\ExtensibleDataInterface
1515
{
@@ -26,15 +26,15 @@ interface BasePriceInterface extends \Magento\Framework\Api\ExtensibleDataInterf
2626
*
2727
* @param float $price
2828
* @return $this
29-
* @since 101.1.0
29+
* @since 102.0.0
3030
*/
3131
public function setPrice($price);
3232

3333
/**
3434
* Get price.
3535
*
3636
* @return float
37-
* @since 101.1.0
37+
* @since 102.0.0
3838
*/
3939
public function getPrice();
4040

@@ -43,15 +43,15 @@ public function getPrice();
4343
*
4444
* @param int $storeId
4545
* @return $this
46-
* @since 101.1.0
46+
* @since 102.0.0
4747
*/
4848
public function setStoreId($storeId);
4949

5050
/**
5151
* Get store id.
5252
*
5353
* @return int
54-
* @since 101.1.0
54+
* @since 102.0.0
5555
*/
5656
public function getStoreId();
5757

@@ -60,23 +60,23 @@ public function getStoreId();
6060
*
6161
* @param string $sku
6262
* @return $this
63-
* @since 101.1.0
63+
* @since 102.0.0
6464
*/
6565
public function setSku($sku);
6666

6767
/**
6868
* Get SKU.
6969
*
7070
* @return string
71-
* @since 101.1.0
71+
* @since 102.0.0
7272
*/
7373
public function getSku();
7474

7575
/**
7676
* Retrieve existing extension attributes object or create a new one.
7777
*
7878
* @return \Magento\Catalog\Api\Data\BasePriceExtensionInterface|null
79-
* @since 101.1.0
79+
* @since 102.0.0
8080
*/
8181
public function getExtensionAttributes();
8282

@@ -85,7 +85,7 @@ public function getExtensionAttributes();
8585
*
8686
* @param \Magento\Catalog\Api\Data\BasePriceExtensionInterface $extensionAttributes
8787
* @return $this
88-
* @since 101.1.0
88+
* @since 102.0.0
8989
*/
9090
public function setExtensionAttributes(
9191
\Magento\Catalog\Api\Data\BasePriceExtensionInterface $extensionAttributes

app/code/Magento/Catalog/Api/Data/CategoryLinkInterface.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,28 +10,28 @@
1010

1111
/**
1212
* @api
13-
* @since 101.1.0
13+
* @since 102.0.0
1414
*/
1515
interface CategoryLinkInterface extends ExtensibleDataInterface
1616
{
1717
/**
1818
* @return int|null
19-
* @since 101.1.0
19+
* @since 102.0.0
2020
*/
2121
public function getPosition();
2222

2323
/**
2424
* @param int $position
2525
* @return $this
26-
* @since 101.1.0
26+
* @since 102.0.0
2727
*/
2828
public function setPosition($position);
2929

3030
/**
3131
* Get category id
3232
*
3333
* @return string
34-
* @since 101.1.0
34+
* @since 102.0.0
3535
*/
3636
public function getCategoryId();
3737

@@ -40,15 +40,15 @@ public function getCategoryId();
4040
*
4141
* @param string $categoryId
4242
* @return $this
43-
* @since 101.1.0
43+
* @since 102.0.0
4444
*/
4545
public function setCategoryId($categoryId);
4646

4747
/**
4848
* Retrieve existing extension attributes object.
4949
*
5050
* @return \Magento\Catalog\Api\Data\CategoryLinkExtensionInterface|null
51-
* @since 101.1.0
51+
* @since 102.0.0
5252
*/
5353
public function getExtensionAttributes();
5454

@@ -57,7 +57,7 @@ public function getExtensionAttributes();
5757
*
5858
* @param \Magento\Catalog\Api\Data\CategoryLinkExtensionInterface $extensionAttributes
5959
* @return $this
60-
* @since 101.1.0
60+
* @since 102.0.0
6161
*/
6262
public function setExtensionAttributes(
6363
\Magento\Catalog\Api\Data\CategoryLinkExtensionInterface $extensionAttributes

app/code/Magento/Catalog/Api/Data/CategorySearchResultsInterface.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99

1010
/**
1111
* @api
12-
* @since 101.1.0
12+
* @since 102.0.0
1313
*/
1414
interface CategorySearchResultsInterface extends SearchResultsInterface
1515
{
1616
/**
1717
* Get categories
1818
*
1919
* @return \Magento\Catalog\Api\Data\CategoryInterface[]
20-
* @since 101.1.0
20+
* @since 102.0.0
2121
*/
2222
public function getItems();
2323

@@ -26,7 +26,7 @@ public function getItems();
2626
*
2727
* @param \Magento\Catalog\Api\Data\CategoryInterface[] $items
2828
* @return $this
29-
* @since 101.1.0
29+
* @since 102.0.0
3030
*/
3131
public function setItems(array $items);
3232
}

app/code/Magento/Catalog/Api/Data/CostInterface.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
/**
1010
* Cost interface.
1111
* @api
12-
* @since 101.1.0
12+
* @since 102.0.0
1313
*/
1414
interface CostInterface extends \Magento\Framework\Api\ExtensibleDataInterface
1515
{
@@ -26,15 +26,15 @@ interface CostInterface extends \Magento\Framework\Api\ExtensibleDataInterface
2626
*
2727
* @param float $cost
2828
* @return $this
29-
* @since 101.1.0
29+
* @since 102.0.0
3030
*/
3131
public function setCost($cost);
3232

3333
/**
3434
* Get cost value.
3535
*
3636
* @return float
37-
* @since 101.1.0
37+
* @since 102.0.0
3838
*/
3939
public function getCost();
4040

@@ -43,15 +43,15 @@ public function getCost();
4343
*
4444
* @param int $storeId
4545
* @return $this
46-
* @since 101.1.0
46+
* @since 102.0.0
4747
*/
4848
public function setStoreId($storeId);
4949

5050
/**
5151
* Get store id.
5252
*
5353
* @return int
54-
* @since 101.1.0
54+
* @since 102.0.0
5555
*/
5656
public function getStoreId();
5757

@@ -60,23 +60,23 @@ public function getStoreId();
6060
*
6161
* @param string $sku
6262
* @return $this
63-
* @since 101.1.0
63+
* @since 102.0.0
6464
*/
6565
public function setSku($sku);
6666

6767
/**
6868
* Get SKU.
6969
*
7070
* @return string
71-
* @since 101.1.0
71+
* @since 102.0.0
7272
*/
7373
public function getSku();
7474

7575
/**
7676
* Retrieve existing extension attributes object or create a new one.
7777
*
7878
* @return \Magento\Catalog\Api\Data\CostExtensionInterface|null
79-
* @since 101.1.0
79+
* @since 102.0.0
8080
*/
8181
public function getExtensionAttributes();
8282

@@ -85,7 +85,7 @@ public function getExtensionAttributes();
8585
*
8686
* @param \Magento\Catalog\Api\Data\CostExtensionInterface $extensionAttributes
8787
* @return $this
88-
* @since 101.1.0
88+
* @since 102.0.0
8989
*/
9090
public function setExtensionAttributes(
9191
\Magento\Catalog\Api\Data\CostExtensionInterface $extensionAttributes

0 commit comments

Comments
 (0)