Skip to content

Commit

Permalink
Updated deprecation doc annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
magento-team committed Nov 23, 2018
1 parent ff6d1b8 commit f4c1d75
Show file tree
Hide file tree
Showing 867 changed files with 1,462 additions and 855 deletions.
1 change: 0 additions & 1 deletion app/code/Magento/Analytics/ReportXml/Query.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ public function getConfig()
* @link http://php.net/manual/en/jsonserializable.jsonserialize.php
* @return mixed data which can be serialized by <b>json_encode</b>,
* which is a value of any type other than a resource.
* @since 5.4.0
*/
public function jsonSerialize()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
/**
* "Reset to Defaults" button renderer
*
* @deprecated 100.2.0
* @deprecated 100.1.6
* @author Magento Core Team <[email protected]>
*/
class Reset extends \Magento\Config\Block\System\Config\Form\Field
Expand Down
1 change: 1 addition & 0 deletions app/code/Magento/Backend/Block/Widget/Grid/Massaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ public function __construct(
* @param array|DataObject $item
*
* @return $this
* @since 100.2.3
*/
public function addItem($itemId, $item)
{
Expand Down
1 change: 1 addition & 0 deletions app/code/Magento/Backup/Model/ResourceModel/Db.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ public function getTableForeignKeysSql($tableName = null)
* @param string|null $tableName
* @param bool $addDropIfExists
* @return string
* @since 100.2.3
*/
public function getTableTriggersSql($tableName = null, $addDropIfExists = true)
{
Expand Down
1 change: 1 addition & 0 deletions app/code/Magento/Backup/Model/ResourceModel/Helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ public function restoreTransactionIsolationLevel()
* @param boolean $addDropIfExists
* @param boolean $stripDefiner
* @return string
* @since 100.2.3
*/
public function getTableTriggersSql($tableName, $addDropIfExists = false, $stripDefiner = true)
{
Expand Down
4 changes: 2 additions & 2 deletions app/code/Magento/Bundle/Pricing/Price/BundleOptionPrice.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class BundleOptionPrice extends AbstractPrice implements BundleOptionPriceInterf

/**
* @var BundleSelectionFactory
* @deprecated
* @deprecated 100.2.3
*/
protected $selectionFactory;

Expand Down Expand Up @@ -79,7 +79,7 @@ public function getValue()
* Getter for maximal price of options.
*
* @return bool|float
* @deprecated
* @deprecated 100.2.3
*/
public function getMaxValue()
{
Expand Down
1 change: 1 addition & 0 deletions app/code/Magento/Bundle/Pricing/Price/ConfiguredPrice.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
/**
* Configured price model
* @api
* @since 100.0.2
*/
class ConfiguredPrice extends CatalogPrice\FinalPrice implements ConfiguredPriceInterface
{
Expand Down
6 changes: 3 additions & 3 deletions app/code/Magento/Catalog/Api/BasePriceStorageInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/**
* Base prices storage.
* @api
* @since 101.1.0
* @since 102.0.0
*/
interface BasePriceStorageInterface
{
Expand All @@ -18,7 +18,7 @@ interface BasePriceStorageInterface
*
* @param string[] $skus
* @return \Magento\Catalog\Api\Data\BasePriceInterface[]
* @since 101.1.0
* @since 102.0.0
*/
public function get(array $skus);

Expand All @@ -33,7 +33,7 @@ public function get(array $skus);
* @param \Magento\Catalog\Api\Data\BasePriceInterface[] $prices
* @return \Magento\Catalog\Api\Data\PriceUpdateResultInterface[]
* @throws \Magento\Framework\Exception\CouldNotSaveException
* @since 101.1.0
* @since 102.0.0
*/
public function update(array $prices);
}
4 changes: 2 additions & 2 deletions app/code/Magento/Catalog/Api/CategoryListInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

/**
* @api
* @since 101.1.0
* @since 102.0.0
*/
interface CategoryListInterface
{
Expand All @@ -16,7 +16,7 @@ interface CategoryListInterface
*
* @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria
* @return \Magento\Catalog\Api\Data\CategorySearchResultsInterface
* @since 101.1.0
* @since 102.0.0
*/
public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria);
}
8 changes: 4 additions & 4 deletions app/code/Magento/Catalog/Api/CostStorageInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/**
* Product cost storage.
* @api
* @since 101.1.0
* @since 102.0.0
*/
interface CostStorageInterface
{
Expand All @@ -19,7 +19,7 @@ interface CostStorageInterface
* @param string[] $skus
* @return \Magento\Catalog\Api\Data\CostInterface[]
* @throws \Magento\Framework\Exception\NoSuchEntityException
* @since 101.1.0
* @since 102.0.0
*/
public function get(array $skus);

Expand All @@ -33,7 +33,7 @@ public function get(array $skus);
*
* @param \Magento\Catalog\Api\Data\CostInterface[] $prices
* @return \Magento\Catalog\Api\Data\PriceUpdateResultInterface[]
* @since 101.1.0
* @since 102.0.0
*/
public function update(array $prices);

Expand All @@ -45,7 +45,7 @@ public function update(array $prices);
* @return bool Will return True if deleted.
* @throws \Magento\Framework\Exception\NoSuchEntityException
* @throws \Magento\Framework\Exception\CouldNotDeleteException
* @since 101.1.0
* @since 102.0.0
*/
public function delete(array $skus);
}
18 changes: 9 additions & 9 deletions app/code/Magento/Catalog/Api/Data/BasePriceInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/**
* Price interface.
* @api
* @since 101.1.0
* @since 102.0.0
*/
interface BasePriceInterface extends \Magento\Framework\Api\ExtensibleDataInterface
{
Expand All @@ -26,15 +26,15 @@ interface BasePriceInterface extends \Magento\Framework\Api\ExtensibleDataInterf
*
* @param float $price
* @return $this
* @since 101.1.0
* @since 102.0.0
*/
public function setPrice($price);

/**
* Get price.
*
* @return float
* @since 101.1.0
* @since 102.0.0
*/
public function getPrice();

Expand All @@ -43,15 +43,15 @@ public function getPrice();
*
* @param int $storeId
* @return $this
* @since 101.1.0
* @since 102.0.0
*/
public function setStoreId($storeId);

/**
* Get store id.
*
* @return int
* @since 101.1.0
* @since 102.0.0
*/
public function getStoreId();

Expand All @@ -60,23 +60,23 @@ public function getStoreId();
*
* @param string $sku
* @return $this
* @since 101.1.0
* @since 102.0.0
*/
public function setSku($sku);

/**
* Get SKU.
*
* @return string
* @since 101.1.0
* @since 102.0.0
*/
public function getSku();

/**
* Retrieve existing extension attributes object or create a new one.
*
* @return \Magento\Catalog\Api\Data\BasePriceExtensionInterface|null
* @since 101.1.0
* @since 102.0.0
*/
public function getExtensionAttributes();

Expand All @@ -85,7 +85,7 @@ public function getExtensionAttributes();
*
* @param \Magento\Catalog\Api\Data\BasePriceExtensionInterface $extensionAttributes
* @return $this
* @since 101.1.0
* @since 102.0.0
*/
public function setExtensionAttributes(
\Magento\Catalog\Api\Data\BasePriceExtensionInterface $extensionAttributes
Expand Down
14 changes: 7 additions & 7 deletions app/code/Magento/Catalog/Api/Data/CategoryLinkInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,28 @@

/**
* @api
* @since 101.1.0
* @since 102.0.0
*/
interface CategoryLinkInterface extends ExtensibleDataInterface
{
/**
* @return int|null
* @since 101.1.0
* @since 102.0.0
*/
public function getPosition();

/**
* @param int $position
* @return $this
* @since 101.1.0
* @since 102.0.0
*/
public function setPosition($position);

/**
* Get category id
*
* @return string
* @since 101.1.0
* @since 102.0.0
*/
public function getCategoryId();

Expand All @@ -40,15 +40,15 @@ public function getCategoryId();
*
* @param string $categoryId
* @return $this
* @since 101.1.0
* @since 102.0.0
*/
public function setCategoryId($categoryId);

/**
* Retrieve existing extension attributes object.
*
* @return \Magento\Catalog\Api\Data\CategoryLinkExtensionInterface|null
* @since 101.1.0
* @since 102.0.0
*/
public function getExtensionAttributes();

Expand All @@ -57,7 +57,7 @@ public function getExtensionAttributes();
*
* @param \Magento\Catalog\Api\Data\CategoryLinkExtensionInterface $extensionAttributes
* @return $this
* @since 101.1.0
* @since 102.0.0
*/
public function setExtensionAttributes(
\Magento\Catalog\Api\Data\CategoryLinkExtensionInterface $extensionAttributes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@

/**
* @api
* @since 101.1.0
* @since 102.0.0
*/
interface CategorySearchResultsInterface extends SearchResultsInterface
{
/**
* Get categories
*
* @return \Magento\Catalog\Api\Data\CategoryInterface[]
* @since 101.1.0
* @since 102.0.0
*/
public function getItems();

Expand All @@ -26,7 +26,7 @@ public function getItems();
*
* @param \Magento\Catalog\Api\Data\CategoryInterface[] $items
* @return $this
* @since 101.1.0
* @since 102.0.0
*/
public function setItems(array $items);
}
18 changes: 9 additions & 9 deletions app/code/Magento/Catalog/Api/Data/CostInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/**
* Cost interface.
* @api
* @since 101.1.0
* @since 102.0.0
*/
interface CostInterface extends \Magento\Framework\Api\ExtensibleDataInterface
{
Expand All @@ -26,15 +26,15 @@ interface CostInterface extends \Magento\Framework\Api\ExtensibleDataInterface
*
* @param float $cost
* @return $this
* @since 101.1.0
* @since 102.0.0
*/
public function setCost($cost);

/**
* Get cost value.
*
* @return float
* @since 101.1.0
* @since 102.0.0
*/
public function getCost();

Expand All @@ -43,15 +43,15 @@ public function getCost();
*
* @param int $storeId
* @return $this
* @since 101.1.0
* @since 102.0.0
*/
public function setStoreId($storeId);

/**
* Get store id.
*
* @return int
* @since 101.1.0
* @since 102.0.0
*/
public function getStoreId();

Expand All @@ -60,23 +60,23 @@ public function getStoreId();
*
* @param string $sku
* @return $this
* @since 101.1.0
* @since 102.0.0
*/
public function setSku($sku);

/**
* Get SKU.
*
* @return string
* @since 101.1.0
* @since 102.0.0
*/
public function getSku();

/**
* Retrieve existing extension attributes object or create a new one.
*
* @return \Magento\Catalog\Api\Data\CostExtensionInterface|null
* @since 101.1.0
* @since 102.0.0
*/
public function getExtensionAttributes();

Expand All @@ -85,7 +85,7 @@ public function getExtensionAttributes();
*
* @param \Magento\Catalog\Api\Data\CostExtensionInterface $extensionAttributes
* @return $this
* @since 101.1.0
* @since 102.0.0
*/
public function setExtensionAttributes(
\Magento\Catalog\Api\Data\CostExtensionInterface $extensionAttributes
Expand Down
Loading

0 comments on commit f4c1d75

Please sign in to comment.