diff --git a/app/code/Magento/AdminNotification/Model/System/Message/Baseurl.php b/app/code/Magento/AdminNotification/Model/System/Message/Baseurl.php index 63e62abcb6733..f7374a961bc84 100644 --- a/app/code/Magento/AdminNotification/Model/System/Message/Baseurl.php +++ b/app/code/Magento/AdminNotification/Model/System/Message/Baseurl.php @@ -9,7 +9,7 @@ use Magento\Store\Model\Store; /** - * @deprecated 2.1.0 + * @deprecated 100.1.0 */ class Baseurl implements \Magento\Framework\Notification\MessageInterface { diff --git a/app/code/Magento/AdminNotification/Ui/Component/DataProvider/DataProvider.php b/app/code/Magento/AdminNotification/Ui/Component/DataProvider/DataProvider.php index a6b292b7e88f2..095f5113d1460 100644 --- a/app/code/Magento/AdminNotification/Ui/Component/DataProvider/DataProvider.php +++ b/app/code/Magento/AdminNotification/Ui/Component/DataProvider/DataProvider.php @@ -10,7 +10,7 @@ /** * @api - * @since 2.2.0 + * @since 100.2.0 */ class DataProvider extends \Magento\Ui\DataProvider\AbstractDataProvider { @@ -22,7 +22,7 @@ class DataProvider extends \Magento\Ui\DataProvider\AbstractDataProvider * @param SynchronizedFactory $messageCollectionFactory * @param array $meta * @param array $data - * @since 2.2.0 + * @since 100.2.0 */ public function __construct( $name, diff --git a/app/code/Magento/AdvancedPricingImportExport/Model/Export/AdvancedPricing.php b/app/code/Magento/AdvancedPricingImportExport/Model/Export/AdvancedPricing.php index 6a34541ac75d7..7ddd5e3bb2a36 100644 --- a/app/code/Magento/AdvancedPricingImportExport/Model/Export/AdvancedPricing.php +++ b/app/code/Magento/AdvancedPricingImportExport/Model/Export/AdvancedPricing.php @@ -329,7 +329,6 @@ protected function correctExportData($exportData) * * @param string $tierPricePercentage * @return string - * @since 2.2.0 */ private function tierPriceTypeValue($tierPricePercentage) { diff --git a/app/code/Magento/AdvancedPricingImportExport/Model/Import/AdvancedPricing.php b/app/code/Magento/AdvancedPricingImportExport/Model/Import/AdvancedPricing.php index 91b844e0c3587..23829d3725119 100644 --- a/app/code/Magento/AdvancedPricingImportExport/Model/Import/AdvancedPricing.php +++ b/app/code/Magento/AdvancedPricingImportExport/Model/Import/AdvancedPricing.php @@ -163,7 +163,6 @@ class AdvancedPricing extends \Magento\ImportExport\Model\Import\Entity\Abstract * Product entity link field * * @var string - * @since 2.1.0 */ private $productEntityLinkField; @@ -620,7 +619,6 @@ protected function processCountNewPrices(array $tierPrices) * Get product entity link field * * @return string - * @since 2.1.0 */ private function getProductEntityLinkField() { diff --git a/app/code/Magento/AdvancedPricingImportExport/Model/Import/AdvancedPricing/Validator/TierPriceType.php b/app/code/Magento/AdvancedPricingImportExport/Model/Import/AdvancedPricing/Validator/TierPriceType.php index 6d01d0c4e62d5..6aa59e6227a05 100644 --- a/app/code/Magento/AdvancedPricingImportExport/Model/Import/AdvancedPricing/Validator/TierPriceType.php +++ b/app/code/Magento/AdvancedPricingImportExport/Model/Import/AdvancedPricing/Validator/TierPriceType.php @@ -11,13 +11,11 @@ /** * Class TierPriceType validates tier price type. - * @since 2.2.0 */ class TierPriceType extends \Magento\CatalogImportExport\Model\Import\Product\Validator\AbstractImportValidator { /** * {@inheritdoc} - * @since 2.2.0 */ public function init($context) { @@ -29,7 +27,6 @@ public function init($context) * * @param array $value * @return bool - * @since 2.2.0 */ public function isValid($value) { diff --git a/app/code/Magento/Authorization/Model/Acl/Loader/Role.php b/app/code/Magento/Authorization/Model/Acl/Loader/Role.php index 5e1ce2c6f9700..c25acc1749a47 100644 --- a/app/code/Magento/Authorization/Model/Acl/Loader/Role.php +++ b/app/code/Magento/Authorization/Model/Acl/Loader/Role.php @@ -38,19 +38,16 @@ class Role implements \Magento\Framework\Acl\LoaderInterface /** * @var \Magento\Framework\Acl\Data\CacheInterface - * @since 2.2.0 */ private $aclDataCache; /** * @var Json - * @since 2.2.0 */ private $serializer; /** * @var string - * @since 2.2.0 */ private $cacheKey; @@ -110,7 +107,6 @@ public function populateAcl(\Magento\Framework\Acl $acl) * Get application ACL roles array * * @return array - * @since 2.2.0 */ private function getRolesArray() { diff --git a/app/code/Magento/Authorization/Model/Acl/Loader/Rule.php b/app/code/Magento/Authorization/Model/Acl/Loader/Rule.php index e1f22ed70c838..a42f09bdf2d7a 100644 --- a/app/code/Magento/Authorization/Model/Acl/Loader/Rule.php +++ b/app/code/Magento/Authorization/Model/Acl/Loader/Rule.php @@ -26,25 +26,21 @@ class Rule implements \Magento\Framework\Acl\LoaderInterface /** * @var \Magento\Framework\Acl\RootResource - * @since 2.2.0 */ private $_rootResource; /** * @var \Magento\Framework\Acl\Data\CacheInterface - * @since 2.2.0 */ private $aclDataCache; /** * @var Json - * @since 2.2.0 */ private $serializer; /** * @var string - * @since 2.2.0 */ private $cacheKey; @@ -104,7 +100,6 @@ public function populateAcl(\Magento\Framework\Acl $acl) * Get application ACL rules array. * * @return array - * @since 2.2.0 */ private function getRulesArray() { diff --git a/app/code/Magento/Authorization/Model/ResourceModel/Permissions/Collection.php b/app/code/Magento/Authorization/Model/ResourceModel/Permissions/Collection.php index 22949341fbeca..978848914384d 100644 --- a/app/code/Magento/Authorization/Model/ResourceModel/Permissions/Collection.php +++ b/app/code/Magento/Authorization/Model/ResourceModel/Permissions/Collection.php @@ -8,7 +8,7 @@ /** * Admin permissions collection * - * @deprecated 2.2.0 + * @deprecated 100.2.0 * @see \Magento\Authorization\Model\ResourceModel\Rules\Collection */ class Collection extends \Magento\Authorization\Model\ResourceModel\Rules\Collection diff --git a/app/code/Magento/Authorization/Model/ResourceModel/Rules.php b/app/code/Magento/Authorization/Model/ResourceModel/Rules.php index 869c5c97f82bd..5e4ae77731a0f 100644 --- a/app/code/Magento/Authorization/Model/ResourceModel/Rules.php +++ b/app/code/Magento/Authorization/Model/ResourceModel/Rules.php @@ -32,7 +32,6 @@ class Rules extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb /** * @var \Magento\Framework\Acl\Data\CacheInterface - * @since 2.2.0 */ private $aclDataCache; diff --git a/app/code/Magento/Authorizenet/Controller/Directpost/Payment/BackendResponse.php b/app/code/Magento/Authorizenet/Controller/Directpost/Payment/BackendResponse.php index 6414da8806205..ef54328601d04 100644 --- a/app/code/Magento/Authorizenet/Controller/Directpost/Payment/BackendResponse.php +++ b/app/code/Magento/Authorizenet/Controller/Directpost/Payment/BackendResponse.php @@ -17,7 +17,6 @@ class BackendResponse extends \Magento\Authorizenet\Controller\Directpost\Paymen * Action for Authorize.net SIM Relay Request. * * @return \Magento\Framework\Controller\ResultInterface - * @since 2.1.0 */ public function execute() { diff --git a/app/code/Magento/Authorizenet/Controller/Directpost/Payment/Place.php b/app/code/Magento/Authorizenet/Controller/Directpost/Payment/Place.php index a6671c977eb35..bdd0c4a424e99 100644 --- a/app/code/Magento/Authorizenet/Controller/Directpost/Payment/Place.php +++ b/app/code/Magento/Authorizenet/Controller/Directpost/Payment/Place.php @@ -50,7 +50,6 @@ class Place extends Payment * Logger for exception details * * @var LoggerInterface - * @since 2.2.0 */ private $logger; diff --git a/app/code/Magento/Authorizenet/Model/Directpost.php b/app/code/Magento/Authorizenet/Model/Directpost.php index c1acd88db6dee..0f10fd633cb5b 100644 --- a/app/code/Magento/Authorizenet/Model/Directpost.php +++ b/app/code/Magento/Authorizenet/Model/Directpost.php @@ -120,7 +120,6 @@ class Directpost extends \Magento\Authorizenet\Model\Authorizenet implements Tra /** * @var \Psr\Log\LoggerInterface - * @since 2.1.0 */ private $psrLogger; @@ -984,8 +983,7 @@ protected function getTransactionResponse($transactionId) /** * @return \Psr\Log\LoggerInterface * - * @deprecated 2.1.0 - * @since 2.1.0 + * @deprecated 100.1.0 */ private function getPsrLogger() { @@ -1002,7 +1000,6 @@ private function getPsrLogger() * * @param string $fdsFilterAction * @return bool - * @since 2.2.0 */ private function fdsFilterActionIsReportOnly($fdsFilterAction) { diff --git a/app/code/Magento/Backend/App/Action/Plugin/MassactionKey.php b/app/code/Magento/Backend/App/Action/Plugin/MassactionKey.php index 6e9b305eac5c0..50c2bf325ffd6 100644 --- a/app/code/Magento/Backend/App/Action/Plugin/MassactionKey.php +++ b/app/code/Magento/Backend/App/Action/Plugin/MassactionKey.php @@ -24,7 +24,6 @@ class MassactionKey * * @return void * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.2.0 */ public function beforeDispatch(AbstractAction $subject, RequestInterface $request) { diff --git a/app/code/Magento/Backend/App/Config.php b/app/code/Magento/Backend/App/Config.php index 96eed3fb76afd..bb60a1e69dd47 100644 --- a/app/code/Magento/Backend/App/Config.php +++ b/app/code/Magento/Backend/App/Config.php @@ -18,13 +18,11 @@ class Config implements ConfigInterface { /** * @var \Magento\Framework\App\Config - * @since 2.1.3 */ protected $appConfig; /** * @var array - * @since 2.1.3 */ private $data; diff --git a/app/code/Magento/Backend/App/ConfigInterface.php b/app/code/Magento/Backend/App/ConfigInterface.php index 91467ef3cbaea..eb569ceb87561 100644 --- a/app/code/Magento/Backend/App/ConfigInterface.php +++ b/app/code/Magento/Backend/App/ConfigInterface.php @@ -27,7 +27,7 @@ public function getValue($path); /** * Set config value * - * @deprecated 2.1.3 + * @deprecated 100.1.2 * @param string $path * @param mixed $value * @return void diff --git a/app/code/Magento/Backend/Block/AnchorRenderer.php b/app/code/Magento/Backend/Block/AnchorRenderer.php index 859f9fb627791..38956dc7d5575 100644 --- a/app/code/Magento/Backend/Block/AnchorRenderer.php +++ b/app/code/Magento/Backend/Block/AnchorRenderer.php @@ -10,26 +10,22 @@ /** * Class AnchorRenderer - * @since 2.2.0 */ class AnchorRenderer { /** * @var MenuItemChecker - * @since 2.2.0 */ private $menuItemChecker; /** * @var Escaper - * @since 2.2.0 */ private $escaper; /** * @param MenuItemChecker $menuItemChecker * @param Escaper $escaper - * @since 2.2.0 */ public function __construct( MenuItemChecker $menuItemChecker, @@ -49,7 +45,6 @@ public function __construct( * @param Item $menuItem * @param int $level * @return string - * @since 2.2.0 */ public function renderAnchor($activeItem, Item $menuItem, $level) { @@ -79,7 +74,6 @@ public function renderAnchor($activeItem, Item $menuItem, $level) * * @param Item $menuItem * @return string - * @since 2.2.0 */ private function _renderItemAnchorTitle($menuItem) { @@ -91,7 +85,6 @@ private function _renderItemAnchorTitle($menuItem) * * @param Item $menuItem * @return string - * @since 2.2.0 */ private function _renderItemOnclickFunction($menuItem) { diff --git a/app/code/Magento/Backend/Block/Cache/Grid/Massaction/ProductionModeVisibilityChecker.php b/app/code/Magento/Backend/Block/Cache/Grid/Massaction/ProductionModeVisibilityChecker.php index 925dc91be041e..b545224bdf5c5 100644 --- a/app/code/Magento/Backend/Block/Cache/Grid/Massaction/ProductionModeVisibilityChecker.php +++ b/app/code/Magento/Backend/Block/Cache/Grid/Massaction/ProductionModeVisibilityChecker.php @@ -10,19 +10,16 @@ /** * Class checks that action can be displayed on massaction list - * @since 2.2.0 */ class ProductionModeVisibilityChecker implements VisibilityCheckerInterface { /** * @var State - * @since 2.2.0 */ private $state; /** * @param State $state - * @since 2.2.0 */ public function __construct(State $state) { @@ -31,7 +28,6 @@ public function __construct(State $state) /** * {@inheritdoc} - * @since 2.2.0 */ public function isVisible() { diff --git a/app/code/Magento/Backend/Block/Menu.php b/app/code/Magento/Backend/Block/Menu.php index a584edda0da04..1b031f538c07d 100644 --- a/app/code/Magento/Backend/Block/Menu.php +++ b/app/code/Magento/Backend/Block/Menu.php @@ -67,13 +67,11 @@ class Menu extends \Magento\Backend\Block\Template /** * @var MenuItemChecker - * @since 2.2.0 */ private $menuItemChecker; /** * @var AnchorRenderer - * @since 2.2.0 */ private $anchorRenderer; diff --git a/app/code/Magento/Backend/Block/MenuItemChecker.php b/app/code/Magento/Backend/Block/MenuItemChecker.php index 1d55395c418e1..dd3095a9dec56 100644 --- a/app/code/Magento/Backend/Block/MenuItemChecker.php +++ b/app/code/Magento/Backend/Block/MenuItemChecker.php @@ -9,7 +9,6 @@ /** * Class MenuItemChecker - * @since 2.2.0 */ class MenuItemChecker { @@ -23,7 +22,6 @@ class MenuItemChecker * @param Item $item * @param int $level * @return bool - * @since 2.2.0 */ public function isItemActive($activeItem, Item $item, $level) { @@ -42,7 +40,6 @@ public function isItemActive($activeItem, Item $item, $level) * @param Item $activeItem, * @param Item $item * @return bool - * @since 2.2.0 */ private function isActiveItemEqualOrChild($activeItem, $item) { diff --git a/app/code/Magento/Backend/Block/Page/Footer.php b/app/code/Magento/Backend/Block/Page/Footer.php index ef43eebc7d9de..273ded852abdf 100644 --- a/app/code/Magento/Backend/Block/Page/Footer.php +++ b/app/code/Magento/Backend/Block/Page/Footer.php @@ -20,7 +20,7 @@ class Footer extends \Magento\Backend\Block\Template /** * @var \Magento\Framework\App\ProductMetadataInterface - * @since 2.1.0 + * @since 100.1.0 */ protected $productMetadata; @@ -28,7 +28,7 @@ class Footer extends \Magento\Backend\Block\Template * @param \Magento\Backend\Block\Template\Context $context * @param \Magento\Framework\App\ProductMetadataInterface $productMetadata * @param array $data - * @since 2.1.0 + * @since 100.1.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -51,7 +51,7 @@ protected function _construct() * Get product version * * @return string - * @since 2.1.0 + * @since 100.1.0 */ public function getMagentoVersion() { diff --git a/app/code/Magento/Backend/Block/Page/System/Config/Robots/Reset.php b/app/code/Magento/Backend/Block/Page/System/Config/Robots/Reset.php index 9cee717cb585a..2abb987db0723 100644 --- a/app/code/Magento/Backend/Block/Page/System/Config/Robots/Reset.php +++ b/app/code/Magento/Backend/Block/Page/System/Config/Robots/Reset.php @@ -11,7 +11,7 @@ /** * "Reset to Defaults" button renderer * - * @deprecated 2.2.0 + * @deprecated 100.2.0 * @author Magento Core Team */ class Reset extends \Magento\Config\Block\System\Config\Form\Field diff --git a/app/code/Magento/Backend/Block/System/Account/Edit/Form.php b/app/code/Magento/Backend/Block/System/Account/Edit/Form.php index 64bc057402bdd..7c5246143b2c6 100644 --- a/app/code/Magento/Backend/Block/System/Account/Edit/Form.php +++ b/app/code/Magento/Backend/Block/System/Account/Edit/Form.php @@ -36,7 +36,6 @@ class Form extends \Magento\Backend\Block\Widget\Form\Generic * Operates with deployed locales. * * @var OptionInterface - * @since 2.2.0 */ private $deployedLocales; diff --git a/app/code/Magento/Backend/Block/System/Store/Edit.php b/app/code/Magento/Backend/Block/System/Store/Edit.php index 43e4987090fe9..a06731676b13a 100644 --- a/app/code/Magento/Backend/Block/System/Store/Edit.php +++ b/app/code/Magento/Backend/Block/System/Store/Edit.php @@ -24,7 +24,6 @@ class Edit extends \Magento\Backend\Block\Widget\Form\Container /** * @var SerializerInterface - * @since 2.2.0 */ private $serializer; @@ -146,7 +145,7 @@ protected function _buildFormClassName() * Get data for store edit * * @return string - * @since 2.2.0 + * @since 100.2.0 */ public function getStoreData() { diff --git a/app/code/Magento/Backend/Block/System/Store/Edit/Form/Store.php b/app/code/Magento/Backend/Block/System/Store/Edit/Form/Store.php index 10e8a24c474f8..dfbf60e1524ff 100644 --- a/app/code/Magento/Backend/Block/System/Store/Edit/Form/Store.php +++ b/app/code/Magento/Backend/Block/System/Store/Edit/Form/Store.php @@ -178,7 +178,6 @@ protected function _getStoreGroups() * @param \Magento\Store\Model\Store $storeModel * @param \Magento\Framework\Data\Form\Element\Fieldset $fieldset * @return \Magento\Framework\Data\Form\Element\Fieldset - * @since 2.1.0 */ private function prepareGroupIdField( \Magento\Framework\Data\Form $form, diff --git a/app/code/Magento/Backend/Block/Template.php b/app/code/Magento/Backend/Block/Template.php index 70af35d455877..3c8d3a1135565 100644 --- a/app/code/Magento/Backend/Block/Template.php +++ b/app/code/Magento/Backend/Block/Template.php @@ -84,7 +84,7 @@ public function getFormKey() * * @param string $moduleName Full module name * @return boolean - * @deprecated 2.2.0 Magento does not support custom disabling/enabling module output since 2.2.0 version + * @deprecated 100.2.0 Magento does not support custom disabling/enabling module output since 2.2.0 version * @SuppressWarnings(PHPMD.UnusedFormalParameter) */ public function isOutputEnabled($moduleName = null) diff --git a/app/code/Magento/Backend/Block/Widget/Form.php b/app/code/Magento/Backend/Block/Widget/Form.php index 75e9a4d9528cc..c17f6e4b0f2d9 100644 --- a/app/code/Magento/Backend/Block/Widget/Form.php +++ b/app/code/Magento/Backend/Block/Widget/Form.php @@ -9,7 +9,7 @@ * Backend form widget * * @api - * @deprecated 2.2.0 in favour of UI component implementation + * @deprecated 100.2.0 in favour of UI component implementation * @SuppressWarnings(PHPMD.NumberOfChildren) */ class Form extends \Magento\Backend\Block\Widget diff --git a/app/code/Magento/Backend/Block/Widget/Form/Container.php b/app/code/Magento/Backend/Block/Widget/Form/Container.php index f0629de71d80e..c0d90e4c28735 100644 --- a/app/code/Magento/Backend/Block/Widget/Form/Container.php +++ b/app/code/Magento/Backend/Block/Widget/Form/Container.php @@ -9,7 +9,7 @@ * Backend form container block * * @api - * @deprecated 2.2.0 in favour of UI component implementation + * @deprecated 100.2.0 in favour of UI component implementation * @SuppressWarnings(PHPMD.NumberOfChildren) */ class Container extends \Magento\Backend\Block\Widget\Container diff --git a/app/code/Magento/Backend/Block/Widget/Form/Generic.php b/app/code/Magento/Backend/Block/Widget/Form/Generic.php index 3b4e64752930b..617ddd8bb8d86 100644 --- a/app/code/Magento/Backend/Block/Widget/Form/Generic.php +++ b/app/code/Magento/Backend/Block/Widget/Form/Generic.php @@ -7,7 +7,7 @@ /** * @api - * @deprecated 2.2.0 in favour of UI component implementation + * @deprecated 100.2.0 in favour of UI component implementation * @SuppressWarnings(PHPMD.NumberOfChildren) */ class Generic extends \Magento\Backend\Block\Widget\Form diff --git a/app/code/Magento/Backend/Block/Widget/Form/Renderer/Element.php b/app/code/Magento/Backend/Block/Widget/Form/Renderer/Element.php index a90e55ffcf412..fe67ac1d55e4c 100644 --- a/app/code/Magento/Backend/Block/Widget/Form/Renderer/Element.php +++ b/app/code/Magento/Backend/Block/Widget/Form/Renderer/Element.php @@ -13,7 +13,7 @@ * Form element default renderer * * @api - * @deprecated 2.2.0 in favour of UI component implementation + * @deprecated 100.2.0 in favour of UI component implementation */ class Element extends \Magento\Backend\Block\Template implements RendererInterface { diff --git a/app/code/Magento/Backend/Block/Widget/Form/Renderer/Fieldset/Element.php b/app/code/Magento/Backend/Block/Widget/Form/Renderer/Fieldset/Element.php index 79ec45f326fd0..f7f8afa268809 100644 --- a/app/code/Magento/Backend/Block/Widget/Form/Renderer/Fieldset/Element.php +++ b/app/code/Magento/Backend/Block/Widget/Form/Renderer/Fieldset/Element.php @@ -13,7 +13,7 @@ * Fieldset element renderer * * @api - * @deprecated 2.2.0 in favour of UI component implementation + * @deprecated 100.2.0 in favour of UI component implementation */ class Element extends \Magento\Backend\Block\Template implements RendererInterface { diff --git a/app/code/Magento/Backend/Block/Widget/Grid.php b/app/code/Magento/Backend/Block/Widget/Grid.php index 31746d2d67659..749d8d681d7e6 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid.php +++ b/app/code/Magento/Backend/Block/Widget/Grid.php @@ -10,7 +10,7 @@ * Backend grid widget block * * @api - * @deprecated 2.2.0 in favour of UI component implementation + * @deprecated 100.2.0 in favour of UI component implementation * @method string getRowClickCallback() getRowClickCallback() * @method \Magento\Backend\Block\Widget\Grid setRowClickCallback() setRowClickCallback(string $value) * @SuppressWarnings(PHPMD.TooManyFields) diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column.php b/app/code/Magento/Backend/Block/Widget/Grid/Column.php index 7f9ae78414146..721fb1bdebf50 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column.php @@ -11,7 +11,7 @@ * Grid column block * * @api - * @deprecated 2.2.0 in favour of UI component implementation + * @deprecated 100.2.0 in favour of UI component implementation */ class Column extends \Magento\Backend\Block\Widget { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Extended.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Extended.php index f5a61a1ce3fcc..56d1d77d0ff18 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Extended.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Extended.php @@ -7,7 +7,7 @@ /** * @api - * @deprecated 2.2.0 in favour of UI component implementation + * @deprecated 100.2.0 in favour of UI component implementation */ class Extended extends \Magento\Backend\Block\Widget\Grid\Column { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/AbstractFilter.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/AbstractFilter.php index 9641365aaf7b0..eeff7971b8288 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/AbstractFilter.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/AbstractFilter.php @@ -10,7 +10,7 @@ * Grid column filter block * * @api - * @deprecated 2.2.0 in favour of UI component implementation + * @deprecated 100.2.0 in favour of UI component implementation */ class AbstractFilter extends \Magento\Backend\Block\AbstractBlock implements \Magento\Backend\Block\Widget\Grid\Column\Filter\FilterInterface diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Select.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Select.php index 81c668c7284ef..0eae0737dda07 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Select.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Select.php @@ -9,7 +9,7 @@ * Select grid column filter * * @api - * @deprecated 2.2.0 in favour of UI component implementation + * @deprecated 100.2.0 in favour of UI component implementation */ class Select extends \Magento\Backend\Block\Widget\Grid\Column\Filter\AbstractFilter { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Multistore.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Multistore.php index 056cb01000b86..c2785fdb817bf 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Multistore.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Multistore.php @@ -9,7 +9,7 @@ * Grid column block that is displayed only in multistore mode * * @api - * @deprecated 2.2.0 in favour of UI component implementation + * @deprecated 100.2.0 in favour of UI component implementation */ class Multistore extends \Magento\Backend\Block\Widget\Grid\Column { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Action.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Action.php index 8c66e5f0097c5..d868d89062747 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Action.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Action.php @@ -10,7 +10,7 @@ * Grid column widget for rendering action grid cells * * @api - * @deprecated 2.2.0 in favour of UI component implementation + * @deprecated 100.2.0 in favour of UI component implementation */ class Action extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Text { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Checkbox.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Checkbox.php index 6396bf0fee15b..1f2eb27420d41 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Checkbox.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Checkbox.php @@ -9,7 +9,7 @@ * Grid checkbox column renderer * * @api - * @deprecated 2.2.0 in favour of UI component implementation + * @deprecated 100.2.0 in favour of UI component implementation */ class Checkbox extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Concat.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Concat.php index 9958001cae963..2d45c4911ee79 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Concat.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Concat.php @@ -9,7 +9,7 @@ * Backend grid item renderer concat * * @api - * @deprecated 2.2.0 in favour of UI component implementation + * @deprecated 100.2.0 in favour of UI component implementation */ class Concat extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Country.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Country.php index 91e3a51c98df0..5201d8ede960e 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Country.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Country.php @@ -9,7 +9,7 @@ * Country column type renderer * * @api - * @deprecated 2.2.0 in favour of UI component implementation + * @deprecated 100.2.0 in favour of UI component implementation */ class Country extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Date.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Date.php index d979204abe515..8c62a75290a5b 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Date.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Date.php @@ -10,7 +10,7 @@ /** * Backend grid item renderer date * @api - * @deprecated 2.2.0 in favour of UI component implementation + * @deprecated 100.2.0 in favour of UI component implementation */ class Date extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer { @@ -49,7 +49,7 @@ public function __construct( * Retrieve date format * * @return string - * @deprecated 2.1.0 + * @deprecated 100.1.0 */ protected function _getFormat() { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Datetime.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Datetime.php index 35c5abb85a107..d30c2c0cffcdc 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Datetime.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Datetime.php @@ -9,7 +9,7 @@ * Backend grid item renderer datetime * * @api - * @deprecated 2.2.0 in favour of UI component implementation + * @deprecated 100.2.0 in favour of UI component implementation */ class Datetime extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/DraggableHandle.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/DraggableHandle.php index f28f342bd5b65..d9254eb8a48a9 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/DraggableHandle.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/DraggableHandle.php @@ -7,7 +7,7 @@ /** * @api - * @deprecated 2.2.0 in favour of UI component implementation + * @deprecated 100.2.0 in favour of UI component implementation */ class DraggableHandle extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Input.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Input.php index 0458fb35ed5e2..682f6d735b4c0 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Input.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Input.php @@ -7,7 +7,7 @@ /** * @api - * @deprecated 2.2.0 in favour of UI component implementation + * @deprecated 100.2.0 in favour of UI component implementation */ class Input extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Ip.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Ip.php index 20bc85b802a2d..04d2dbeace264 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Ip.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Ip.php @@ -9,7 +9,7 @@ * Long INT to IP renderer * * @api - * @deprecated 2.2.0 in favour of UI component implementation + * @deprecated 100.2.0 in favour of UI component implementation */ class Ip extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Longtext.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Longtext.php index 81bd97bd2721a..522f57b83a4b5 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Longtext.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Longtext.php @@ -7,7 +7,7 @@ /** * @api - * @deprecated 2.2.0 in favour of UI component implementation + * @deprecated 100.2.0 in favour of UI component implementation */ class Longtext extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Massaction.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Massaction.php index 1fc4fc354b615..09a4f45a56225 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Massaction.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Massaction.php @@ -9,7 +9,7 @@ * Grid widget column renderer massaction * * @api - * @deprecated 2.2.0 in favour of UI component implementation + * @deprecated 100.2.0 in favour of UI component implementation */ class Massaction extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Checkbox { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Number.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Number.php index 4e5941bc401bb..9f7fcd89da479 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Number.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Number.php @@ -9,7 +9,7 @@ * Backend grid item renderer number * * @api - * @deprecated 2.2.0 in favour of UI component implementation + * @deprecated 100.2.0 in favour of UI component implementation */ class Number extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Options.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Options.php index c927d07db26dc..00284a5bb04c1 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Options.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Options.php @@ -9,7 +9,7 @@ * Grid column widget for rendering grid cells that contains mapped values * * @api - * @deprecated 2.2.0 in favour of UI component implementation + * @deprecated 100.2.0 in favour of UI component implementation */ class Options extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Text { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Price.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Price.php index a78c7cf26611e..7ac4aedcee992 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Price.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Price.php @@ -9,7 +9,7 @@ * Backend grid item renderer currency * * @api - * @deprecated 2.2.0 in favour of UI component implementation + * @deprecated 100.2.0 in favour of UI component implementation */ class Price extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Radio.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Radio.php index 4103fddbc6f2f..373ba5f0e3085 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Radio.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Radio.php @@ -9,7 +9,7 @@ * Grid radiogroup column renderer * * @api - * @deprecated 2.2.0 in favour of UI component implementation + * @deprecated 100.2.0 in favour of UI component implementation */ class Radio extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/RendererInterface.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/RendererInterface.php index 37028e917d5d5..3f6053206ae70 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/RendererInterface.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/RendererInterface.php @@ -11,7 +11,7 @@ * Backend grid item renderer interface * * @api - * @deprecated 2.2.0 in favour of UI component implementation + * @deprecated 100.2.0 in favour of UI component implementation */ interface RendererInterface { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Store.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Store.php index c79ac3d8a3c85..146c80542b81d 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Store.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Store.php @@ -8,7 +8,7 @@ /** * Store grid column filter * @api - * @deprecated 2.2.0 in favour of UI component implementation + * @deprecated 100.2.0 in favour of UI component implementation */ class Store extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Text.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Text.php index 5225f1038a738..94a40fe6afb4f 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Text.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Text.php @@ -11,7 +11,7 @@ * Backend grid item renderer * * @api - * @deprecated 2.2.0 in favour of UI component implementation + * @deprecated 100.2.0 in favour of UI component implementation */ class Text extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer { @@ -41,7 +41,6 @@ public function _getValue(DataObject $row) * * @param DataObject $row * @return string - * @since 2.2.0 */ private function getSimpleValue(DataObject $row) { @@ -58,7 +57,6 @@ private function getSimpleValue(DataObject $row) * * @param DataObject $row * @return string - * @since 2.2.0 */ private function getFormattedValue(DataObject $row) { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/ColumnSet.php b/app/code/Magento/Backend/Block/Widget/Grid/ColumnSet.php index e001c413d9640..de61ab3473985 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/ColumnSet.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/ColumnSet.php @@ -7,7 +7,7 @@ /** * @api - * @deprecated 2.2.0 in favour of UI component implementation + * @deprecated 100.2.0 in favour of UI component implementation * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ class ColumnSet extends \Magento\Framework\View\Element\Template diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Container.php b/app/code/Magento/Backend/Block/Widget/Grid/Container.php index 93e3ab257ab29..03018752304b0 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Container.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Container.php @@ -11,7 +11,7 @@ * * @SuppressWarnings(PHPMD.NumberOfChildren) * @api - * @deprecated 2.2.0 in favour of UI component implementation + * @deprecated 100.2.0 in favour of UI component implementation */ class Container extends \Magento\Backend\Block\Widget\Container { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Export.php b/app/code/Magento/Backend/Block/Widget/Grid/Export.php index d829e14202c4d..160083cf7cb27 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Export.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Export.php @@ -10,7 +10,7 @@ /** * @api - * @deprecated 2.2.0 in favour of UI component implementation + * @deprecated 100.2.0 in favour of UI component implementation * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ class Export extends \Magento\Backend\Block\Widget implements \Magento\Backend\Block\Widget\Grid\ExportInterface diff --git a/app/code/Magento/Backend/Block/Widget/Grid/ExportInterface.php b/app/code/Magento/Backend/Block/Widget/Grid/ExportInterface.php index 335f17ea00cfa..d7b2539356b45 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/ExportInterface.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/ExportInterface.php @@ -9,7 +9,7 @@ * Interface ExportInterface * * @api - * @deprecated 2.2.0 in favour of UI component implementation + * @deprecated 100.2.0 in favour of UI component implementation */ interface ExportInterface { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Extended.php b/app/code/Magento/Backend/Block/Widget/Grid/Extended.php index 9fb37fb840f84..a6ff4dc24b4ef 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Extended.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Extended.php @@ -9,7 +9,7 @@ /** * @api - * @deprecated 2.2.0 in favour of UI component implementation + * @deprecated 100.2.0 in favour of UI component implementation * @SuppressWarnings(PHPMD.ExcessivePublicCount) * @SuppressWarnings(PHPMD.TooManyFields) * @SuppressWarnings(PHPMD.ExcessiveClassComplexity) diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Massaction.php b/app/code/Magento/Backend/Block/Widget/Grid/Massaction.php index a768e3e17dca6..6499ae87db85a 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Massaction.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Massaction.php @@ -9,7 +9,7 @@ * Grid widget massaction default block * * @api - * @deprecated 2.2.0 in favour of UI component implementation + * @deprecated 100.2.0 in favour of UI component implementation */ class Massaction extends \Magento\Backend\Block\Widget\Grid\Massaction\AbstractMassaction { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Massaction/AbstractMassaction.php b/app/code/Magento/Backend/Block/Widget/Grid/Massaction/AbstractMassaction.php index 0a72c459c7ae0..7f6154a7f9050 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Massaction/AbstractMassaction.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Massaction/AbstractMassaction.php @@ -14,7 +14,7 @@ * @api * @method \Magento\Quote\Model\Quote setHideFormElement(boolean $value) Hide Form element to prevent IE errors * @method boolean getHideFormElement() - * @deprecated 2.2.0 in favour of UI component implementation + * @deprecated 100.2.0 in favour of UI component implementation */ abstract class AbstractMassaction extends \Magento\Backend\Block\Widget { @@ -103,7 +103,6 @@ public function addItem($itemId, $item) * * @param DataObject $item * @return bool - * @since 2.2.0 */ private function isVisible(DataObject $item) { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Massaction/Additional.php b/app/code/Magento/Backend/Block/Widget/Grid/Massaction/Additional.php index 20e394c17d477..1dc2e7f3f6379 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Massaction/Additional.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Massaction/Additional.php @@ -9,7 +9,7 @@ * @api * @SuppressWarnings(PHPMD.DepthOfInheritance) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @deprecated 2.2.0 in favour of UI component implementation + * @deprecated 100.2.0 in favour of UI component implementation */ class Additional extends \Magento\Backend\Block\Widget\Form\Generic { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Massaction/Extended.php b/app/code/Magento/Backend/Block/Widget/Grid/Massaction/Extended.php index ac47f22a74ec8..b2918c8bd2560 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Massaction/Extended.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Massaction/Extended.php @@ -9,7 +9,7 @@ * Grid widget massaction block * * @api - * @deprecated 2.2.0 in favour of UI component implementation + * @deprecated 100.2.0 in favour of UI component implementation * @method \Magento\Quote\Model\Quote setHideFormElement(boolean $value) Hide Form element to prevent IE errors * @method boolean getHideFormElement() * @author Magento Core Team diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Massaction/Item.php b/app/code/Magento/Backend/Block/Widget/Grid/Massaction/Item.php index 27de7eecded70..305a92c7f610c 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Massaction/Item.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Massaction/Item.php @@ -9,7 +9,7 @@ * Grid widget massaction single action item * * @api - * @deprecated 2.2.0 in favour of UI component implementation + * @deprecated 100.2.0 in favour of UI component implementation */ class Item extends \Magento\Backend\Block\Widget { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Massaction/VisibilityCheckerInterface.php b/app/code/Magento/Backend/Block/Widget/Grid/Massaction/VisibilityCheckerInterface.php index 46a00a77ec973..08bce36930b73 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Massaction/VisibilityCheckerInterface.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Massaction/VisibilityCheckerInterface.php @@ -9,7 +9,7 @@ /** * @api - * @since 2.2.0 + * @since 100.2.0 */ interface VisibilityCheckerInterface extends ArgumentInterface { @@ -17,7 +17,7 @@ interface VisibilityCheckerInterface extends ArgumentInterface * Check that action can be displayed on massaction list * * @return bool - * @since 2.2.0 + * @since 100.2.0 */ public function isVisible(); } diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Serializer.php b/app/code/Magento/Backend/Block/Widget/Grid/Serializer.php index 34424f037c424..e0541b1d0dbcc 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Serializer.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Serializer.php @@ -7,7 +7,7 @@ /** * @api - * @deprecated 2.2.0 in favour of UI component implementation + * @deprecated 100.2.0 in favour of UI component implementation * @method string|array getInputNames() */ class Serializer extends \Magento\Framework\View\Element\Template diff --git a/app/code/Magento/Backend/Controller/Adminhtml/Cache/MassDisable.php b/app/code/Magento/Backend/Controller/Adminhtml/Cache/MassDisable.php index 669cffc536817..204105852b9f1 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/Cache/MassDisable.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/Cache/MassDisable.php @@ -18,7 +18,6 @@ class MassDisable extends \Magento\Backend\Controller\Adminhtml\Cache { /** * @var State - * @since 2.2.0 */ private $state; @@ -42,7 +41,6 @@ public function execute() * Disable cache * * @return void - * @since 2.2.0 */ private function disableCache() { @@ -75,8 +73,7 @@ private function disableCache() * Get State Instance * * @return State - * @deprecated 2.2.0 - * @since 2.2.0 + * @deprecated 100.2.0 */ private function getState() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/Cache/MassEnable.php b/app/code/Magento/Backend/Controller/Adminhtml/Cache/MassEnable.php index 99fefc6fe50d4..32acf47887c44 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/Cache/MassEnable.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/Cache/MassEnable.php @@ -18,7 +18,6 @@ class MassEnable extends \Magento\Backend\Controller\Adminhtml\Cache { /** * @var State - * @since 2.2.0 */ private $state; @@ -42,7 +41,6 @@ public function execute() * Enable cache * * @return void - * @since 2.2.0 */ private function enableCache() { @@ -74,8 +72,7 @@ private function enableCache() * Get State Instance * * @return State - * @deprecated 2.2.0 - * @since 2.2.0 + * @deprecated 100.2.0 */ private function getState() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/System/Account/Save.php b/app/code/Magento/Backend/Controller/Adminhtml/System/Account/Save.php index 32f476ef95b32..c9bce1cbf3888 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/System/Account/Save.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/System/Account/Save.php @@ -19,7 +19,6 @@ class Save extends \Magento\Backend\Controller\Adminhtml\System\Account { /** * @var SecurityCookie - * @since 2.1.0 */ private $securityCookie; @@ -27,8 +26,7 @@ class Save extends \Magento\Backend\Controller\Adminhtml\System\Account * Get security cookie * * @return SecurityCookie - * @deprecated 2.1.0 - * @since 2.1.0 + * @deprecated 100.1.0 */ private function getSecurityCookie() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/System/Store/Save.php b/app/code/Magento/Backend/Controller/Adminhtml/System/Store/Save.php index 0976e37cb57ae..1d6862a6ff845 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/System/Store/Save.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/System/Store/Save.php @@ -18,7 +18,6 @@ class Save extends \Magento\Backend\Controller\Adminhtml\System\Store * * @param array $postData * @return array - * @since 2.2.0 */ private function processWebsiteSave($postData) { @@ -44,7 +43,6 @@ private function processWebsiteSave($postData) * @param array $postData * @throws \Magento\Framework\Exception\LocalizedException * @return array - * @since 2.2.0 */ private function processStoreSave($postData) { @@ -85,7 +83,6 @@ private function processStoreSave($postData) * @param array $postData * @throws \Magento\Framework\Exception\LocalizedException * @return array - * @since 2.2.0 */ private function processGroupSave($postData) { @@ -164,7 +161,6 @@ public function execute() * @param array $postData * @param \Magento\Store\Model\Group $groupModel * @return bool - * @since 2.1.0 */ private function isSelectedDefaultStoreActive(array $postData, \Magento\Store\Model\Group $groupModel) { diff --git a/app/code/Magento/Backend/Helper/Dashboard/Order.php b/app/code/Magento/Backend/Helper/Dashboard/Order.php index 3c45ee69b6a06..7a17614cf7d13 100644 --- a/app/code/Magento/Backend/Helper/Dashboard/Order.php +++ b/app/code/Magento/Backend/Helper/Dashboard/Order.php @@ -21,7 +21,7 @@ class Order extends \Magento\Backend\Helper\Dashboard\AbstractDashboard /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.5 + * @since 100.0.6 */ protected $_storeManager; @@ -42,8 +42,7 @@ public function __construct( * * @return \Magento\Store\Model\StoreManagerInterface * - * @deprecated 2.1.0 - * @since 2.0.5 + * @deprecated 100.1.0 */ private function getStoreManager() { diff --git a/app/code/Magento/Backend/Helper/Data.php b/app/code/Magento/Backend/Helper/Data.php index 7e7722195133f..caef58de41bce 100644 --- a/app/code/Magento/Backend/Helper/Data.php +++ b/app/code/Magento/Backend/Helper/Data.php @@ -9,7 +9,7 @@ /** * @api - * @deprecated 2.2.0 + * @deprecated 100.2.0 * @SuppressWarnings(PHPMD.LongVariable) */ class Data extends AbstractHelper diff --git a/app/code/Magento/Backend/Model/Config/SessionLifetime/BackendModel.php b/app/code/Magento/Backend/Model/Config/SessionLifetime/BackendModel.php index c9eb4ac25069e..09f33abd0d44d 100644 --- a/app/code/Magento/Backend/Model/Config/SessionLifetime/BackendModel.php +++ b/app/code/Magento/Backend/Model/Config/SessionLifetime/BackendModel.php @@ -11,7 +11,7 @@ /** * Backend model for the admin/security/session_lifetime configuration field. Validates session lifetime. * @api - * @since 2.1.0 + * @since 100.1.0 */ class BackendModel extends Value { @@ -22,7 +22,7 @@ class BackendModel extends Value const MIN_LIFETIME = 60; /** - * @since 2.1.0 + * @since 100.1.0 */ public function beforeSave() { diff --git a/app/code/Magento/Backend/Model/Locale/Manager.php b/app/code/Magento/Backend/Model/Locale/Manager.php index 6aaed1a39881f..e2ae0b7b5803d 100644 --- a/app/code/Magento/Backend/Model/Locale/Manager.php +++ b/app/code/Magento/Backend/Model/Locale/Manager.php @@ -30,7 +30,7 @@ class Manager /** * @var \Magento\Backend\App\ConfigInterface - * @since 2.1.0 + * @since 100.1.0 */ protected $_backendConfig; @@ -75,7 +75,7 @@ public function switchBackendInterfaceLocale($localeCode) * Get general interface locale * * @return string - * @since 2.1.0 + * @since 100.1.0 */ public function getGeneralLocale() { diff --git a/app/code/Magento/Backend/Model/Menu.php b/app/code/Magento/Backend/Model/Menu.php index a953eec3bd6d0..d33db300c0439 100644 --- a/app/code/Magento/Backend/Model/Menu.php +++ b/app/code/Magento/Backend/Model/Menu.php @@ -32,13 +32,11 @@ class Menu extends \ArrayObject /** * @var Factory - * @since 2.2.0 */ private $menuItemFactory; /** * @var SerializerInterface - * @since 2.2.0 */ private $serializer; @@ -277,7 +275,7 @@ public function serialize() * Get menu data represented as an array * * @return array - * @since 2.2.0 + * @since 100.2.0 */ public function toArray() { @@ -293,7 +291,7 @@ public function toArray() * * @param string $serialized * @return void - * @since 2.2.0 + * @since 100.2.0 */ public function unserialize($serialized) { @@ -306,7 +304,7 @@ public function unserialize($serialized) * * @param array $data * @return void - * @since 2.2.0 + * @since 100.2.0 */ public function populateFromArray(array $data) { diff --git a/app/code/Magento/Backend/Model/Menu/Item.php b/app/code/Magento/Backend/Model/Menu/Item.php index 0d29b46b933a2..724ffb0aa744c 100644 --- a/app/code/Magento/Backend/Model/Menu/Item.php +++ b/app/code/Magento/Backend/Model/Menu/Item.php @@ -132,7 +132,7 @@ class Item * Serialized submenu string * * @var string - * @deprecated 2.2.0 + * @deprecated 100.2.0 */ protected $_serializedSubmenu; @@ -152,7 +152,6 @@ class Item * Menu item target * * @var string|null - * @since 2.2.0 */ private $target; @@ -214,7 +213,7 @@ public function getId() * Retrieve item target * * @return string|null - * @since 2.2.0 + * @since 100.2.0 */ public function getTarget() { @@ -461,7 +460,7 @@ public function isAllowed() * Get menu item data represented as an array * * @return array - * @since 2.2.0 + * @since 100.2.0 */ public function toArray() { @@ -487,7 +486,7 @@ public function toArray() * * @param array $data * @return void - * @since 2.2.0 + * @since 100.2.0 */ public function populateFromArray(array $data) { diff --git a/app/code/Magento/Backend/Model/Session/AdminConfig.php b/app/code/Magento/Backend/Model/Session/AdminConfig.php index 09bb5ba521352..c7ce0d75fc0af 100644 --- a/app/code/Magento/Backend/Model/Session/AdminConfig.php +++ b/app/code/Magento/Backend/Model/Session/AdminConfig.php @@ -111,7 +111,7 @@ private function extractAdminPath() * Set session cookie lifetime to session duration * * @return $this - * @since 2.1.0 + * @since 100.1.0 */ protected function configureCookieLifetime() { diff --git a/app/code/Magento/Backend/Model/Setup/MenuBuilder.php b/app/code/Magento/Backend/Model/Setup/MenuBuilder.php index 500e31ce4026e..461c084da983d 100644 --- a/app/code/Magento/Backend/Model/Setup/MenuBuilder.php +++ b/app/code/Magento/Backend/Model/Setup/MenuBuilder.php @@ -12,13 +12,13 @@ /** * Plugin class to remove web setup wizard from menu if application root is pub/ and no setup url variable is specified. * @api - * @since 2.1.0 + * @since 100.1.0 */ class MenuBuilder { /** * @var DocRootLocator - * @since 2.1.0 + * @since 100.1.0 */ protected $docRootLocator; @@ -26,7 +26,7 @@ class MenuBuilder * MenuBuilder constructor. * * @param DocRootLocator $docRootLocator - * @since 2.1.0 + * @since 100.1.0 */ public function __construct(DocRootLocator $docRootLocator) { @@ -40,7 +40,7 @@ public function __construct(DocRootLocator $docRootLocator) * @param Menu $menu * @return Menu * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.1.0 + * @since 100.1.0 */ public function afterGetResult(Builder $subject, Menu $menu) { diff --git a/app/code/Magento/Backend/Model/View/Layout/StructureManager.php b/app/code/Magento/Backend/Model/View/Layout/StructureManager.php index 3f2028162dd9b..fdcbbeeed1e12 100644 --- a/app/code/Magento/Backend/Model/View/Layout/StructureManager.php +++ b/app/code/Magento/Backend/Model/View/Layout/StructureManager.php @@ -16,7 +16,7 @@ * By using this class developer can remove layout entities (block, uiComponent) from scheduled structure * Removed entities will not appear at rendered page * @api - * @since 2.2.0 + * @since 100.2.0 */ class StructureManager { @@ -28,7 +28,7 @@ class StructureManager * @param string $elementName * @param bool $isChild * @return bool - * @since 2.2.0 + * @since 100.2.0 */ public function removeElement( ScheduledStructure $scheduledStructure, diff --git a/app/code/Magento/Braintree/Block/Adminhtml/Form/Field/CcTypes.php b/app/code/Magento/Braintree/Block/Adminhtml/Form/Field/CcTypes.php index ebf4257052600..7987068c3dbb1 100644 --- a/app/code/Magento/Braintree/Block/Adminhtml/Form/Field/CcTypes.php +++ b/app/code/Magento/Braintree/Block/Adminhtml/Form/Field/CcTypes.php @@ -11,13 +11,11 @@ /** * Class CcTypes - * @since 2.1.0 */ class CcTypes extends Select { /** * @var CcType - * @since 2.1.0 */ private $ccTypeHelper; @@ -27,7 +25,6 @@ class CcTypes extends Select * @param Context $context * @param CcType $ccTypeHelper * @param array $data - * @since 2.1.0 */ public function __construct( Context $context, @@ -42,7 +39,6 @@ public function __construct( * Render block HTML * * @return string - * @since 2.1.0 */ protected function _toHtml() { @@ -59,7 +55,6 @@ protected function _toHtml() * * @param string $value * @return $this - * @since 2.1.0 */ public function setInputName($value) { diff --git a/app/code/Magento/Braintree/Block/Adminhtml/Form/Field/Countries.php b/app/code/Magento/Braintree/Block/Adminhtml/Form/Field/Countries.php index 9ba801ff47a8d..05eaa16c009a0 100644 --- a/app/code/Magento/Braintree/Block/Adminhtml/Form/Field/Countries.php +++ b/app/code/Magento/Braintree/Block/Adminhtml/Form/Field/Countries.php @@ -16,7 +16,6 @@ class Countries extends Select { /** * @var Country - * @since 2.1.0 */ private $countryHelper; diff --git a/app/code/Magento/Braintree/Block/Adminhtml/Form/Field/CountryCreditCard.php b/app/code/Magento/Braintree/Block/Adminhtml/Form/Field/CountryCreditCard.php index 97e0f0ebb732f..18142992fc78b 100644 --- a/app/code/Magento/Braintree/Block/Adminhtml/Form/Field/CountryCreditCard.php +++ b/app/code/Magento/Braintree/Block/Adminhtml/Form/Field/CountryCreditCard.php @@ -10,19 +10,16 @@ /** * Class CountryCreditCard - * @since 2.1.0 */ class CountryCreditCard extends AbstractFieldArray { /** * @var Countries - * @since 2.1.0 */ protected $countryRenderer = null; /** * @var CcTypes - * @since 2.1.0 */ protected $ccTypesRenderer = null; @@ -30,7 +27,6 @@ class CountryCreditCard extends AbstractFieldArray * Returns renderer for country element * * @return Countries - * @since 2.1.0 */ protected function getCountryRenderer() { @@ -48,7 +44,6 @@ protected function getCountryRenderer() * Returns renderer for country element * * @return CcTypes - * @since 2.1.0 */ protected function getCcTypesRenderer() { @@ -65,7 +60,6 @@ protected function getCcTypesRenderer() /** * Prepare to render * @return void - * @since 2.1.0 */ protected function _prepareToRender() { @@ -92,7 +86,6 @@ protected function _prepareToRender() * * @param DataObject $row * @return void - * @since 2.1.0 */ protected function _prepareArrayRow(DataObject $row) { diff --git a/app/code/Magento/Braintree/Block/Customer/CardRenderer.php b/app/code/Magento/Braintree/Block/Customer/CardRenderer.php index a2cc0f808ab96..55ba049f72297 100644 --- a/app/code/Magento/Braintree/Block/Customer/CardRenderer.php +++ b/app/code/Magento/Braintree/Block/Customer/CardRenderer.php @@ -12,7 +12,7 @@ /** * @api - * @since 2.1.0 + * @since 100.1.0 */ class CardRenderer extends AbstractCardRenderer { @@ -21,7 +21,7 @@ class CardRenderer extends AbstractCardRenderer * * @param PaymentTokenInterface $token * @return boolean - * @since 2.1.0 + * @since 100.1.0 */ public function canRender(PaymentTokenInterface $token) { @@ -30,7 +30,7 @@ public function canRender(PaymentTokenInterface $token) /** * @return string - * @since 2.1.0 + * @since 100.1.0 */ public function getNumberLast4Digits() { @@ -39,7 +39,7 @@ public function getNumberLast4Digits() /** * @return string - * @since 2.1.0 + * @since 100.1.0 */ public function getExpDate() { @@ -48,7 +48,7 @@ public function getExpDate() /** * @return string - * @since 2.1.0 + * @since 100.1.0 */ public function getIconUrl() { @@ -57,7 +57,7 @@ public function getIconUrl() /** * @return int - * @since 2.1.0 + * @since 100.1.0 */ public function getIconHeight() { @@ -66,7 +66,7 @@ public function getIconHeight() /** * @return int - * @since 2.1.0 + * @since 100.1.0 */ public function getIconWidth() { diff --git a/app/code/Magento/Braintree/Block/Customer/PayPal/VaultTokenRenderer.php b/app/code/Magento/Braintree/Block/Customer/PayPal/VaultTokenRenderer.php index 824af5a2930ef..0f53e5b992731 100644 --- a/app/code/Magento/Braintree/Block/Customer/PayPal/VaultTokenRenderer.php +++ b/app/code/Magento/Braintree/Block/Customer/PayPal/VaultTokenRenderer.php @@ -15,13 +15,12 @@ * Class VaultTokenRenderer * * @api - * @since 2.1.3 + * @since 100.1.3 */ class VaultTokenRenderer extends AbstractTokenRenderer { /** * @var Config - * @since 2.1.3 */ private $config; @@ -31,7 +30,7 @@ class VaultTokenRenderer extends AbstractTokenRenderer * @param Template\Context $context * @param Config $config * @param array $data - * @since 2.1.3 + * @since 100.1.3 */ public function __construct( Template\Context $context, @@ -44,7 +43,7 @@ public function __construct( /** * @inheritdoc - * @since 2.1.3 + * @since 100.1.3 */ public function getIconUrl() { @@ -53,7 +52,7 @@ public function getIconUrl() /** * @inheritdoc - * @since 2.1.3 + * @since 100.1.3 */ public function getIconHeight() { @@ -62,7 +61,7 @@ public function getIconHeight() /** * @inheritdoc - * @since 2.1.3 + * @since 100.1.3 */ public function getIconWidth() { @@ -74,7 +73,7 @@ public function getIconWidth() * * @param PaymentTokenInterface $token * @return boolean - * @since 2.1.3 + * @since 100.1.3 */ public function canRender(PaymentTokenInterface $token) { @@ -84,7 +83,7 @@ public function canRender(PaymentTokenInterface $token) /** * Get email of PayPal payer * @return string - * @since 2.1.3 + * @since 100.1.3 */ public function getPayerEmail() { diff --git a/app/code/Magento/Braintree/Block/Form.php b/app/code/Magento/Braintree/Block/Form.php index 4c28665301fcc..f6cf62f5a2131 100644 --- a/app/code/Magento/Braintree/Block/Form.php +++ b/app/code/Magento/Braintree/Block/Form.php @@ -29,19 +29,16 @@ class Form extends Cc /** * @var Config - * @since 2.1.0 */ protected $gatewayConfig; /** * @var CcType - * @since 2.1.0 */ protected $ccType; /** * @var Data - * @since 2.1.0 */ private $paymentDataHelper; @@ -90,7 +87,6 @@ public function useCvv() /** * Check if vault enabled * @return bool - * @since 2.1.0 */ public function isVaultEnabled() { @@ -102,7 +98,6 @@ public function isVaultEnabled() /** * Get card types available for Braintree * @return array - * @since 2.1.0 */ private function getConfiguredCardTypes() { @@ -117,7 +112,6 @@ private function getConfiguredCardTypes() * @param array $configCardTypes * @param string $countryId * @return array - * @since 2.1.0 */ private function filterCardTypesForCountry(array $configCardTypes, $countryId) { @@ -134,7 +128,6 @@ private function filterCardTypesForCountry(array $configCardTypes, $countryId) /** * Get configured vault payment for Braintree * @return VaultPaymentInterface - * @since 2.1.0 */ private function getVaultPayment() { @@ -144,8 +137,7 @@ private function getVaultPayment() /** * Get payment data helper instance * @return Data - * @deprecated 2.1.0 - * @since 2.1.0 + * @deprecated 100.1.0 */ private function getPaymentDataHelper() { diff --git a/app/code/Magento/Braintree/Block/Info.php b/app/code/Magento/Braintree/Block/Info.php index fd8d5a8f7654c..0ce468384821a 100644 --- a/app/code/Magento/Braintree/Block/Info.php +++ b/app/code/Magento/Braintree/Block/Info.php @@ -18,7 +18,6 @@ class Info extends ConfigurableInfo * * @param string $field * @return Phrase - * @since 2.1.0 */ protected function getLabel($field) { diff --git a/app/code/Magento/Braintree/Block/Payment.php b/app/code/Magento/Braintree/Block/Payment.php index 15d0d61f1129f..c2a1e8c81a1c9 100644 --- a/app/code/Magento/Braintree/Block/Payment.php +++ b/app/code/Magento/Braintree/Block/Payment.php @@ -14,13 +14,12 @@ * Class Payment * * @api - * @since 2.1.0 + * @since 100.1.0 */ class Payment extends Template { /** * @var ConfigProviderInterface - * @since 2.1.0 */ private $config; @@ -30,7 +29,7 @@ class Payment extends Template * @param Context $context * @param ConfigProviderInterface $config * @param array $data - * @since 2.1.0 + * @since 100.1.0 */ public function __construct( Context $context, @@ -43,7 +42,7 @@ public function __construct( /** * @return string - * @since 2.1.0 + * @since 100.1.0 */ public function getPaymentConfig() { @@ -55,7 +54,7 @@ public function getPaymentConfig() /** * @return string - * @since 2.1.0 + * @since 100.1.0 */ public function getCode() { diff --git a/app/code/Magento/Braintree/Block/Paypal/Button.php b/app/code/Magento/Braintree/Block/Paypal/Button.php index dc62a77a07d1e..efd9e473699c3 100644 --- a/app/code/Magento/Braintree/Block/Paypal/Button.php +++ b/app/code/Magento/Braintree/Block/Paypal/Button.php @@ -16,7 +16,6 @@ /** * Class Button - * @since 2.1.0 */ class Button extends Template implements ShortcutInterface { @@ -26,31 +25,26 @@ class Button extends Template implements ShortcutInterface /** * @var ResolverInterface - * @since 2.1.0 */ private $localeResolver; /** * @var Session - * @since 2.1.0 */ private $checkoutSession; /** * @var Config - * @since 2.1.0 */ private $config; /** * @var ConfigProvider - * @since 2.1.0 */ private $configProvider; /** * @var MethodInterface - * @since 2.1.0 */ private $payment; @@ -64,7 +58,6 @@ class Button extends Template implements ShortcutInterface * @param ConfigProvider $configProvider * @param MethodInterface $payment * @param array $data - * @since 2.1.0 */ public function __construct( Context $context, @@ -86,7 +79,6 @@ public function __construct( /** * @inheritdoc - * @since 2.1.0 */ protected function _toHtml() { @@ -99,7 +91,6 @@ protected function _toHtml() /** * @inheritdoc - * @since 2.1.0 */ public function getAlias() { @@ -108,7 +99,6 @@ public function getAlias() /** * @return string - * @since 2.1.0 */ public function getContainerId() { @@ -117,7 +107,6 @@ public function getContainerId() /** * @return string - * @since 2.1.0 */ public function getLocale() { @@ -126,7 +115,6 @@ public function getLocale() /** * @return string - * @since 2.1.0 */ public function getCurrency() { @@ -135,7 +123,6 @@ public function getCurrency() /** * @return float - * @since 2.1.0 */ public function getAmount() { @@ -144,7 +131,6 @@ public function getAmount() /** * @return bool - * @since 2.1.0 */ public function isActive() { @@ -154,7 +140,6 @@ public function isActive() /** * @return string - * @since 2.1.0 */ public function getMerchantName() { @@ -163,7 +148,6 @@ public function getMerchantName() /** * @return string|null - * @since 2.1.0 */ public function getClientToken() { @@ -172,7 +156,6 @@ public function getClientToken() /** * @return string - * @since 2.1.0 */ public function getActionSuccess() { diff --git a/app/code/Magento/Braintree/Block/Paypal/Checkout/Review.php b/app/code/Magento/Braintree/Block/Paypal/Checkout/Review.php index 85e328c5ead1e..77625035a56ae 100644 --- a/app/code/Magento/Braintree/Block/Paypal/Checkout/Review.php +++ b/app/code/Magento/Braintree/Block/Paypal/Checkout/Review.php @@ -11,7 +11,7 @@ * Class Review * * @api - * @since 2.1.0 + * @since 100.1.0 */ class Review extends Express\Review { @@ -19,7 +19,7 @@ class Review extends Express\Review * Controller path * * @var string - * @since 2.1.0 + * @since 100.1.0 */ protected $_controllerPath = 'braintree/paypal'; @@ -28,7 +28,7 @@ class Review extends Express\Review * * @return null * @codeCoverageIgnore - * @since 2.1.0 + * @since 100.1.0 */ public function getEditUrl() { diff --git a/app/code/Magento/Braintree/Controller/Adminhtml/Payment/GetNonce.php b/app/code/Magento/Braintree/Controller/Adminhtml/Payment/GetNonce.php index 618aafed982d9..47c875807b7a8 100644 --- a/app/code/Magento/Braintree/Controller/Adminhtml/Payment/GetNonce.php +++ b/app/code/Magento/Braintree/Controller/Adminhtml/Payment/GetNonce.php @@ -7,7 +7,6 @@ /** * Class GetNonce - * @since 2.1.0 */ class GetNonce extends \Magento\Braintree\Controller\Payment\GetNonce { diff --git a/app/code/Magento/Braintree/Controller/Adminhtml/Report/Index.php b/app/code/Magento/Braintree/Controller/Adminhtml/Report/Index.php index 062c2fc7ac936..6f3c435d5fbad 100644 --- a/app/code/Magento/Braintree/Controller/Adminhtml/Report/Index.php +++ b/app/code/Magento/Braintree/Controller/Adminhtml/Report/Index.php @@ -12,13 +12,11 @@ /** * Braintree Settlement Report controller - * @since 2.1.0 */ class Index extends Action { /** * @var PageFactory - * @since 2.1.0 */ protected $resultPageFactory; @@ -27,7 +25,6 @@ class Index extends Action /** * @param Context $context * @param PageFactory $resultPageFactory - * @since 2.1.0 */ public function __construct( Context $context, @@ -41,7 +38,6 @@ public function __construct( * Index action * * @return Page - * @since 2.1.0 */ public function execute() { diff --git a/app/code/Magento/Braintree/Controller/Payment/GetNonce.php b/app/code/Magento/Braintree/Controller/Payment/GetNonce.php index 5fdf0d52bd48a..aecde869ca196 100644 --- a/app/code/Magento/Braintree/Controller/Payment/GetNonce.php +++ b/app/code/Magento/Braintree/Controller/Payment/GetNonce.php @@ -16,25 +16,21 @@ /** * Class GetNonce - * @since 2.1.0 */ class GetNonce extends Action { /** * @var LoggerInterface - * @since 2.1.0 */ private $logger; /** * @var SessionManagerInterface - * @since 2.1.0 */ private $session; /** * @var GetPaymentNonceCommand - * @since 2.1.0 */ private $command; @@ -43,7 +39,6 @@ class GetNonce extends Action * @param LoggerInterface $logger * @param SessionManagerInterface $session * @param GetPaymentNonceCommand $command - * @since 2.1.0 */ public function __construct( Context $context, @@ -59,7 +54,6 @@ public function __construct( /** * @inheritdoc - * @since 2.1.0 */ public function execute() { @@ -82,7 +76,6 @@ public function execute() * Return response for bad request * @param ResultInterface $response * @return ResultInterface - * @since 2.1.0 */ private function processBadRequest(ResultInterface $response) { diff --git a/app/code/Magento/Braintree/Controller/Paypal/AbstractAction.php b/app/code/Magento/Braintree/Controller/Paypal/AbstractAction.php index 419a62ab6d753..d6a81eefc6fdb 100644 --- a/app/code/Magento/Braintree/Controller/Paypal/AbstractAction.php +++ b/app/code/Magento/Braintree/Controller/Paypal/AbstractAction.php @@ -15,19 +15,16 @@ /** * Abstract class AbstractAction - * @since 2.1.0 */ abstract class AbstractAction extends Action { /** * @var Config - * @since 2.1.0 */ protected $config; /** * @var Session - * @since 2.1.0 */ protected $checkoutSession; @@ -37,7 +34,6 @@ abstract class AbstractAction extends Action * @param Context $context * @param Config $config * @param Session $checkoutSession - * @since 2.1.0 */ public function __construct( Context $context, @@ -53,7 +49,6 @@ public function __construct( * Check whether payment method is enabled * * @inheritdoc - * @since 2.1.0 */ public function dispatch(RequestInterface $request) { @@ -74,7 +69,6 @@ public function dispatch(RequestInterface $request) * @param CartInterface $quote * @return void * @throws \InvalidArgumentException - * @since 2.1.0 */ protected function validateQuote($quote) { diff --git a/app/code/Magento/Braintree/Controller/Paypal/PlaceOrder.php b/app/code/Magento/Braintree/Controller/Paypal/PlaceOrder.php index 4f9364b3a29ae..1acd16708ff42 100644 --- a/app/code/Magento/Braintree/Controller/Paypal/PlaceOrder.php +++ b/app/code/Magento/Braintree/Controller/Paypal/PlaceOrder.php @@ -16,13 +16,11 @@ /** * Class PlaceOrder - * @since 2.1.0 */ class PlaceOrder extends AbstractAction { /** * @var Helper\OrderPlace - * @since 2.1.0 */ private $orderPlace; @@ -30,7 +28,6 @@ class PlaceOrder extends AbstractAction * Logger for exception details * * @var LoggerInterface - * @since 2.2.0 */ private $logger; @@ -42,7 +39,6 @@ class PlaceOrder extends AbstractAction * @param Session $checkoutSession * @param Helper\OrderPlace $orderPlace * @param LoggerInterface|null $logger - * @since 2.1.0 */ public function __construct( Context $context, @@ -59,7 +55,6 @@ public function __construct( /** * @inheritdoc * @throws LocalizedException - * @since 2.1.0 */ public function execute() { diff --git a/app/code/Magento/Braintree/Controller/Paypal/Review.php b/app/code/Magento/Braintree/Controller/Paypal/Review.php index 39d636a349f36..4576e3b033df8 100644 --- a/app/code/Magento/Braintree/Controller/Paypal/Review.php +++ b/app/code/Magento/Braintree/Controller/Paypal/Review.php @@ -14,19 +14,16 @@ /** * Class Review - * @since 2.1.0 */ class Review extends AbstractAction { /** * @var QuoteUpdater - * @since 2.1.0 */ private $quoteUpdater; /** * @var string - * @since 2.1.0 */ private static $paymentMethodNonce = 'payment_method_nonce'; @@ -37,7 +34,6 @@ class Review extends AbstractAction * @param Config $config * @param Session $checkoutSession * @param QuoteUpdater $quoteUpdater - * @since 2.1.0 */ public function __construct( Context $context, @@ -51,7 +47,6 @@ public function __construct( /** * @inheritdoc - * @since 2.1.0 */ public function execute() { @@ -97,7 +92,6 @@ public function execute() /** * @param array $requestData * @return boolean - * @since 2.1.0 */ private function validateRequestData(array $requestData) { diff --git a/app/code/Magento/Braintree/Controller/Paypal/SaveShippingMethod.php b/app/code/Magento/Braintree/Controller/Paypal/SaveShippingMethod.php index 9fe342b55ae9d..5dd19d7acf7ae 100644 --- a/app/code/Magento/Braintree/Controller/Paypal/SaveShippingMethod.php +++ b/app/code/Magento/Braintree/Controller/Paypal/SaveShippingMethod.php @@ -14,13 +14,11 @@ /** * Class SaveShippingMethod - * @since 2.1.0 */ class SaveShippingMethod extends AbstractAction { /** * @var ShippingMethodUpdater - * @since 2.1.0 */ private $shippingMethodUpdater; @@ -31,7 +29,6 @@ class SaveShippingMethod extends AbstractAction * @param Config $config * @param Session $checkoutSession * @param ShippingMethodUpdater $shippingMethodUpdater - * @since 2.1.0 */ public function __construct( Context $context, @@ -45,7 +42,6 @@ public function __construct( /** * @inheritdoc - * @since 2.1.0 */ public function execute() { diff --git a/app/code/Magento/Braintree/Gateway/Command/CaptureStrategyCommand.php b/app/code/Magento/Braintree/Gateway/Command/CaptureStrategyCommand.php index b7ecb85847cfb..f972eecf9f92d 100644 --- a/app/code/Magento/Braintree/Gateway/Command/CaptureStrategyCommand.php +++ b/app/code/Magento/Braintree/Gateway/Command/CaptureStrategyCommand.php @@ -22,7 +22,6 @@ /** * Class CaptureStrategyCommand * @SuppressWarnings(PHPMD) - * @since 2.1.0 */ class CaptureStrategyCommand implements CommandInterface { @@ -43,43 +42,36 @@ class CaptureStrategyCommand implements CommandInterface /** * @var CommandPoolInterface - * @since 2.1.0 */ private $commandPool; /** * @var TransactionRepositoryInterface - * @since 2.1.0 */ private $transactionRepository; /** * @var FilterBuilder - * @since 2.1.0 */ private $filterBuilder; /** * @var SearchCriteriaBuilder - * @since 2.1.0 */ private $searchCriteriaBuilder; /** * @var SubjectReader - * @since 2.1.0 */ private $subjectReader; /** * @var BraintreeAdapter - * @since 2.1.0 */ private $braintreeAdapter; /** * @var BraintreeSearchAdapter - * @since 2.1.0 */ private $braintreeSearchAdapter; @@ -93,7 +85,6 @@ class CaptureStrategyCommand implements CommandInterface * @param SubjectReader $subjectReader * @param BraintreeAdapter $braintreeAdapter * @param BraintreeSearchAdapter $braintreeSearchAdapter - * @since 2.1.0 */ public function __construct( CommandPoolInterface $commandPool, @@ -115,7 +106,6 @@ public function __construct( /** * @inheritdoc - * @since 2.1.0 */ public function execute(array $commandSubject) { @@ -134,7 +124,6 @@ public function execute(array $commandSubject) * Get execution command name * @param OrderPaymentInterface $payment * @return string - * @since 2.1.0 */ private function getCommand(OrderPaymentInterface $payment) { @@ -156,7 +145,6 @@ private function getCommand(OrderPaymentInterface $payment) /** * @param OrderPaymentInterface $payment * @return boolean - * @since 2.1.0 */ private function isExpiredAuthorization(OrderPaymentInterface $payment) { @@ -175,7 +163,6 @@ private function isExpiredAuthorization(OrderPaymentInterface $payment) * * @param OrderPaymentInterface $payment * @return bool - * @since 2.1.0 */ private function isExistsCaptureTransaction(OrderPaymentInterface $payment) { diff --git a/app/code/Magento/Braintree/Gateway/Command/GetPaymentNonceCommand.php b/app/code/Magento/Braintree/Gateway/Command/GetPaymentNonceCommand.php index 77e7f4c1c8e22..91c9f6c14bb5d 100644 --- a/app/code/Magento/Braintree/Gateway/Command/GetPaymentNonceCommand.php +++ b/app/code/Magento/Braintree/Gateway/Command/GetPaymentNonceCommand.php @@ -17,38 +17,32 @@ /** * Class GetPaymentNonceCommand - * @since 2.1.0 */ class GetPaymentNonceCommand implements CommandInterface { /** * @var PaymentTokenManagementInterface - * @since 2.1.0 */ private $tokenManagement; /** * @var BraintreeAdapter - * @since 2.1.0 */ private $adapter; /** * @var ArrayResultFactory - * @since 2.1.0 */ private $resultFactory; /** * @var SubjectReader - * @since 2.1.0 */ private $subjectReader; /** * @var PaymentNonceResponseValidator - * @since 2.1.0 */ private $responseValidator; @@ -58,7 +52,6 @@ class GetPaymentNonceCommand implements CommandInterface * @param ArrayResultFactory $resultFactory * @param SubjectReader $subjectReader * @param PaymentNonceResponseValidator $responseValidator - * @since 2.1.0 */ public function __construct( PaymentTokenManagementInterface $tokenManagement, @@ -77,7 +70,6 @@ public function __construct( /** * @inheritdoc * @throws \Exception - * @since 2.1.0 */ public function execute(array $commandSubject) { diff --git a/app/code/Magento/Braintree/Gateway/Config/CanVoidHandler.php b/app/code/Magento/Braintree/Gateway/Config/CanVoidHandler.php index 3b0614c7e0187..458178841e9b6 100644 --- a/app/code/Magento/Braintree/Gateway/Config/CanVoidHandler.php +++ b/app/code/Magento/Braintree/Gateway/Config/CanVoidHandler.php @@ -12,20 +12,17 @@ /** * Class \Magento\Braintree\Gateway\Config\CanVoidHandler * - * @since 2.1.0 */ class CanVoidHandler implements ValueHandlerInterface { /** * @var SubjectReader - * @since 2.1.0 */ private $subjectReader; /** * CanVoidHandler constructor. * @param SubjectReader $subjectReader - * @since 2.1.0 */ public function __construct( SubjectReader $subjectReader @@ -41,7 +38,6 @@ public function __construct( * * @return mixed * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.1.0 */ public function handle(array $subject, $storeId = null) { diff --git a/app/code/Magento/Braintree/Gateway/Config/Config.php b/app/code/Magento/Braintree/Gateway/Config/Config.php index d91971f4f55d7..7badd2b87ac34 100644 --- a/app/code/Magento/Braintree/Gateway/Config/Config.php +++ b/app/code/Magento/Braintree/Gateway/Config/Config.php @@ -10,7 +10,6 @@ /** * Class Config - * @since 2.1.0 */ class Config extends \Magento\Payment\Gateway\Config\Config { @@ -36,7 +35,6 @@ class Config extends \Magento\Payment\Gateway\Config\Config /** * @var \Magento\Framework\Serialize\Serializer\Json - * @since 2.2.0 */ private $serializer; @@ -47,7 +45,6 @@ class Config extends \Magento\Payment\Gateway\Config\Config * @param null|string $methodCode * @param string $pathPattern * @param Json|null $serializer - * @since 2.2.0 */ public function __construct( ScopeConfigInterface $scopeConfig, @@ -63,7 +60,6 @@ public function __construct( /** * Get list of available dynamic descriptors keys * @var array - * @since 2.1.3 */ private static $dynamicDescriptorKeys = [ 'name', 'phone', 'url' @@ -73,7 +69,6 @@ public function __construct( * Return the country specific card type config * * @return array - * @since 2.1.0 */ public function getCountrySpecificCardTypeConfig() { @@ -89,7 +84,6 @@ public function getCountrySpecificCardTypeConfig() * Retrieve available credit card types * * @return array - * @since 2.1.0 */ public function getAvailableCardTypes() { @@ -102,7 +96,6 @@ public function getAvailableCardTypes() * Retrieve mapper between Magento and Braintree card types * * @return array - * @since 2.1.0 */ public function getCcTypesMapper() { @@ -118,7 +111,6 @@ public function getCcTypesMapper() * Get list of card types available for country * @param string $country * @return array - * @since 2.1.0 */ public function getCountryAvailableCardTypes($country) { @@ -130,7 +122,6 @@ public function getCountryAvailableCardTypes($country) /** * Check if cvv field is enabled * @return boolean - * @since 2.1.0 */ public function isCvvEnabled() { @@ -140,7 +131,6 @@ public function isCvvEnabled() /** * Check if 3d secure verification enabled * @return bool - * @since 2.1.0 */ public function isVerify3DSecure() { @@ -150,7 +140,6 @@ public function isVerify3DSecure() /** * Get threshold amount for 3d secure * @return float - * @since 2.1.0 */ public function getThresholdAmount() { @@ -160,7 +149,6 @@ public function getThresholdAmount() /** * Get list of specific countries for 3d secure * @return array - * @since 2.1.0 */ public function get3DSecureSpecificCountries() { @@ -173,7 +161,6 @@ public function get3DSecureSpecificCountries() /** * @return string - * @since 2.1.0 */ public function getEnvironment() { @@ -182,7 +169,6 @@ public function getEnvironment() /** * @return string - * @since 2.1.0 */ public function getKountMerchantId() { @@ -191,7 +177,6 @@ public function getKountMerchantId() /** * @return string - * @since 2.1.0 */ public function getMerchantId() { @@ -200,7 +185,6 @@ public function getMerchantId() /** * @return string - * @since 2.1.0 */ public function getSdkUrl() { @@ -209,7 +193,6 @@ public function getSdkUrl() /** * @return bool - * @since 2.1.0 */ public function hasFraudProtection() { @@ -219,7 +202,6 @@ public function hasFraudProtection() /** * Get Payment configuration status * @return bool - * @since 2.1.0 */ public function isActive() { @@ -229,7 +211,6 @@ public function isActive() /** * Get list of configured dynamic descriptors * @return array - * @since 2.1.3 */ public function getDynamicDescriptors() { @@ -247,7 +228,6 @@ public function getDynamicDescriptors() * Get Merchant account ID * * @return string - * @since 2.1.3 */ public function getMerchantAccountId() { diff --git a/app/code/Magento/Braintree/Gateway/Config/PayPal/Config.php b/app/code/Magento/Braintree/Gateway/Config/PayPal/Config.php index c7ae58fac4a4d..e7d8724082fb3 100644 --- a/app/code/Magento/Braintree/Gateway/Config/PayPal/Config.php +++ b/app/code/Magento/Braintree/Gateway/Config/PayPal/Config.php @@ -10,7 +10,6 @@ /** * Class Config - * @since 2.1.0 */ class Config extends \Magento\Payment\Gateway\Config\Config { @@ -28,13 +27,11 @@ class Config extends \Magento\Payment\Gateway\Config\Config /** * @var CcConfig - * @since 2.1.3 */ private $ccConfig; /** * @var array - * @since 2.1.3 */ private $icon = []; @@ -45,7 +42,6 @@ class Config extends \Magento\Payment\Gateway\Config\Config * @param CcConfig $ccConfig * @param null $methodCode * @param string $pathPattern - * @since 2.1.3 */ public function __construct( ScopeConfigInterface $scopeConfig, @@ -61,7 +57,6 @@ public function __construct( * Get Payment configuration status * * @return bool - * @since 2.1.0 */ public function isActive() { @@ -70,7 +65,6 @@ public function isActive() /** * @return bool - * @since 2.1.0 */ public function isDisplayShoppingCart() { @@ -81,7 +75,6 @@ public function isDisplayShoppingCart() * Is shipping address can be editable on PayPal side * * @return bool - * @since 2.1.0 */ public function isAllowToEditShippingAddress() { @@ -92,7 +85,6 @@ public function isAllowToEditShippingAddress() * Get merchant name to display in PayPal popup * * @return string - * @since 2.1.0 */ public function getMerchantName() { @@ -103,7 +95,6 @@ public function getMerchantName() * Is billing address can be required * * @return string - * @since 2.1.0 */ public function isRequiredBillingAddress() { @@ -114,7 +105,6 @@ public function isRequiredBillingAddress() * Get title of payment * * @return string - * @since 2.1.0 */ public function getTitle() { @@ -124,7 +114,6 @@ public function getTitle() /** * Is need to skip order review * @return bool - * @since 2.1.3 */ public function isSkipOrderReview() { @@ -134,7 +123,6 @@ public function isSkipOrderReview() /** * Get PayPal icon * @return array - * @since 2.1.3 */ public function getPayPalIcon() { diff --git a/app/code/Magento/Braintree/Gateway/Helper/SubjectReader.php b/app/code/Magento/Braintree/Gateway/Helper/SubjectReader.php index 08acb4d386200..e98597655190f 100644 --- a/app/code/Magento/Braintree/Gateway/Helper/SubjectReader.php +++ b/app/code/Magento/Braintree/Gateway/Helper/SubjectReader.php @@ -13,7 +13,6 @@ /** * Class SubjectReader - * @since 2.1.0 */ class SubjectReader { @@ -22,7 +21,6 @@ class SubjectReader * * @param array $subject * @return object - * @since 2.1.0 */ public function readResponseObject(array $subject) { @@ -39,7 +37,6 @@ public function readResponseObject(array $subject) * * @param array $subject * @return PaymentDataObjectInterface - * @since 2.1.0 */ public function readPayment(array $subject) { @@ -51,7 +48,6 @@ public function readPayment(array $subject) * * @param array $subject * @return \Braintree\Transaction - * @since 2.1.0 */ public function readTransaction(array $subject) { @@ -73,7 +69,6 @@ public function readTransaction(array $subject) * * @param array $subject * @return mixed - * @since 2.1.0 */ public function readAmount(array $subject) { @@ -85,7 +80,6 @@ public function readAmount(array $subject) * * @param array $subject * @return int - * @since 2.1.0 */ public function readCustomerId(array $subject) { @@ -101,7 +95,6 @@ public function readCustomerId(array $subject) * * @param array $subject * @return string - * @since 2.1.0 */ public function readPublicHash(array $subject) { @@ -117,7 +110,6 @@ public function readPublicHash(array $subject) * * @param Transaction $transaction * @return array - * @since 2.1.0 */ public function readPayPal(Transaction $transaction) { diff --git a/app/code/Magento/Braintree/Gateway/Http/Client/AbstractTransaction.php b/app/code/Magento/Braintree/Gateway/Http/Client/AbstractTransaction.php index c88374de26f7a..caeaaa7fe45a2 100644 --- a/app/code/Magento/Braintree/Gateway/Http/Client/AbstractTransaction.php +++ b/app/code/Magento/Braintree/Gateway/Http/Client/AbstractTransaction.php @@ -15,25 +15,21 @@ /** * Class AbstractTransaction - * @since 2.1.0 */ abstract class AbstractTransaction implements ClientInterface { /** * @var LoggerInterface - * @since 2.1.0 */ protected $logger; /** * @var Logger - * @since 2.1.0 */ protected $customLogger; /** * @var BraintreeAdapter - * @since 2.1.0 */ protected $adapter; @@ -43,7 +39,6 @@ abstract class AbstractTransaction implements ClientInterface * @param LoggerInterface $logger * @param Logger $customLogger * @param BraintreeAdapter $transaction - * @since 2.1.0 */ public function __construct(LoggerInterface $logger, Logger $customLogger, BraintreeAdapter $adapter) { @@ -54,7 +49,6 @@ public function __construct(LoggerInterface $logger, Logger $customLogger, Brain /** * @inheritdoc - * @since 2.1.0 */ public function placeRequest(TransferInterface $transferObject) { @@ -83,7 +77,6 @@ public function placeRequest(TransferInterface $transferObject) * Process http request * @param array $data * @return \Braintree\Result\Error|\Braintree\Result\Successful - * @since 2.1.0 */ abstract protected function process(array $data); } diff --git a/app/code/Magento/Braintree/Gateway/Http/Client/TransactionRefund.php b/app/code/Magento/Braintree/Gateway/Http/Client/TransactionRefund.php index 15aac5c608537..d1fd061e99342 100644 --- a/app/code/Magento/Braintree/Gateway/Http/Client/TransactionRefund.php +++ b/app/code/Magento/Braintree/Gateway/Http/Client/TransactionRefund.php @@ -10,7 +10,6 @@ /** * Class \Magento\Braintree\Gateway\Http\Client\TransactionRefund * - * @since 2.1.0 */ class TransactionRefund extends AbstractTransaction { @@ -18,7 +17,6 @@ class TransactionRefund extends AbstractTransaction * Process http request * @param array $data * @return \Braintree\Result\Error|\Braintree\Result\Successful - * @since 2.1.0 */ protected function process(array $data) { diff --git a/app/code/Magento/Braintree/Gateway/Http/Client/TransactionSale.php b/app/code/Magento/Braintree/Gateway/Http/Client/TransactionSale.php index d46039ec86350..81c79e522907d 100644 --- a/app/code/Magento/Braintree/Gateway/Http/Client/TransactionSale.php +++ b/app/code/Magento/Braintree/Gateway/Http/Client/TransactionSale.php @@ -7,13 +7,11 @@ /** * Class TransactionSale - * @since 2.1.0 */ class TransactionSale extends AbstractTransaction { /** * @inheritdoc - * @since 2.1.0 */ protected function process(array $data) { diff --git a/app/code/Magento/Braintree/Gateway/Http/Client/TransactionSubmitForSettlement.php b/app/code/Magento/Braintree/Gateway/Http/Client/TransactionSubmitForSettlement.php index 3bd38c739c3f5..0df5799b54b83 100644 --- a/app/code/Magento/Braintree/Gateway/Http/Client/TransactionSubmitForSettlement.php +++ b/app/code/Magento/Braintree/Gateway/Http/Client/TransactionSubmitForSettlement.php @@ -10,13 +10,11 @@ /** * Class TransactionSubmitForSettlement - * @since 2.1.0 */ class TransactionSubmitForSettlement extends AbstractTransaction { /** * @inheritdoc - * @since 2.1.0 */ protected function process(array $data) { diff --git a/app/code/Magento/Braintree/Gateway/Http/Client/TransactionVoid.php b/app/code/Magento/Braintree/Gateway/Http/Client/TransactionVoid.php index ed75c7fd826a3..4996b76be2a9a 100644 --- a/app/code/Magento/Braintree/Gateway/Http/Client/TransactionVoid.php +++ b/app/code/Magento/Braintree/Gateway/Http/Client/TransactionVoid.php @@ -8,7 +8,6 @@ /** * Class \Magento\Braintree\Gateway\Http\Client\TransactionVoid * - * @since 2.1.0 */ class TransactionVoid extends AbstractTransaction { @@ -16,7 +15,6 @@ class TransactionVoid extends AbstractTransaction * Process http request * @param array $data * @return \Braintree\Result\Error|\Braintree\Result\Successful - * @since 2.1.0 */ protected function process(array $data) { diff --git a/app/code/Magento/Braintree/Gateway/Http/TransferFactory.php b/app/code/Magento/Braintree/Gateway/Http/TransferFactory.php index 2af0214cefa72..9c3b0f70cd827 100644 --- a/app/code/Magento/Braintree/Gateway/Http/TransferFactory.php +++ b/app/code/Magento/Braintree/Gateway/Http/TransferFactory.php @@ -13,19 +13,16 @@ /** * Class \Magento\Braintree\Gateway\Http\TransferFactory * - * @since 2.1.0 */ class TransferFactory implements TransferFactoryInterface { /** * @var TransferBuilder - * @since 2.1.0 */ private $transferBuilder; /** * @param TransferBuilder $transferBuilder - * @since 2.1.0 */ public function __construct( TransferBuilder $transferBuilder @@ -38,7 +35,6 @@ public function __construct( * * @param array $request * @return TransferInterface - * @since 2.1.0 */ public function create(array $request) { diff --git a/app/code/Magento/Braintree/Gateway/Request/AddressDataBuilder.php b/app/code/Magento/Braintree/Gateway/Request/AddressDataBuilder.php index a59feb6fd0801..9ff65149894f8 100644 --- a/app/code/Magento/Braintree/Gateway/Request/AddressDataBuilder.php +++ b/app/code/Magento/Braintree/Gateway/Request/AddressDataBuilder.php @@ -10,7 +10,6 @@ /** * Class AddressDataBuilder - * @since 2.1.0 */ class AddressDataBuilder implements BuilderInterface { @@ -78,7 +77,6 @@ class AddressDataBuilder implements BuilderInterface /** * @var SubjectReader - * @since 2.1.0 */ private $subjectReader; @@ -86,7 +84,6 @@ class AddressDataBuilder implements BuilderInterface * Constructor * * @param SubjectReader $subjectReader - * @since 2.1.0 */ public function __construct(SubjectReader $subjectReader) { @@ -95,7 +92,6 @@ public function __construct(SubjectReader $subjectReader) /** * @inheritdoc - * @since 2.1.0 */ public function build(array $buildSubject) { diff --git a/app/code/Magento/Braintree/Gateway/Request/CaptureDataBuilder.php b/app/code/Magento/Braintree/Gateway/Request/CaptureDataBuilder.php index f0bc0c95747f5..c6588cfaca05f 100644 --- a/app/code/Magento/Braintree/Gateway/Request/CaptureDataBuilder.php +++ b/app/code/Magento/Braintree/Gateway/Request/CaptureDataBuilder.php @@ -12,7 +12,6 @@ /** * Class CaptureDataBuilder - * @since 2.1.0 */ class CaptureDataBuilder implements BuilderInterface { @@ -22,7 +21,6 @@ class CaptureDataBuilder implements BuilderInterface /** * @var SubjectReader - * @since 2.1.0 */ private $subjectReader; @@ -30,7 +28,6 @@ class CaptureDataBuilder implements BuilderInterface * Constructor * * @param SubjectReader $subjectReader - * @since 2.1.0 */ public function __construct(SubjectReader $subjectReader) { @@ -39,7 +36,6 @@ public function __construct(SubjectReader $subjectReader) /** * @inheritdoc - * @since 2.1.0 */ public function build(array $buildSubject) { diff --git a/app/code/Magento/Braintree/Gateway/Request/ChannelDataBuilder.php b/app/code/Magento/Braintree/Gateway/Request/ChannelDataBuilder.php index b6bb1da2fa669..77e1659351bef 100644 --- a/app/code/Magento/Braintree/Gateway/Request/ChannelDataBuilder.php +++ b/app/code/Magento/Braintree/Gateway/Request/ChannelDataBuilder.php @@ -12,31 +12,26 @@ /** * Class BnCodeDataBuilder - * @since 2.1.0 */ class ChannelDataBuilder implements BuilderInterface { /** * @var string - * @since 2.1.0 */ private static $channel = 'channel'; /** * @var string - * @since 2.1.0 */ private static $channelValue = 'Magento2_Cart_%s_BT'; /** * @var ProductMetadataInterface - * @since 2.1.0 */ private $productMetadata; /** * @var Config - * @since 2.2.0 */ private $config; @@ -45,7 +40,6 @@ class ChannelDataBuilder implements BuilderInterface * * @param ProductMetadataInterface $productMetadata * @param Config $config - * @since 2.1.0 */ public function __construct(ProductMetadataInterface $productMetadata, Config $config = null) { @@ -55,7 +49,6 @@ public function __construct(ProductMetadataInterface $productMetadata, Config $c /** * @inheritdoc - * @since 2.1.0 */ public function build(array $buildSubject) { diff --git a/app/code/Magento/Braintree/Gateway/Request/CustomerDataBuilder.php b/app/code/Magento/Braintree/Gateway/Request/CustomerDataBuilder.php index f3d0d6e8a4aef..6b03f418c2545 100644 --- a/app/code/Magento/Braintree/Gateway/Request/CustomerDataBuilder.php +++ b/app/code/Magento/Braintree/Gateway/Request/CustomerDataBuilder.php @@ -10,7 +10,6 @@ /** * Class CustomerDataBuilder - * @since 2.1.0 */ class CustomerDataBuilder implements BuilderInterface { @@ -47,7 +46,6 @@ class CustomerDataBuilder implements BuilderInterface /** * @var SubjectReader - * @since 2.1.0 */ private $subjectReader; @@ -55,7 +53,6 @@ class CustomerDataBuilder implements BuilderInterface * Constructor * * @param SubjectReader $subjectReader - * @since 2.1.0 */ public function __construct(SubjectReader $subjectReader) { @@ -64,7 +61,6 @@ public function __construct(SubjectReader $subjectReader) /** * @inheritdoc - * @since 2.1.0 */ public function build(array $buildSubject) { diff --git a/app/code/Magento/Braintree/Gateway/Request/DescriptorDataBuilder.php b/app/code/Magento/Braintree/Gateway/Request/DescriptorDataBuilder.php index fbb040495b481..3794058c2be8c 100644 --- a/app/code/Magento/Braintree/Gateway/Request/DescriptorDataBuilder.php +++ b/app/code/Magento/Braintree/Gateway/Request/DescriptorDataBuilder.php @@ -10,26 +10,22 @@ /** * Class DescriptorDataBuilder - * @since 2.1.3 */ class DescriptorDataBuilder implements BuilderInterface { /** * @var string - * @since 2.1.3 */ private static $descriptorKey = 'descriptor'; /** * @var Config - * @since 2.1.3 */ private $config; /** * DescriptorDataBuilder constructor. * @param Config $config - * @since 2.1.3 */ public function __construct(Config $config) { @@ -39,7 +35,6 @@ public function __construct(Config $config) /** * @inheritdoc * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.1.3 */ public function build(array $buildSubject) { diff --git a/app/code/Magento/Braintree/Gateway/Request/KountPaymentDataBuilder.php b/app/code/Magento/Braintree/Gateway/Request/KountPaymentDataBuilder.php index 785d71d962abf..7eebbca1d4290 100644 --- a/app/code/Magento/Braintree/Gateway/Request/KountPaymentDataBuilder.php +++ b/app/code/Magento/Braintree/Gateway/Request/KountPaymentDataBuilder.php @@ -12,7 +12,6 @@ /** * Class KountPaymentDataBuilder - * @since 2.1.0 */ class KountPaymentDataBuilder implements BuilderInterface { @@ -23,13 +22,11 @@ class KountPaymentDataBuilder implements BuilderInterface /** * @var Config - * @since 2.1.0 */ private $config; /** * @var SubjectReader - * @since 2.1.0 */ private $subjectReader; @@ -38,7 +35,6 @@ class KountPaymentDataBuilder implements BuilderInterface * * @param Config $config * @param SubjectReader $subjectReader - * @since 2.1.0 */ public function __construct(Config $config, SubjectReader $subjectReader) { @@ -48,7 +44,6 @@ public function __construct(Config $config, SubjectReader $subjectReader) /** * @inheritdoc - * @since 2.1.0 */ public function build(array $buildSubject) { diff --git a/app/code/Magento/Braintree/Gateway/Request/PayPal/DeviceDataBuilder.php b/app/code/Magento/Braintree/Gateway/Request/PayPal/DeviceDataBuilder.php index d7c6365cf8ff1..cea0f8f1291bb 100644 --- a/app/code/Magento/Braintree/Gateway/Request/PayPal/DeviceDataBuilder.php +++ b/app/code/Magento/Braintree/Gateway/Request/PayPal/DeviceDataBuilder.php @@ -11,26 +11,22 @@ /** * Class DeviceDataBuilder - * @since 2.1.3 */ class DeviceDataBuilder implements BuilderInterface { /** * @var string - * @since 2.1.3 */ private static $deviceDataKey = 'deviceData'; /** * @var SubjectReader - * @since 2.1.3 */ private $subjectReader; /** * DeviceDataBuilder constructor. * @param SubjectReader $subjectReader - * @since 2.1.3 */ public function __construct(SubjectReader $subjectReader) { @@ -39,7 +35,6 @@ public function __construct(SubjectReader $subjectReader) /** * @inheritdoc - * @since 2.1.3 */ public function build(array $buildSubject) { diff --git a/app/code/Magento/Braintree/Gateway/Request/PayPal/VaultDataBuilder.php b/app/code/Magento/Braintree/Gateway/Request/PayPal/VaultDataBuilder.php index 0c10d912fb05f..6f76c3415c31a 100644 --- a/app/code/Magento/Braintree/Gateway/Request/PayPal/VaultDataBuilder.php +++ b/app/code/Magento/Braintree/Gateway/Request/PayPal/VaultDataBuilder.php @@ -11,33 +11,28 @@ /** * Vault Data Builder - * @since 2.1.3 */ class VaultDataBuilder implements BuilderInterface { /** * Additional options in request to gateway - * @since 2.1.3 */ private static $optionsKey = 'options'; /** * The option that determines whether the payment method associated with * the successful transaction should be stored in the Vault. - * @since 2.1.3 */ private static $storeInVaultOnSuccess = 'storeInVaultOnSuccess'; /** * @var SubjectReader - * @since 2.1.3 */ private $subjectReader; /** * VaultDataBuilder constructor. * @param SubjectReader $subjectReader - * @since 2.1.3 */ public function __construct(SubjectReader $subjectReader) { @@ -46,7 +41,6 @@ public function __construct(SubjectReader $subjectReader) /** * @inheritdoc - * @since 2.1.3 */ public function build(array $buildSubject) { diff --git a/app/code/Magento/Braintree/Gateway/Request/PaymentDataBuilder.php b/app/code/Magento/Braintree/Gateway/Request/PaymentDataBuilder.php index fdf63ab8ebdf5..a3341c3fc1873 100644 --- a/app/code/Magento/Braintree/Gateway/Request/PaymentDataBuilder.php +++ b/app/code/Magento/Braintree/Gateway/Request/PaymentDataBuilder.php @@ -13,7 +13,6 @@ /** * Payment Data Builder - * @since 2.1.0 */ class PaymentDataBuilder implements BuilderInterface { @@ -50,13 +49,11 @@ class PaymentDataBuilder implements BuilderInterface /** * @var Config - * @since 2.1.0 */ private $config; /** * @var SubjectReader - * @since 2.1.0 */ private $subjectReader; @@ -65,7 +62,6 @@ class PaymentDataBuilder implements BuilderInterface * * @param Config $config * @param SubjectReader $subjectReader - * @since 2.1.0 */ public function __construct(Config $config, SubjectReader $subjectReader) { @@ -75,7 +71,6 @@ public function __construct(Config $config, SubjectReader $subjectReader) /** * @inheritdoc - * @since 2.1.0 */ public function build(array $buildSubject) { diff --git a/app/code/Magento/Braintree/Gateway/Request/RefundDataBuilder.php b/app/code/Magento/Braintree/Gateway/Request/RefundDataBuilder.php index 1da555545cf35..012c4d303b486 100644 --- a/app/code/Magento/Braintree/Gateway/Request/RefundDataBuilder.php +++ b/app/code/Magento/Braintree/Gateway/Request/RefundDataBuilder.php @@ -14,7 +14,6 @@ /** * Class \Magento\Braintree\Gateway\Request\RefundDataBuilder * - * @since 2.1.0 */ class RefundDataBuilder implements BuilderInterface { @@ -22,7 +21,6 @@ class RefundDataBuilder implements BuilderInterface /** * @var SubjectReader - * @since 2.1.0 */ private $subjectReader; @@ -30,7 +28,6 @@ class RefundDataBuilder implements BuilderInterface * Constructor * * @param SubjectReader $subjectReader - * @since 2.1.0 */ public function __construct(SubjectReader $subjectReader) { @@ -42,7 +39,6 @@ public function __construct(SubjectReader $subjectReader) * * @param array $buildSubject * @return array - * @since 2.1.0 */ public function build(array $buildSubject) { diff --git a/app/code/Magento/Braintree/Gateway/Request/SettlementDataBuilder.php b/app/code/Magento/Braintree/Gateway/Request/SettlementDataBuilder.php index 01b0e8ad6c39f..f614410025a6b 100644 --- a/app/code/Magento/Braintree/Gateway/Request/SettlementDataBuilder.php +++ b/app/code/Magento/Braintree/Gateway/Request/SettlementDataBuilder.php @@ -9,7 +9,6 @@ /** * Class SettlementDataBuilder - * @since 2.1.0 */ class SettlementDataBuilder implements BuilderInterface { @@ -17,7 +16,6 @@ class SettlementDataBuilder implements BuilderInterface /** * @inheritdoc - * @since 2.1.0 */ public function build(array $buildSubject) { diff --git a/app/code/Magento/Braintree/Gateway/Request/ThreeDSecureDataBuilder.php b/app/code/Magento/Braintree/Gateway/Request/ThreeDSecureDataBuilder.php index 538b00e1e6235..c366a67701521 100644 --- a/app/code/Magento/Braintree/Gateway/Request/ThreeDSecureDataBuilder.php +++ b/app/code/Magento/Braintree/Gateway/Request/ThreeDSecureDataBuilder.php @@ -13,7 +13,6 @@ /** * Class ThreeDSecureDataBuilder - * @since 2.1.0 */ class ThreeDSecureDataBuilder implements BuilderInterface { @@ -21,13 +20,11 @@ class ThreeDSecureDataBuilder implements BuilderInterface /** * @var Config - * @since 2.1.0 */ private $config; /** * @var SubjectReader - * @since 2.1.0 */ private $subjectReader; @@ -36,7 +33,6 @@ class ThreeDSecureDataBuilder implements BuilderInterface * * @param Config $config * @param SubjectReader $subjectReader - * @since 2.1.0 */ public function __construct(Config $config, SubjectReader $subjectReader) { @@ -46,7 +42,6 @@ public function __construct(Config $config, SubjectReader $subjectReader) /** * @inheritdoc - * @since 2.1.0 */ public function build(array $buildSubject) { @@ -66,7 +61,6 @@ public function build(array $buildSubject) * @param OrderAdapterInterface $order * @param float $amount * @return bool - * @since 2.1.0 */ private function is3DSecureEnabled(OrderAdapterInterface $order, $amount) { diff --git a/app/code/Magento/Braintree/Gateway/Request/VaultCaptureDataBuilder.php b/app/code/Magento/Braintree/Gateway/Request/VaultCaptureDataBuilder.php index 97821f8743de2..7182f87e082d1 100644 --- a/app/code/Magento/Braintree/Gateway/Request/VaultCaptureDataBuilder.php +++ b/app/code/Magento/Braintree/Gateway/Request/VaultCaptureDataBuilder.php @@ -11,7 +11,6 @@ /** * Class VaultCaptureDataBuilder - * @since 2.1.0 */ class VaultCaptureDataBuilder implements BuilderInterface { @@ -19,7 +18,6 @@ class VaultCaptureDataBuilder implements BuilderInterface /** * @var SubjectReader - * @since 2.1.0 */ private $subjectReader; @@ -27,7 +25,6 @@ class VaultCaptureDataBuilder implements BuilderInterface * Constructor * * @param SubjectReader $subjectReader - * @since 2.1.0 */ public function __construct(SubjectReader $subjectReader) { @@ -36,7 +33,6 @@ public function __construct(SubjectReader $subjectReader) /** * @inheritdoc - * @since 2.1.0 */ public function build(array $buildSubject) { diff --git a/app/code/Magento/Braintree/Gateway/Request/VaultDataBuilder.php b/app/code/Magento/Braintree/Gateway/Request/VaultDataBuilder.php index f71ea2e9529ca..daa78dcc6f99d 100644 --- a/app/code/Magento/Braintree/Gateway/Request/VaultDataBuilder.php +++ b/app/code/Magento/Braintree/Gateway/Request/VaultDataBuilder.php @@ -9,7 +9,6 @@ /** * Vault Data Builder - * @since 2.1.0 */ class VaultDataBuilder implements BuilderInterface { @@ -26,7 +25,6 @@ class VaultDataBuilder implements BuilderInterface /** * @inheritdoc - * @since 2.1.0 */ public function build(array $buildSubject) { diff --git a/app/code/Magento/Braintree/Gateway/Request/VoidDataBuilder.php b/app/code/Magento/Braintree/Gateway/Request/VoidDataBuilder.php index f4aeaf10ea21a..f68062f08a02c 100644 --- a/app/code/Magento/Braintree/Gateway/Request/VoidDataBuilder.php +++ b/app/code/Magento/Braintree/Gateway/Request/VoidDataBuilder.php @@ -12,13 +12,11 @@ /** * Class \Magento\Braintree\Gateway\Request\VoidDataBuilder * - * @since 2.1.0 */ class VoidDataBuilder implements BuilderInterface { /** * @var SubjectReader - * @since 2.1.0 */ private $subjectReader; @@ -26,7 +24,6 @@ class VoidDataBuilder implements BuilderInterface * Constructor * * @param SubjectReader $subjectReader - * @since 2.1.0 */ public function __construct(SubjectReader $subjectReader) { @@ -38,7 +35,6 @@ public function __construct(SubjectReader $subjectReader) * * @param array $buildSubject * @return array - * @since 2.1.0 */ public function build(array $buildSubject) { diff --git a/app/code/Magento/Braintree/Gateway/Response/CardDetailsHandler.php b/app/code/Magento/Braintree/Gateway/Response/CardDetailsHandler.php index 2c0ff22c3197b..2715da5d3c419 100644 --- a/app/code/Magento/Braintree/Gateway/Response/CardDetailsHandler.php +++ b/app/code/Magento/Braintree/Gateway/Response/CardDetailsHandler.php @@ -13,7 +13,6 @@ /** * Class CardDetailsHandler - * @since 2.1.0 */ class CardDetailsHandler implements HandlerInterface { @@ -29,13 +28,11 @@ class CardDetailsHandler implements HandlerInterface /** * @var Config - * @since 2.1.0 */ private $config; /** * @var SubjectReader - * @since 2.1.0 */ private $subjectReader; @@ -44,7 +41,6 @@ class CardDetailsHandler implements HandlerInterface * * @param Config $config * @param SubjectReader $subjectReader - * @since 2.1.0 */ public function __construct( Config $config, @@ -56,7 +52,6 @@ public function __construct( /** * @inheritdoc - * @since 2.1.0 */ public function handle(array $handlingSubject, array $response) { @@ -86,7 +81,6 @@ public function handle(array $handlingSubject, array $response) * * @param string $type * @return array - * @since 2.1.0 */ private function getCreditCardType($type) { diff --git a/app/code/Magento/Braintree/Gateway/Response/PayPal/VaultDetailsHandler.php b/app/code/Magento/Braintree/Gateway/Response/PayPal/VaultDetailsHandler.php index 0c196629fff0f..766b385851ab8 100644 --- a/app/code/Magento/Braintree/Gateway/Response/PayPal/VaultDetailsHandler.php +++ b/app/code/Magento/Braintree/Gateway/Response/PayPal/VaultDetailsHandler.php @@ -17,31 +17,26 @@ /** * Vault Details Handler - * @since 2.1.3 */ class VaultDetailsHandler implements HandlerInterface { /** * @var PaymentTokenInterfaceFactory - * @since 2.1.3 */ private $paymentTokenFactory; /** * @var OrderPaymentExtensionInterfaceFactory - * @since 2.1.3 */ private $paymentExtensionFactory; /** * @var SubjectReader - * @since 2.1.3 */ private $subjectReader; /** * @var DateTimeFactory - * @since 2.1.3 */ private $dateTimeFactory; @@ -52,7 +47,6 @@ class VaultDetailsHandler implements HandlerInterface * @param OrderPaymentExtensionInterfaceFactory $paymentExtensionFactory * @param SubjectReader $subjectReader * @param DateTimeFactory $dateTimeFactory - * @since 2.1.3 */ public function __construct( PaymentTokenInterfaceFactory $paymentTokenFactory, @@ -68,7 +62,6 @@ public function __construct( /** * @inheritdoc - * @since 2.1.3 */ public function handle(array $handlingSubject, array $response) { @@ -89,7 +82,6 @@ public function handle(array $handlingSubject, array $response) * * @param \Braintree\Transaction $transaction * @return PaymentTokenInterface|null - * @since 2.1.3 */ private function getVaultPaymentToken(Transaction $transaction) { @@ -113,7 +105,6 @@ private function getVaultPaymentToken(Transaction $transaction) /** * @return string - * @since 2.1.3 */ private function getExpirationDate() { @@ -126,7 +117,6 @@ private function getExpirationDate() * Get payment extension attributes * @param InfoInterface $payment * @return OrderPaymentExtensionInterface - * @since 2.1.3 */ private function getExtensionAttributes(InfoInterface $payment) { diff --git a/app/code/Magento/Braintree/Gateway/Response/PayPalDetailsHandler.php b/app/code/Magento/Braintree/Gateway/Response/PayPalDetailsHandler.php index 21c88fbce40ef..83d7e44a6b612 100644 --- a/app/code/Magento/Braintree/Gateway/Response/PayPalDetailsHandler.php +++ b/app/code/Magento/Braintree/Gateway/Response/PayPalDetailsHandler.php @@ -11,7 +11,6 @@ /** * Class PayPalDetailsHandler - * @since 2.1.0 */ class PayPalDetailsHandler implements HandlerInterface { @@ -21,7 +20,6 @@ class PayPalDetailsHandler implements HandlerInterface /** * @var SubjectReader - * @since 2.1.0 */ private $subjectReader; @@ -29,7 +27,6 @@ class PayPalDetailsHandler implements HandlerInterface * Constructor * * @param SubjectReader $subjectReader - * @since 2.1.0 */ public function __construct(SubjectReader $subjectReader) { @@ -38,7 +35,6 @@ public function __construct(SubjectReader $subjectReader) /** * @inheritdoc - * @since 2.1.0 */ public function handle(array $handlingSubject, array $response) { diff --git a/app/code/Magento/Braintree/Gateway/Response/PaymentDetailsHandler.php b/app/code/Magento/Braintree/Gateway/Response/PaymentDetailsHandler.php index b9692eb62407c..3941640aaeeb1 100644 --- a/app/code/Magento/Braintree/Gateway/Response/PaymentDetailsHandler.php +++ b/app/code/Magento/Braintree/Gateway/Response/PaymentDetailsHandler.php @@ -14,7 +14,6 @@ /** * Payment Details Handler - * @since 2.1.0 */ class PaymentDetailsHandler implements HandlerInterface { @@ -33,7 +32,6 @@ class PaymentDetailsHandler implements HandlerInterface /** * List of additional details * @var array - * @since 2.1.0 */ protected $additionalInformationMapping = [ self::AVS_POSTAL_RESPONSE_CODE, @@ -46,7 +44,6 @@ class PaymentDetailsHandler implements HandlerInterface /** * @var SubjectReader - * @since 2.1.0 */ private $subjectReader; @@ -54,7 +51,6 @@ class PaymentDetailsHandler implements HandlerInterface * Constructor * * @param SubjectReader $subjectReader - * @since 2.1.0 */ public function __construct(SubjectReader $subjectReader) { @@ -63,7 +59,6 @@ public function __construct(SubjectReader $subjectReader) /** * @inheritdoc - * @since 2.1.0 */ public function handle(array $handlingSubject, array $response) { diff --git a/app/code/Magento/Braintree/Gateway/Response/RefundHandler.php b/app/code/Magento/Braintree/Gateway/Response/RefundHandler.php index 2d9a3700bd1a2..19980e8d422ca 100644 --- a/app/code/Magento/Braintree/Gateway/Response/RefundHandler.php +++ b/app/code/Magento/Braintree/Gateway/Response/RefundHandler.php @@ -10,7 +10,6 @@ /** * Class \Magento\Braintree\Gateway\Response\RefundHandler * - * @since 2.1.0 */ class RefundHandler extends VoidHandler { @@ -20,7 +19,6 @@ class RefundHandler extends VoidHandler * @param Payment $orderPayment * @return bool * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.1.0 */ protected function shouldCloseParentTransaction(Payment $orderPayment) { diff --git a/app/code/Magento/Braintree/Gateway/Response/RiskDataHandler.php b/app/code/Magento/Braintree/Gateway/Response/RiskDataHandler.php index bd0c85d33c2d0..95660e10b394c 100644 --- a/app/code/Magento/Braintree/Gateway/Response/RiskDataHandler.php +++ b/app/code/Magento/Braintree/Gateway/Response/RiskDataHandler.php @@ -11,7 +11,6 @@ /** * Class RiskDataHandler - * @since 2.1.0 */ class RiskDataHandler implements HandlerInterface { @@ -27,13 +26,11 @@ class RiskDataHandler implements HandlerInterface /** * Risk data Review status - * @since 2.1.3 */ private static $statusReview = 'Review'; /** * @var SubjectReader - * @since 2.1.0 */ private $subjectReader; @@ -41,7 +38,6 @@ class RiskDataHandler implements HandlerInterface * Constructor * * @param SubjectReader $subjectReader - * @since 2.1.0 */ public function __construct(SubjectReader $subjectReader) { @@ -54,7 +50,6 @@ public function __construct(SubjectReader $subjectReader) * @param array $handlingSubject * @param array $response * @return void - * @since 2.1.0 */ public function handle(array $handlingSubject, array $response) { diff --git a/app/code/Magento/Braintree/Gateway/Response/ThreeDSecureDetailsHandler.php b/app/code/Magento/Braintree/Gateway/Response/ThreeDSecureDetailsHandler.php index 7c795d8af18a2..93f37cb561feb 100644 --- a/app/code/Magento/Braintree/Gateway/Response/ThreeDSecureDetailsHandler.php +++ b/app/code/Magento/Braintree/Gateway/Response/ThreeDSecureDetailsHandler.php @@ -13,7 +13,6 @@ /** * Class ThreeDSecureDetailsHandler - * @since 2.1.0 */ class ThreeDSecureDetailsHandler implements HandlerInterface { @@ -23,7 +22,6 @@ class ThreeDSecureDetailsHandler implements HandlerInterface /** * @var SubjectReader - * @since 2.1.0 */ private $subjectReader; @@ -31,7 +29,6 @@ class ThreeDSecureDetailsHandler implements HandlerInterface * Constructor * * @param SubjectReader $subjectReader - * @since 2.1.0 */ public function __construct(SubjectReader $subjectReader) { @@ -40,7 +37,6 @@ public function __construct(SubjectReader $subjectReader) /** * @inheritdoc - * @since 2.1.0 */ public function handle(array $handlingSubject, array $response) { diff --git a/app/code/Magento/Braintree/Gateway/Response/TransactionIdHandler.php b/app/code/Magento/Braintree/Gateway/Response/TransactionIdHandler.php index 8161f6c85fc6e..a4b55d10c0254 100644 --- a/app/code/Magento/Braintree/Gateway/Response/TransactionIdHandler.php +++ b/app/code/Magento/Braintree/Gateway/Response/TransactionIdHandler.php @@ -12,20 +12,17 @@ /** * Class \Magento\Braintree\Gateway\Response\TransactionIdHandler * - * @since 2.1.0 */ class TransactionIdHandler implements HandlerInterface { /** * @var SubjectReader - * @since 2.1.0 */ private $subjectReader; /** * TransactionIdHandler constructor. * @param SubjectReader $subjectReader - * @since 2.1.0 */ public function __construct( SubjectReader $subjectReader @@ -39,7 +36,6 @@ public function __construct( * @param array $handlingSubject * @param array $response * @return void - * @since 2.1.0 */ public function handle(array $handlingSubject, array $response) { @@ -66,7 +62,6 @@ public function handle(array $handlingSubject, array $response) * @param Payment $orderPayment * @param \Braintree\Transaction $transaction * @return void - * @since 2.1.0 */ protected function setTransactionId(Payment $orderPayment, \Braintree\Transaction $transaction) { @@ -77,7 +72,6 @@ protected function setTransactionId(Payment $orderPayment, \Braintree\Transactio * Whether transaction should be closed * * @return bool - * @since 2.1.0 */ protected function shouldCloseTransaction() { @@ -90,7 +84,6 @@ protected function shouldCloseTransaction() * @param Payment $orderPayment * @return bool * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.1.0 */ protected function shouldCloseParentTransaction(Payment $orderPayment) { diff --git a/app/code/Magento/Braintree/Gateway/Response/VaultDetailsHandler.php b/app/code/Magento/Braintree/Gateway/Response/VaultDetailsHandler.php index 14acf137cd872..a8332b9409f78 100644 --- a/app/code/Magento/Braintree/Gateway/Response/VaultDetailsHandler.php +++ b/app/code/Magento/Braintree/Gateway/Response/VaultDetailsHandler.php @@ -18,37 +18,31 @@ /** * Vault Details Handler * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.1.0 */ class VaultDetailsHandler implements HandlerInterface { /** * @var PaymentTokenInterfaceFactory - * @since 2.1.0 */ protected $paymentTokenFactory; /** * @var OrderPaymentExtensionInterfaceFactory - * @since 2.1.0 */ protected $paymentExtensionFactory; /** * @var SubjectReader - * @since 2.1.0 */ protected $subjectReader; /** * @var Config - * @since 2.1.0 */ protected $config; /** * @var \Magento\Framework\Serialize\Serializer\Json - * @since 2.2.0 */ private $serializer; @@ -61,7 +55,6 @@ class VaultDetailsHandler implements HandlerInterface * @param SubjectReader $subjectReader * @param \Magento\Framework\Serialize\Serializer\Json|null $serializer * @throws \RuntimeException - * @since 2.1.0 */ public function __construct( PaymentTokenInterfaceFactory $paymentTokenFactory, @@ -80,7 +73,6 @@ public function __construct( /** * @inheritdoc - * @since 2.1.0 */ public function handle(array $handlingSubject, array $response) { @@ -101,7 +93,6 @@ public function handle(array $handlingSubject, array $response) * * @param \Braintree\Transaction $transaction * @return PaymentTokenInterface|null - * @since 2.1.0 */ protected function getVaultPaymentToken(Transaction $transaction) { @@ -128,7 +119,6 @@ protected function getVaultPaymentToken(Transaction $transaction) /** * @param Transaction $transaction * @return string - * @since 2.1.0 */ private function getExpirationDate(Transaction $transaction) { @@ -150,7 +140,6 @@ private function getExpirationDate(Transaction $transaction) * Convert payment token details to JSON * @param array $details * @return string - * @since 2.1.0 */ private function convertDetailsToJSON($details) { @@ -163,7 +152,6 @@ private function convertDetailsToJSON($details) * * @param string $type * @return array - * @since 2.1.0 */ private function getCreditCardType($type) { @@ -177,7 +165,6 @@ private function getCreditCardType($type) * Get payment extension attributes * @param InfoInterface $payment * @return OrderPaymentExtensionInterface - * @since 2.1.0 */ private function getExtensionAttributes(InfoInterface $payment) { diff --git a/app/code/Magento/Braintree/Gateway/Response/VoidHandler.php b/app/code/Magento/Braintree/Gateway/Response/VoidHandler.php index 9eb2a69e21b1c..860718e8a01b8 100644 --- a/app/code/Magento/Braintree/Gateway/Response/VoidHandler.php +++ b/app/code/Magento/Braintree/Gateway/Response/VoidHandler.php @@ -10,7 +10,6 @@ /** * Class \Magento\Braintree\Gateway\Response\VoidHandler * - * @since 2.1.0 */ class VoidHandler extends TransactionIdHandler { @@ -19,7 +18,6 @@ class VoidHandler extends TransactionIdHandler * @param \Braintree\Transaction $transaction * @return void * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.1.0 */ protected function setTransactionId(Payment $orderPayment, \Braintree\Transaction $transaction) { @@ -30,7 +28,6 @@ protected function setTransactionId(Payment $orderPayment, \Braintree\Transactio * Whether transaction should be closed * * @return bool - * @since 2.1.0 */ protected function shouldCloseTransaction() { @@ -43,7 +40,6 @@ protected function shouldCloseTransaction() * @param Payment $orderPayment * @return bool * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.1.0 */ protected function shouldCloseParentTransaction(Payment $orderPayment) { diff --git a/app/code/Magento/Braintree/Gateway/Validator/GeneralResponseValidator.php b/app/code/Magento/Braintree/Gateway/Validator/GeneralResponseValidator.php index d32b07889cdd8..348b56e0bf41f 100644 --- a/app/code/Magento/Braintree/Gateway/Validator/GeneralResponseValidator.php +++ b/app/code/Magento/Braintree/Gateway/Validator/GeneralResponseValidator.php @@ -14,13 +14,11 @@ /** * Class \Magento\Braintree\Gateway\Validator\GeneralResponseValidator * - * @since 2.1.0 */ class GeneralResponseValidator extends AbstractValidator { /** * @var SubjectReader - * @since 2.1.0 */ protected $subjectReader; @@ -29,7 +27,6 @@ class GeneralResponseValidator extends AbstractValidator * * @param ResultInterfaceFactory $resultFactory * @param SubjectReader $subjectReader - * @since 2.1.0 */ public function __construct(ResultInterfaceFactory $resultFactory, SubjectReader $subjectReader) { @@ -39,7 +36,6 @@ public function __construct(ResultInterfaceFactory $resultFactory, SubjectReader /** * @inheritdoc - * @since 2.1.0 */ public function validate(array $validationSubject) { @@ -63,7 +59,6 @@ public function validate(array $validationSubject) /** * @return array - * @since 2.1.0 */ protected function getResponseValidators() { diff --git a/app/code/Magento/Braintree/Gateway/Validator/PaymentNonceResponseValidator.php b/app/code/Magento/Braintree/Gateway/Validator/PaymentNonceResponseValidator.php index 07e8a80161620..12c6af4ee3c58 100644 --- a/app/code/Magento/Braintree/Gateway/Validator/PaymentNonceResponseValidator.php +++ b/app/code/Magento/Braintree/Gateway/Validator/PaymentNonceResponseValidator.php @@ -7,13 +7,11 @@ /** * Class PaymentNonceResponseValidator - * @since 2.1.0 */ class PaymentNonceResponseValidator extends GeneralResponseValidator { /** * @return array - * @since 2.1.0 */ protected function getResponseValidators() { diff --git a/app/code/Magento/Braintree/Gateway/Validator/ResponseValidator.php b/app/code/Magento/Braintree/Gateway/Validator/ResponseValidator.php index 0625a86e9b0d0..70e94125f2b96 100644 --- a/app/code/Magento/Braintree/Gateway/Validator/ResponseValidator.php +++ b/app/code/Magento/Braintree/Gateway/Validator/ResponseValidator.php @@ -12,13 +12,11 @@ /** * Class ResponseValidator - * @since 2.1.0 */ class ResponseValidator extends GeneralResponseValidator { /** * @return array - * @since 2.1.0 */ protected function getResponseValidators() { diff --git a/app/code/Magento/Braintree/Helper/CcType.php b/app/code/Magento/Braintree/Helper/CcType.php index ece7856bcce61..078912c6128fd 100644 --- a/app/code/Magento/Braintree/Helper/CcType.php +++ b/app/code/Magento/Braintree/Helper/CcType.php @@ -9,7 +9,6 @@ /** * Class CcType - * @since 2.1.0 */ class CcType { @@ -17,19 +16,16 @@ class CcType * All possible credit card types * * @var array - * @since 2.1.0 */ private $ccTypes = []; /** * @var \Magento\Braintree\Model\Adminhtml\Source\CcType - * @since 2.1.0 */ private $ccTypeSource; /** * @param CcType $ccTypeSource - * @since 2.1.0 */ public function __construct(CcTypeSource $ccTypeSource) { @@ -40,7 +36,6 @@ public function __construct(CcTypeSource $ccTypeSource) * All possible credit card types * * @return array - * @since 2.1.0 */ public function getCcTypes() { diff --git a/app/code/Magento/Braintree/Helper/Country.php b/app/code/Magento/Braintree/Helper/Country.php index ce08fdd88b2da..18a1a303d649e 100644 --- a/app/code/Magento/Braintree/Helper/Country.php +++ b/app/code/Magento/Braintree/Helper/Country.php @@ -10,32 +10,27 @@ /** * Class Country - * @since 2.1.0 */ class Country { /** * @var CollectionFactory - * @since 2.1.0 */ private $collectionFactory; /** * @var CountryConfig - * @since 2.1.0 */ private $countryConfig; /** * @var array - * @since 2.1.0 */ private $countries; /** * @param CollectionFactory $factory * @param CountryConfig $countryConfig - * @since 2.1.0 */ public function __construct(CollectionFactory $factory, CountryConfig $countryConfig) { @@ -47,7 +42,6 @@ public function __construct(CollectionFactory $factory, CountryConfig $countryCo * Returns countries array * * @return array - * @since 2.1.0 */ public function getCountries() { diff --git a/app/code/Magento/Braintree/Model/Adapter/BraintreeAdapter.php b/app/code/Magento/Braintree/Model/Adapter/BraintreeAdapter.php index 1c483ca5b9108..71f3828ebe9d4 100644 --- a/app/code/Magento/Braintree/Model/Adapter/BraintreeAdapter.php +++ b/app/code/Magento/Braintree/Model/Adapter/BraintreeAdapter.php @@ -16,20 +16,17 @@ /** * Class BraintreeAdapter * @codeCoverageIgnore - * @since 2.1.0 */ class BraintreeAdapter { /** * @var Config - * @since 2.1.0 */ private $config; /** * @param Config $config - * @since 2.1.0 */ public function __construct(Config $config) { @@ -41,7 +38,6 @@ public function __construct(Config $config) * Initializes credentials. * * @return void - * @since 2.1.0 */ protected function initCredentials() { @@ -58,7 +54,6 @@ protected function initCredentials() /** * @param string|null $value * @return mixed - * @since 2.1.0 */ public function environment($value = null) { @@ -68,7 +63,6 @@ public function environment($value = null) /** * @param string|null $value * @return mixed - * @since 2.1.0 */ public function merchantId($value = null) { @@ -78,7 +72,6 @@ public function merchantId($value = null) /** * @param string|null $value * @return mixed - * @since 2.1.0 */ public function publicKey($value = null) { @@ -88,7 +81,6 @@ public function publicKey($value = null) /** * @param string|null $value * @return mixed - * @since 2.1.0 */ public function privateKey($value = null) { @@ -98,7 +90,6 @@ public function privateKey($value = null) /** * @param array $params * @return \Braintree\Result\Successful|\Braintree\Result\Error|null - * @since 2.1.0 */ public function generate(array $params = []) { @@ -112,7 +103,6 @@ public function generate(array $params = []) /** * @param string $token * @return \Braintree\CreditCard|null - * @since 2.1.0 */ public function find($token) { @@ -126,7 +116,6 @@ public function find($token) /** * @param array $filters * @return \Braintree\ResourceCollection - * @since 2.1.0 */ public function search(array $filters) { @@ -136,7 +125,6 @@ public function search(array $filters) /** * @param string $token * @return \Braintree\Result\Successful|\Braintree\Result\Error - * @since 2.1.0 */ public function createNonce($token) { @@ -146,7 +134,6 @@ public function createNonce($token) /** * @param array $attributes * @return \Braintree\Result\Successful|\Braintree\Result\Error - * @since 2.1.0 */ public function sale(array $attributes) { @@ -157,7 +144,6 @@ public function sale(array $attributes) * @param string $transactionId * @param null|float $amount * @return \Braintree\Result\Successful|\Braintree\Result\Error - * @since 2.1.0 */ public function submitForSettlement($transactionId, $amount = null) { @@ -167,7 +153,6 @@ public function submitForSettlement($transactionId, $amount = null) /** * @param string $transactionId * @return \Braintree\Result\Successful|\Braintree\Result\Error - * @since 2.1.0 */ public function void($transactionId) { @@ -178,7 +163,6 @@ public function void($transactionId) * @param string $transactionId * @param null|float $amount * @return \Braintree\Result\Successful|\Braintree\Result\Error - * @since 2.1.0 */ public function refund($transactionId, $amount = null) { @@ -190,7 +174,6 @@ public function refund($transactionId, $amount = null) * @param string $transactionId * @param array $attributes * @return mixed - * @since 2.1.0 */ public function cloneTransaction($transactionId, array $attributes) { diff --git a/app/code/Magento/Braintree/Model/Adapter/BraintreeSearchAdapter.php b/app/code/Magento/Braintree/Model/Adapter/BraintreeSearchAdapter.php index 4906d1653efdc..167ff13a06fe8 100644 --- a/app/code/Magento/Braintree/Model/Adapter/BraintreeSearchAdapter.php +++ b/app/code/Magento/Braintree/Model/Adapter/BraintreeSearchAdapter.php @@ -14,14 +14,12 @@ /** * Class Braintree Search Adapter * @codeCoverageIgnore - * @since 2.1.0 */ class BraintreeSearchAdapter { /** * @return TextNode * @SuppressWarnings(PHPMD.ShortMethodName) - * @since 2.1.0 */ public function id() { @@ -30,7 +28,6 @@ public function id() /** * @return MultipleValueNode - * @since 2.1.0 */ public function merchantAccountId() { @@ -39,7 +36,6 @@ public function merchantAccountId() /** * @return TextNode - * @since 2.1.0 */ public function orderId() { @@ -48,7 +44,6 @@ public function orderId() /** * @return TextNode - * @since 2.1.0 */ public function paypalPaymentId() { @@ -57,7 +52,6 @@ public function paypalPaymentId() /** * @return MultipleValueNode - * @since 2.1.0 */ public function createdUsing() { @@ -66,7 +60,6 @@ public function createdUsing() /** * @return MultipleValueNode - * @since 2.1.0 */ public function type() { @@ -75,7 +68,6 @@ public function type() /** * @return RangeNode - * @since 2.1.0 */ public function createdAt() { @@ -84,7 +76,6 @@ public function createdAt() /** * @return RangeNode - * @since 2.1.0 */ public function amount() { @@ -93,7 +84,6 @@ public function amount() /** * @return MultipleValueNode - * @since 2.1.0 */ public function status() { @@ -102,7 +92,6 @@ public function status() /** * @return TextNode - * @since 2.1.0 */ public function settlementBatchId() { @@ -111,7 +100,6 @@ public function settlementBatchId() /** * @return MultipleValueNode - * @since 2.1.0 */ public function paymentInstrumentType() { diff --git a/app/code/Magento/Braintree/Model/Adminhtml/Source/CcType.php b/app/code/Magento/Braintree/Model/Adminhtml/Source/CcType.php index ca42b8343c67b..3c90b4b266b51 100644 --- a/app/code/Magento/Braintree/Model/Adminhtml/Source/CcType.php +++ b/app/code/Magento/Braintree/Model/Adminhtml/Source/CcType.php @@ -8,14 +8,12 @@ /** * Class CcType * @codeCoverageIgnore - * @since 2.1.0 */ class CcType extends \Magento\Payment\Model\Source\Cctype { /** * List of specific credit card types * @var array - * @since 2.1.0 */ private $specificCardTypesList = [ 'CUP' => 'China Union Pay' @@ -25,7 +23,6 @@ class CcType extends \Magento\Payment\Model\Source\Cctype * Allowed credit card types * * @return string[] - * @since 2.1.0 */ public function getAllowedTypes() { @@ -36,7 +33,6 @@ public function getAllowedTypes() * Returns credit cards types * * @return array - * @since 2.1.0 */ public function getCcTypeLabelMap() { @@ -45,7 +41,6 @@ public function getCcTypeLabelMap() /** * @inheritdoc - * @since 2.1.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Braintree/Model/Adminhtml/Source/Environment.php b/app/code/Magento/Braintree/Model/Adminhtml/Source/Environment.php index 7287f767d5b2c..77cf05a611b70 100644 --- a/app/code/Magento/Braintree/Model/Adminhtml/Source/Environment.php +++ b/app/code/Magento/Braintree/Model/Adminhtml/Source/Environment.php @@ -9,7 +9,6 @@ /** * Class Environment - * @since 2.1.0 */ class Environment implements ArrayInterface { @@ -20,7 +19,6 @@ class Environment implements ArrayInterface * Possible environment types * * @return array - * @since 2.1.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Braintree/Model/Adminhtml/Source/PaymentAction.php b/app/code/Magento/Braintree/Model/Adminhtml/Source/PaymentAction.php index a77184c862db9..e0d684a7aa976 100644 --- a/app/code/Magento/Braintree/Model/Adminhtml/Source/PaymentAction.php +++ b/app/code/Magento/Braintree/Model/Adminhtml/Source/PaymentAction.php @@ -10,7 +10,6 @@ /** * Class PaymentAction - * @since 2.1.0 */ class PaymentAction implements ArrayInterface { @@ -18,7 +17,6 @@ class PaymentAction implements ArrayInterface * Possible actions on order place * * @return array - * @since 2.1.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Braintree/Model/Adminhtml/System/Config/Country.php b/app/code/Magento/Braintree/Model/Adminhtml/System/Config/Country.php index 38920f0240165..ae154e768ed09 100644 --- a/app/code/Magento/Braintree/Model/Adminhtml/System/Config/Country.php +++ b/app/code/Magento/Braintree/Model/Adminhtml/System/Config/Country.php @@ -10,13 +10,11 @@ /** * Class Country - * @since 2.1.0 */ class Country implements ArrayInterface { /** * @var array - * @since 2.1.0 */ protected $options; @@ -24,13 +22,11 @@ class Country implements ArrayInterface * Countries * * @var \Magento\Directory\Model\ResourceModel\Country\Collection - * @since 2.1.0 */ protected $countryCollection; /** * Countries not supported by Braintree - * @since 2.1.0 */ protected $excludedCountries = [ 'MM', @@ -56,7 +52,6 @@ class Country implements ArrayInterface /** * @param \Magento\Directory\Model\ResourceModel\Country\Collection $countryCollection - * @since 2.1.0 */ public function __construct(Collection $countryCollection) { @@ -66,7 +61,6 @@ public function __construct(Collection $countryCollection) /** * @param bool $isMultiselect * @return array - * @since 2.1.0 */ public function toOptionArray($isMultiselect = false) { @@ -90,7 +84,6 @@ public function toOptionArray($isMultiselect = false) * * @param string $countryId * @return boolean - * @since 2.1.0 */ public function isCountryRestricted($countryId) { @@ -100,7 +93,6 @@ public function isCountryRestricted($countryId) /** * Return list of excluded countries * @return array - * @since 2.1.0 */ public function getExcludedCountries() { diff --git a/app/code/Magento/Braintree/Model/Adminhtml/System/Config/CountryCreditCard.php b/app/code/Magento/Braintree/Model/Adminhtml/System/Config/CountryCreditCard.php index a8856a13f5a97..f68b7eca047f5 100644 --- a/app/code/Magento/Braintree/Model/Adminhtml/System/Config/CountryCreditCard.php +++ b/app/code/Magento/Braintree/Model/Adminhtml/System/Config/CountryCreditCard.php @@ -17,19 +17,16 @@ /** * Class CountryCreditCard - * @since 2.1.0 */ class CountryCreditCard extends Value { /** * @var \Magento\Framework\Math\Random - * @since 2.1.0 */ protected $mathRandom; /** * @var \Magento\Framework\Serialize\Serializer\Json - * @since 2.2.0 */ private $serializer; @@ -43,7 +40,6 @@ class CountryCreditCard extends Value * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data * @param \Magento\Framework\Serialize\Serializer\Json $serializer - * @since 2.1.0 */ public function __construct( Context $context, @@ -66,7 +62,6 @@ public function __construct( * Prepare data before save * * @return $this - * @since 2.1.0 */ public function beforeSave() { @@ -91,7 +86,6 @@ public function beforeSave() * Process data after load * * @return $this - * @since 2.1.0 */ public function afterLoad() { @@ -109,7 +103,6 @@ public function afterLoad() * * @param array $value * @return array - * @since 2.1.0 */ protected function encodeArrayFieldValue(array $value) { @@ -127,7 +120,6 @@ protected function encodeArrayFieldValue(array $value) * @param array $countriesList * @param array $inputCountriesList * @return array - * @since 2.1.0 */ private function appendUniqueCountries(array $countriesList, array $inputCountriesList) { diff --git a/app/code/Magento/Braintree/Model/AvsEmsCodeMapper.php b/app/code/Magento/Braintree/Model/AvsEmsCodeMapper.php index 8ac1423bacdcb..1d5057d83d6cf 100644 --- a/app/code/Magento/Braintree/Model/AvsEmsCodeMapper.php +++ b/app/code/Magento/Braintree/Model/AvsEmsCodeMapper.php @@ -16,7 +16,6 @@ * * @see https://developers.braintreepayments.com/reference/response/transaction * @see http://www.emsecommerce.net/avs_cvv2_response_codes.htm - * @since 2.2.0 */ class AvsEmsCodeMapper implements PaymentVerificationInterface { @@ -24,7 +23,6 @@ class AvsEmsCodeMapper implements PaymentVerificationInterface * Default code for mismatching mapping. * * @var string - * @since 2.2.0 */ private static $unavailableCode = 'U'; @@ -32,7 +30,6 @@ class AvsEmsCodeMapper implements PaymentVerificationInterface * List of mapping AVS codes * * @var array - * @since 2.2.0 */ private static $avsMap = [ 'MM' => 'Y', @@ -50,7 +47,6 @@ class AvsEmsCodeMapper implements PaymentVerificationInterface * @param OrderPaymentInterface $orderPayment * @return string * @throws \InvalidArgumentException If specified order payment has different payment method code. - * @since 2.2.0 */ public function getCode(OrderPaymentInterface $orderPayment) { diff --git a/app/code/Magento/Braintree/Model/CvvEmsCodeMapper.php b/app/code/Magento/Braintree/Model/CvvEmsCodeMapper.php index e5df0099ef35a..b91bc1ced4980 100644 --- a/app/code/Magento/Braintree/Model/CvvEmsCodeMapper.php +++ b/app/code/Magento/Braintree/Model/CvvEmsCodeMapper.php @@ -16,7 +16,6 @@ * * @see https://developers.braintreepayments.com/reference/response/transaction * @see http://www.emsecommerce.net/avs_cvv2_response_codes.htm - * @since 2.2.0 */ class CvvEmsCodeMapper implements PaymentVerificationInterface { @@ -24,7 +23,6 @@ class CvvEmsCodeMapper implements PaymentVerificationInterface * Default code for mismatch mapping * * @var string - * @since 2.2.0 */ private static $notProvidedCode = 'P'; @@ -32,7 +30,6 @@ class CvvEmsCodeMapper implements PaymentVerificationInterface * List of mapping CVV codes * * @var array - * @since 2.2.0 */ private static $cvvMap = [ 'M' => 'M', @@ -49,7 +46,6 @@ class CvvEmsCodeMapper implements PaymentVerificationInterface * @param OrderPaymentInterface $orderPayment * @return string * @throws \InvalidArgumentException If specified order payment has different payment method code. - * @since 2.2.0 */ public function getCode(OrderPaymentInterface $orderPayment) { diff --git a/app/code/Magento/Braintree/Model/LocaleResolver.php b/app/code/Magento/Braintree/Model/LocaleResolver.php index 84b0bb4fd6545..3819c7a4e31a2 100644 --- a/app/code/Magento/Braintree/Model/LocaleResolver.php +++ b/app/code/Magento/Braintree/Model/LocaleResolver.php @@ -11,26 +11,22 @@ /** * Class \Magento\Braintree\Model\LocaleResolver * - * @since 2.2.0 */ class LocaleResolver implements ResolverInterface { /** * @var ResolverInterface - * @since 2.2.0 */ private $resolver; /** * @var Config - * @since 2.2.0 */ private $config; /** * @param ResolverInterface $resolver * @param Config $config - * @since 2.2.0 */ public function __construct(ResolverInterface $resolver, Config $config) { @@ -40,7 +36,6 @@ public function __construct(ResolverInterface $resolver, Config $config) /** * @inheritdoc - * @since 2.2.0 */ public function getDefaultLocalePath() { @@ -49,7 +44,6 @@ public function getDefaultLocalePath() /** * @inheritdoc - * @since 2.2.0 */ public function setDefaultLocale($locale) { @@ -58,7 +52,6 @@ public function setDefaultLocale($locale) /** * @inheritdoc - * @since 2.2.0 */ public function getDefaultLocale() { @@ -67,7 +60,6 @@ public function getDefaultLocale() /** * @inheritdoc - * @since 2.2.0 */ public function setLocale($locale = null) { @@ -78,7 +70,6 @@ public function setLocale($locale = null) * Gets store's locale or the `en_US` locale if store's locale does not supported by PayPal. * * @return string - * @since 2.2.0 */ public function getLocale() { @@ -90,7 +81,6 @@ public function getLocale() /** * @inheritdoc - * @since 2.2.0 */ public function emulate($scopeId) { @@ -99,7 +89,6 @@ public function emulate($scopeId) /** * @inheritdoc - * @since 2.2.0 */ public function revert() { diff --git a/app/code/Magento/Braintree/Model/Paypal/Helper/AbstractHelper.php b/app/code/Magento/Braintree/Model/Paypal/Helper/AbstractHelper.php index f4727c1d55655..58c2f1d454899 100644 --- a/app/code/Magento/Braintree/Model/Paypal/Helper/AbstractHelper.php +++ b/app/code/Magento/Braintree/Model/Paypal/Helper/AbstractHelper.php @@ -9,7 +9,6 @@ /** * Abstract class AbstractHelper - * @since 2.1.0 */ abstract class AbstractHelper { @@ -18,7 +17,6 @@ abstract class AbstractHelper * * @param Quote $quote * @return void - * @since 2.1.0 */ protected function disabledQuoteAddressValidation(Quote $quote) { diff --git a/app/code/Magento/Braintree/Model/Paypal/Helper/OrderPlace.php b/app/code/Magento/Braintree/Model/Paypal/Helper/OrderPlace.php index 282caeada66fa..b833798eabf90 100644 --- a/app/code/Magento/Braintree/Model/Paypal/Helper/OrderPlace.php +++ b/app/code/Magento/Braintree/Model/Paypal/Helper/OrderPlace.php @@ -17,31 +17,26 @@ /** * Class OrderPlace * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.1.0 */ class OrderPlace extends AbstractHelper { /** * @var CartManagementInterface - * @since 2.1.0 */ private $cartManagement; /** * @var AgreementsValidatorInterface - * @since 2.1.0 */ private $agreementsValidator; /** * @var Session - * @since 2.1.0 */ private $customerSession; /** * @var Data - * @since 2.1.0 */ private $checkoutHelper; @@ -52,7 +47,6 @@ class OrderPlace extends AbstractHelper * @param AgreementsValidatorInterface $agreementsValidator * @param Session $customerSession * @param Data $checkoutHelper - * @since 2.1.0 */ public function __construct( CartManagementInterface $cartManagement, @@ -73,7 +67,6 @@ public function __construct( * @param array $agreement * @return void * @throws LocalizedException - * @since 2.1.0 */ public function execute(Quote $quote, array $agreement) { @@ -96,7 +89,6 @@ public function execute(Quote $quote, array $agreement) * * @param Quote $quote * @return string - * @since 2.1.0 */ private function getCheckoutMethod(Quote $quote) { @@ -119,7 +111,6 @@ private function getCheckoutMethod(Quote $quote) * * @param Quote $quote * @return void - * @since 2.1.0 */ private function prepareGuestQuote(Quote $quote) { diff --git a/app/code/Magento/Braintree/Model/Paypal/Helper/QuoteUpdater.php b/app/code/Magento/Braintree/Model/Paypal/Helper/QuoteUpdater.php index 51fb35fd93193..fe5895541543d 100644 --- a/app/code/Magento/Braintree/Model/Paypal/Helper/QuoteUpdater.php +++ b/app/code/Magento/Braintree/Model/Paypal/Helper/QuoteUpdater.php @@ -16,19 +16,16 @@ /** * Class QuoteUpdater - * @since 2.1.0 */ class QuoteUpdater extends AbstractHelper { /** * @var Config - * @since 2.1.0 */ private $config; /** * @var CartRepositoryInterface - * @since 2.1.0 */ private $quoteRepository; @@ -37,7 +34,6 @@ class QuoteUpdater extends AbstractHelper * * @param Config $config * @param CartRepositoryInterface $quoteRepository - * @since 2.1.0 */ public function __construct( Config $config, @@ -56,7 +52,6 @@ public function __construct( * @return void * @throws \InvalidArgumentException * @throws LocalizedException - * @since 2.1.0 */ public function execute($nonce, array $details, Quote $quote) { @@ -78,7 +73,6 @@ public function execute($nonce, array $details, Quote $quote) * @param Quote $quote * @param array $details * @return void - * @since 2.1.0 */ private function updateQuote(Quote $quote, array $details) { @@ -107,7 +101,6 @@ private function updateQuote(Quote $quote, array $details) * @param Quote $quote * @param array $details * @return void - * @since 2.1.0 */ private function updateQuoteAddress(Quote $quote, array $details) { @@ -125,7 +118,6 @@ private function updateQuoteAddress(Quote $quote, array $details) * @param Quote $quote * @param array $details * @return void - * @since 2.1.0 */ private function updateShippingAddress(Quote $quote, array $details) { @@ -151,7 +143,6 @@ private function updateShippingAddress(Quote $quote, array $details) * @param Quote $quote * @param array $details * @return void - * @since 2.1.0 */ private function updateBillingAddress(Quote $quote, array $details) { @@ -179,7 +170,6 @@ private function updateBillingAddress(Quote $quote, array $details) * @param Address $address * @param array $addressData * @return void - * @since 2.1.0 */ private function updateAddressData(Address $address, array $addressData) { diff --git a/app/code/Magento/Braintree/Model/Paypal/Helper/ShippingMethodUpdater.php b/app/code/Magento/Braintree/Model/Paypal/Helper/ShippingMethodUpdater.php index be45d89dc7a76..2ad10075291ec 100644 --- a/app/code/Magento/Braintree/Model/Paypal/Helper/ShippingMethodUpdater.php +++ b/app/code/Magento/Braintree/Model/Paypal/Helper/ShippingMethodUpdater.php @@ -11,19 +11,16 @@ /** * Class ShippingMethodUpdater - * @since 2.1.0 */ class ShippingMethodUpdater extends AbstractHelper { /** * @var Config - * @since 2.1.0 */ private $config; /** * @var CartRepositoryInterface - * @since 2.1.0 */ private $quoteRepository; @@ -32,7 +29,6 @@ class ShippingMethodUpdater extends AbstractHelper * * @param Config $config * @param CartRepositoryInterface $quoteRepository - * @since 2.1.0 */ public function __construct( Config $config, @@ -49,7 +45,6 @@ public function __construct( * @param Quote $quote * @return void * @throws \InvalidArgumentException - * @since 2.1.0 */ public function execute($shippingMethod, Quote $quote) { diff --git a/app/code/Magento/Braintree/Model/Report/ConditionAppliers/ApplierInterface.php b/app/code/Magento/Braintree/Model/Report/ConditionAppliers/ApplierInterface.php index e850a7c70e963..96940078864d5 100644 --- a/app/code/Magento/Braintree/Model/Report/ConditionAppliers/ApplierInterface.php +++ b/app/code/Magento/Braintree/Model/Report/ConditionAppliers/ApplierInterface.php @@ -7,7 +7,6 @@ /** * Braintree filter condition applier interface - * @since 2.1.0 */ interface ApplierInterface { @@ -24,7 +23,6 @@ interface ApplierInterface * @param string $condition * @param mixed $value * @return bool - * @since 2.1.0 */ public function apply($field, $condition, $value); } diff --git a/app/code/Magento/Braintree/Model/Report/ConditionAppliers/AppliersPool.php b/app/code/Magento/Braintree/Model/Report/ConditionAppliers/AppliersPool.php index 5598b974b2ae5..3f8af0c6c7cb5 100644 --- a/app/code/Magento/Braintree/Model/Report/ConditionAppliers/AppliersPool.php +++ b/app/code/Magento/Braintree/Model/Report/ConditionAppliers/AppliersPool.php @@ -7,20 +7,17 @@ /** * Class AppliersPool - * @since 2.1.0 */ class AppliersPool { /** * @var \Magento\Braintree\Model\Report\ConditionAppliers\ApplierInterface[] - * @since 2.1.0 */ private $appliersPool = []; /** * AppliersPool constructor. * @param ApplierInterface[] $appliers - * @since 2.1.0 */ public function __construct(array $appliers) { @@ -32,7 +29,6 @@ public function __construct(array $appliers) * Check appliers's types * * @return bool - * @since 2.1.0 */ private function checkAppliers() { @@ -48,7 +44,6 @@ private function checkAppliers() * Get condition applier for filter * @param object $filter * @return null|ApplierInterface - * @since 2.1.0 */ public function getApplier($filter) { diff --git a/app/code/Magento/Braintree/Model/Report/ConditionAppliers/MultipleValue.php b/app/code/Magento/Braintree/Model/Report/ConditionAppliers/MultipleValue.php index bc9b6ef483b43..1286428d7d84b 100644 --- a/app/code/Magento/Braintree/Model/Report/ConditionAppliers/MultipleValue.php +++ b/app/code/Magento/Braintree/Model/Report/ConditionAppliers/MultipleValue.php @@ -9,7 +9,6 @@ /** * MultipleValue applier - * @since 2.1.0 */ class MultipleValue implements ApplierInterface { @@ -20,7 +19,6 @@ class MultipleValue implements ApplierInterface * @param string $condition * @param mixed $value * @return bool - * @since 2.1.0 */ public function apply($field, $condition, $value) { diff --git a/app/code/Magento/Braintree/Model/Report/ConditionAppliers/Range.php b/app/code/Magento/Braintree/Model/Report/ConditionAppliers/Range.php index a0bfab8853197..b202e85b4a0f5 100644 --- a/app/code/Magento/Braintree/Model/Report/ConditionAppliers/Range.php +++ b/app/code/Magento/Braintree/Model/Report/ConditionAppliers/Range.php @@ -9,7 +9,6 @@ /** * Range applier - * @since 2.1.0 */ class Range implements ApplierInterface { @@ -20,7 +19,6 @@ class Range implements ApplierInterface * @param string $condition * @param mixed $value * @return bool - * @since 2.1.0 */ public function apply($field, $condition, $value) { diff --git a/app/code/Magento/Braintree/Model/Report/ConditionAppliers/Text.php b/app/code/Magento/Braintree/Model/Report/ConditionAppliers/Text.php index c99078853e4ab..236c089cff903 100644 --- a/app/code/Magento/Braintree/Model/Report/ConditionAppliers/Text.php +++ b/app/code/Magento/Braintree/Model/Report/ConditionAppliers/Text.php @@ -9,7 +9,6 @@ /** * Text applier - * @since 2.1.0 */ class Text implements ApplierInterface { @@ -20,7 +19,6 @@ class Text implements ApplierInterface * @param string $condition * @param mixed $value * @return bool - * @since 2.1.0 */ public function apply($field, $condition, $value) { diff --git a/app/code/Magento/Braintree/Model/Report/FilterMapper.php b/app/code/Magento/Braintree/Model/Report/FilterMapper.php index dff372b69e31e..c9b17ae584231 100644 --- a/app/code/Magento/Braintree/Model/Report/FilterMapper.php +++ b/app/code/Magento/Braintree/Model/Report/FilterMapper.php @@ -10,30 +10,25 @@ /** * Class FilterMapper - * @since 2.1.0 */ class FilterMapper { /** * @var array - * @since 2.1.0 */ private $searchFieldsToFiltersMap = []; /** * @var \Magento\Braintree\Model\Report\ConditionAppliers\AppliersPool - * @since 2.1.0 */ private $appliersPool; /** * @var \Magento\Braintree\Model\Adapter\BraintreeSearchAdapter - * @since 2.1.0 */ private $braintreeSearchAdapter; /** - * @since 2.1.0 */ public function __construct( AppliersPool $appliersPool, @@ -47,7 +42,6 @@ public function __construct( /** * Init fields map with Braintree filters * @return void - * @since 2.1.0 */ private function initFieldsToFiltersMap() { @@ -71,7 +65,6 @@ private function initFieldsToFiltersMap() * @param string $field * @param array $conditionMap * @return null|object - * @since 2.1.0 */ public function getFilter($field, array $conditionMap) { @@ -93,7 +86,6 @@ public function getFilter($field, array $conditionMap) * @param object $fieldFilter * @param array $conditionMap * @return bool - * @since 2.1.0 */ private function applyConditions($fieldFilter, array $conditionMap) { diff --git a/app/code/Magento/Braintree/Model/Report/Row/TransactionMap.php b/app/code/Magento/Braintree/Model/Report/Row/TransactionMap.php index 31da17ee097c1..99feb511c7375 100644 --- a/app/code/Magento/Braintree/Model/Report/Row/TransactionMap.php +++ b/app/code/Magento/Braintree/Model/Report/Row/TransactionMap.php @@ -12,7 +12,6 @@ /** * Class TransactionMap - * @since 2.1.0 */ class TransactionMap implements DocumentInterface { @@ -20,19 +19,16 @@ class TransactionMap implements DocumentInterface /** * @var AttributeValueFactory - * @since 2.1.0 */ private $attributeValueFactory; /** * @var Transaction - * @since 2.1.0 */ private $transaction; /** * @var array - * @since 2.1.0 */ public static $simpleFieldsMap = [ 'id', @@ -54,7 +50,6 @@ class TransactionMap implements DocumentInterface /** * @param AttributeValueFactory $attributeValueFactory * @param Transaction $transaction - * @since 2.1.0 */ public function __construct( AttributeValueFactory $attributeValueFactory, @@ -68,7 +63,6 @@ public function __construct( * Get Id * * @return string - * @since 2.1.0 */ public function getId() { @@ -81,7 +75,6 @@ public function getId() * @param int $id * @return void * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.1.0 */ public function setId($id) { @@ -92,7 +85,6 @@ public function setId($id) * * @param string $attributeCode * @return \Magento\Framework\Api\AttributeInterface|null - * @since 2.1.0 */ public function getCustomAttribute($attributeCode) { @@ -110,7 +102,6 @@ public function getCustomAttribute($attributeCode) * @param mixed $attributeValue * @return $this * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.1.0 */ public function setCustomAttribute($attributeCode, $attributeValue) { @@ -121,7 +112,6 @@ public function setCustomAttribute($attributeCode, $attributeValue) * Retrieve custom attributes values. * * @return \Magento\Framework\Api\AttributeInterface[]|null - * @since 2.1.0 */ public function getCustomAttributes() { @@ -144,7 +134,6 @@ public function getCustomAttributes() * @return $this * @throws \LogicException * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.1.0 */ public function setCustomAttributes(array $attributes) { @@ -156,7 +145,6 @@ public function setCustomAttributes(array $attributes) * * @param string $key * @return mixed - * @since 2.1.0 */ private function getMappedValue($key) { @@ -171,7 +159,6 @@ private function getMappedValue($key) /** * @return array - * @since 2.1.0 */ private function getMappedValues() { @@ -191,7 +178,6 @@ private function getMappedValues() * * @param string $key * @return Transaction|mixed|null - * @since 2.1.0 */ private function getTransactionFieldValue($key) { @@ -212,7 +198,6 @@ private function getTransactionFieldValue($key) * * @param string $val * @return string - * @since 2.1.0 */ private function convertToText($val) { diff --git a/app/code/Magento/Braintree/Model/Report/TransactionsCollection.php b/app/code/Magento/Braintree/Model/Report/TransactionsCollection.php index 4e4270174958f..edac6e3533849 100644 --- a/app/code/Magento/Braintree/Model/Report/TransactionsCollection.php +++ b/app/code/Magento/Braintree/Model/Report/TransactionsCollection.php @@ -13,7 +13,6 @@ /** * Class TransactionsCollection - * @since 2.1.0 */ class TransactionsCollection extends Collection implements SearchResultInterface { @@ -26,31 +25,26 @@ class TransactionsCollection extends Collection implements SearchResultInterface * Item object class name * * @var string - * @since 2.1.0 */ protected $_itemObjectClass = \Magento\Braintree\Model\Report\Row\TransactionMap::class; /** * @var array - * @since 2.1.0 */ private $filtersList = []; /** * @var FilterMapper - * @since 2.1.0 */ private $filterMapper; /** * @var BraintreeAdapter - * @since 2.1.0 */ private $braintreeAdapter; /** * @var \Braintree\ResourceCollection | null - * @since 2.1.0 */ private $collection; @@ -58,7 +52,6 @@ class TransactionsCollection extends Collection implements SearchResultInterface * @param EntityFactoryInterface $entityFactory * @param BraintreeAdapter $braintreeAdapter * @param FilterMapper $filterMapper - * @since 2.1.0 */ public function __construct( EntityFactoryInterface $entityFactory, @@ -72,7 +65,6 @@ public function __construct( /** * @return \Magento\Framework\Api\Search\DocumentInterface[] - * @since 2.1.0 */ public function getItems() { @@ -108,7 +100,6 @@ public function getItems() /** * Fetch collection from Braintree * @return \Braintree\ResourceCollection|null - * @since 2.1.0 */ protected function fetchIdsCollection() { @@ -131,7 +122,6 @@ protected function fetchIdsCollection() * @param \Magento\Framework\Api\Search\DocumentInterface[] $items * @return $this * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.1.0 */ public function setItems(array $items = null) { @@ -140,7 +130,6 @@ public function setItems(array $items = null) /** * @return \Magento\Framework\Api\Search\AggregationInterface - * @since 2.1.0 */ public function getAggregations() { @@ -151,7 +140,6 @@ public function getAggregations() * @param \Magento\Framework\Api\Search\AggregationInterface $aggregations * @return $this * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.1.0 */ public function setAggregations($aggregations) { @@ -162,7 +150,6 @@ public function setAggregations($aggregations) * Get search criteria. * * @return \Magento\Framework\Api\Search\SearchCriteriaInterface - * @since 2.1.0 */ public function getSearchCriteria() { @@ -175,7 +162,6 @@ public function getSearchCriteria() * @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria * @return $this * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.1.0 */ public function setSearchCriteria(SearchCriteriaInterface $searchCriteria) { @@ -186,7 +172,6 @@ public function setSearchCriteria(SearchCriteriaInterface $searchCriteria) * Get total count. * * @return int - * @since 2.1.0 */ public function getTotalCount() { @@ -198,7 +183,6 @@ public function getTotalCount() * Retrieve collection page size * * @return int - * @since 2.1.0 */ public function getPageSize() { @@ -212,7 +196,6 @@ public function getPageSize() * @param int $totalCount * @return $this * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.1.0 */ public function setTotalCount($totalCount) { @@ -221,7 +204,6 @@ public function setTotalCount($totalCount) /** * @inheritdoc - * @since 2.1.0 */ public function addFieldToFilter($field, $condition) { @@ -243,7 +225,6 @@ public function addFieldToFilter($field, $condition) * * @param object $filter * @return void - * @since 2.1.0 */ private function addFilterToList($filter) { @@ -254,7 +235,6 @@ private function addFilterToList($filter) /** * @return array - * @since 2.1.0 */ private function getFilters() { diff --git a/app/code/Magento/Braintree/Model/Ui/Adminhtml/PayPal/TokenUiComponentProvider.php b/app/code/Magento/Braintree/Model/Ui/Adminhtml/PayPal/TokenUiComponentProvider.php index 2d20e43399989..91585c1690548 100644 --- a/app/code/Magento/Braintree/Model/Ui/Adminhtml/PayPal/TokenUiComponentProvider.php +++ b/app/code/Magento/Braintree/Model/Ui/Adminhtml/PayPal/TokenUiComponentProvider.php @@ -16,26 +16,22 @@ /** * Gets Ui component configuration for Braintree PayPal Vault - * @since 2.1.3 */ class TokenUiComponentProvider implements TokenUiComponentProviderInterface { /** * @var TokenUiComponentInterfaceFactory - * @since 2.1.3 */ private $componentFactory; /** * @var UrlInterface - * @since 2.1.3 */ private $urlBuilder; /** * @var Config - * @since 2.1.3 */ private $config; @@ -43,7 +39,6 @@ class TokenUiComponentProvider implements TokenUiComponentProviderInterface * @param TokenUiComponentInterfaceFactory $componentFactory * @param UrlInterface $urlBuilder * @param Config $config - * @since 2.1.3 */ public function __construct( TokenUiComponentInterfaceFactory $componentFactory, @@ -57,7 +52,6 @@ public function __construct( /** * @inheritdoc - * @since 2.1.3 */ public function getComponentForToken(PaymentTokenInterface $paymentToken) { @@ -82,7 +76,6 @@ public function getComponentForToken(PaymentTokenInterface $paymentToken) /** * Get url to retrieve payment method nonce * @return string - * @since 2.1.3 */ private function getNonceRetrieveUrl() { diff --git a/app/code/Magento/Braintree/Model/Ui/Adminhtml/TokenUiComponentProvider.php b/app/code/Magento/Braintree/Model/Ui/Adminhtml/TokenUiComponentProvider.php index d35647a447969..a404f2003a76f 100644 --- a/app/code/Magento/Braintree/Model/Ui/Adminhtml/TokenUiComponentProvider.php +++ b/app/code/Magento/Braintree/Model/Ui/Adminhtml/TokenUiComponentProvider.php @@ -14,27 +14,23 @@ /** * Class TokenProvider - * @since 2.1.0 */ class TokenUiComponentProvider implements TokenUiComponentProviderInterface { /** * @var TokenUiComponentInterfaceFactory - * @since 2.1.0 */ private $componentFactory; /** * @var \Magento\Framework\UrlInterface - * @since 2.1.0 */ private $urlBuilder; /** * @param TokenUiComponentInterfaceFactory $componentFactory * @param UrlInterface $urlBuilder - * @since 2.1.0 */ public function __construct( TokenUiComponentInterfaceFactory $componentFactory, @@ -46,7 +42,6 @@ public function __construct( /** * @inheritdoc - * @since 2.1.0 */ public function getComponentForToken(PaymentTokenInterface $paymentToken) { @@ -70,7 +65,6 @@ public function getComponentForToken(PaymentTokenInterface $paymentToken) /** * Get url to retrieve payment method nonce * @return string - * @since 2.1.0 */ private function getNonceRetrieveUrl() { diff --git a/app/code/Magento/Braintree/Model/Ui/ConfigProvider.php b/app/code/Magento/Braintree/Model/Ui/ConfigProvider.php index beff88dd52355..c420195446270 100644 --- a/app/code/Magento/Braintree/Model/Ui/ConfigProvider.php +++ b/app/code/Magento/Braintree/Model/Ui/ConfigProvider.php @@ -12,7 +12,6 @@ /** * Class ConfigProvider - * @since 2.1.0 */ class ConfigProvider implements ConfigProviderInterface { @@ -22,19 +21,16 @@ class ConfigProvider implements ConfigProviderInterface /** * @var Config - * @since 2.1.0 */ private $config; /** * @var BraintreeAdapter - * @since 2.1.0 */ private $adapter; /** * @var string - * @since 2.1.0 */ private $clientToken = ''; @@ -43,7 +39,6 @@ class ConfigProvider implements ConfigProviderInterface * * @param Config $config * @param BraintreeAdapter $adapter - * @since 2.1.0 */ public function __construct( Config $config, @@ -57,7 +52,6 @@ public function __construct( * Retrieve assoc array of checkout configuration * * @return array - * @since 2.1.0 */ public function getConfig() { @@ -89,7 +83,6 @@ public function getConfig() /** * Generate a new client token if necessary * @return string - * @since 2.1.0 */ public function getClientToken() { diff --git a/app/code/Magento/Braintree/Model/Ui/PayPal/ConfigProvider.php b/app/code/Magento/Braintree/Model/Ui/PayPal/ConfigProvider.php index 26af1aa71669d..e06b913db8ef4 100644 --- a/app/code/Magento/Braintree/Model/Ui/PayPal/ConfigProvider.php +++ b/app/code/Magento/Braintree/Model/Ui/PayPal/ConfigProvider.php @@ -11,7 +11,6 @@ /** * Class ConfigProvider - * @since 2.1.3 */ class ConfigProvider implements ConfigProviderInterface { @@ -21,13 +20,11 @@ class ConfigProvider implements ConfigProviderInterface /** * @var Config - * @since 2.1.3 */ private $config; /** * @var ResolverInterface - * @since 2.1.3 */ private $resolver; @@ -36,7 +33,6 @@ class ConfigProvider implements ConfigProviderInterface * * @param Config $config * @param ResolverInterface $resolver - * @since 2.1.3 */ public function __construct(Config $config, ResolverInterface $resolver) { @@ -48,7 +44,6 @@ public function __construct(Config $config, ResolverInterface $resolver) * Retrieve assoc array of checkout configuration * * @return array - * @since 2.1.3 */ public function getConfig() { diff --git a/app/code/Magento/Braintree/Model/Ui/PayPal/TokenUiComponentProvider.php b/app/code/Magento/Braintree/Model/Ui/PayPal/TokenUiComponentProvider.php index e46c6410532e1..d8a50d8cfa2a9 100644 --- a/app/code/Magento/Braintree/Model/Ui/PayPal/TokenUiComponentProvider.php +++ b/app/code/Magento/Braintree/Model/Ui/PayPal/TokenUiComponentProvider.php @@ -14,26 +14,22 @@ /** * Class TokenUiComponentProvider - * @since 2.1.3 */ class TokenUiComponentProvider implements TokenUiComponentProviderInterface { /** * @var TokenUiComponentInterfaceFactory - * @since 2.1.3 */ private $componentFactory; /** * @var \Magento\Framework\UrlInterface - * @since 2.1.3 */ private $urlBuilder; /** * @param TokenUiComponentInterfaceFactory $componentFactory * @param UrlInterface $urlBuilder - * @since 2.1.3 */ public function __construct( TokenUiComponentInterfaceFactory $componentFactory, @@ -47,7 +43,6 @@ public function __construct( * Get UI component for token * @param PaymentTokenInterface $paymentToken * @return TokenUiComponentInterface - * @since 2.1.3 */ public function getComponentForToken(PaymentTokenInterface $paymentToken) { @@ -70,7 +65,6 @@ public function getComponentForToken(PaymentTokenInterface $paymentToken) /** * Get url to retrieve payment method nonce * @return string - * @since 2.1.3 */ private function getNonceRetrieveUrl() { diff --git a/app/code/Magento/Braintree/Model/Ui/TokenUiComponentProvider.php b/app/code/Magento/Braintree/Model/Ui/TokenUiComponentProvider.php index e9efabf53ad7d..da2b2225e19d4 100644 --- a/app/code/Magento/Braintree/Model/Ui/TokenUiComponentProvider.php +++ b/app/code/Magento/Braintree/Model/Ui/TokenUiComponentProvider.php @@ -13,26 +13,22 @@ /** * Class TokenUiComponentProvider - * @since 2.1.0 */ class TokenUiComponentProvider implements TokenUiComponentProviderInterface { /** * @var TokenUiComponentInterfaceFactory - * @since 2.1.0 */ private $componentFactory; /** * @var \Magento\Framework\UrlInterface - * @since 2.1.0 */ private $urlBuilder; /** * @param TokenUiComponentInterfaceFactory $componentFactory * @param UrlInterface $urlBuilder - * @since 2.1.0 */ public function __construct( TokenUiComponentInterfaceFactory $componentFactory, @@ -46,7 +42,6 @@ public function __construct( * Get UI component for token * @param PaymentTokenInterface $paymentToken * @return TokenUiComponentInterface - * @since 2.1.0 */ public function getComponentForToken(PaymentTokenInterface $paymentToken) { @@ -69,7 +64,6 @@ public function getComponentForToken(PaymentTokenInterface $paymentToken) /** * Get url to retrieve payment method nonce * @return string - * @since 2.1.0 */ private function getNonceRetrieveUrl() { diff --git a/app/code/Magento/Braintree/Observer/DataAssignObserver.php b/app/code/Magento/Braintree/Observer/DataAssignObserver.php index c629be1525d56..ac1b198d926db 100644 --- a/app/code/Magento/Braintree/Observer/DataAssignObserver.php +++ b/app/code/Magento/Braintree/Observer/DataAssignObserver.php @@ -11,7 +11,6 @@ /** * Class DataAssignObserver - * @since 2.1.0 */ class DataAssignObserver extends AbstractDataAssignObserver { @@ -20,7 +19,6 @@ class DataAssignObserver extends AbstractDataAssignObserver /** * @var array - * @since 2.1.0 */ protected $additionalInformationList = [ self::PAYMENT_METHOD_NONCE, @@ -30,7 +28,6 @@ class DataAssignObserver extends AbstractDataAssignObserver /** * @param Observer $observer * @return void - * @since 2.1.0 */ public function execute(Observer $observer) { diff --git a/app/code/Magento/Braintree/Setup/UpgradeData.php b/app/code/Magento/Braintree/Setup/UpgradeData.php index 454acc9977dfa..a52b0af56bc66 100644 --- a/app/code/Magento/Braintree/Setup/UpgradeData.php +++ b/app/code/Magento/Braintree/Setup/UpgradeData.php @@ -13,19 +13,16 @@ /** * Class \Magento\Braintree\Setup\UpgradeData * - * @since 2.2.0 */ class UpgradeData implements UpgradeDataInterface { /** * @var \Magento\Framework\DB\FieldDataConverterFactory - * @since 2.2.0 */ private $fieldDataConverterFactory; /** * @var \Magento\Framework\DB\Select\QueryModifierFactory - * @since 2.2.0 */ private $queryModifierFactory; @@ -34,7 +31,6 @@ class UpgradeData implements UpgradeDataInterface * * @param \Magento\Framework\DB\FieldDataConverterFactory $fieldDataConverterFactory * @param \Magento\Framework\DB\Select\QueryModifierFactory $queryModifierFactory - * @since 2.2.0 */ public function __construct( \Magento\Framework\DB\FieldDataConverterFactory $fieldDataConverterFactory, @@ -50,7 +46,6 @@ public function __construct( * @param ModuleDataSetupInterface $setup * @param ModuleContextInterface $context * @return void - * @since 2.2.0 */ public function upgrade(ModuleDataSetupInterface $setup, ModuleContextInterface $context) { @@ -65,7 +60,6 @@ public function upgrade(ModuleDataSetupInterface $setup, ModuleContextInterface * * @param ModuleDataSetupInterface $setup * @return void - * @since 2.2.0 */ private function convertSerializedDataToJson(ModuleDataSetupInterface $setup) { diff --git a/app/code/Magento/Braintree/Ui/Component/Report/Filters/Type/DateRange.php b/app/code/Magento/Braintree/Ui/Component/Report/Filters/Type/DateRange.php index cb775b783c52e..9ec154a7c6ed2 100644 --- a/app/code/Magento/Braintree/Ui/Component/Report/Filters/Type/DateRange.php +++ b/app/code/Magento/Braintree/Ui/Component/Report/Filters/Type/DateRange.php @@ -7,7 +7,6 @@ /** * Class DateRange - * @since 2.1.3 */ class DateRange extends \Magento\Ui\Component\Filters\Type\Date { @@ -15,7 +14,6 @@ class DateRange extends \Magento\Ui\Component\Filters\Type\Date * Braintree date format * * @var string - * @since 2.1.3 */ protected static $dateFormat = 'Y-m-d\TH:i:00O'; } diff --git a/app/code/Magento/Braintree/Ui/Component/Report/Listing/Column/PaymentType.php b/app/code/Magento/Braintree/Ui/Component/Report/Listing/Column/PaymentType.php index 975fad26c3117..4621dbc79fb6f 100644 --- a/app/code/Magento/Braintree/Ui/Component/Report/Listing/Column/PaymentType.php +++ b/app/code/Magento/Braintree/Ui/Component/Report/Listing/Column/PaymentType.php @@ -10,13 +10,11 @@ /** * Class PaymentType - * @since 2.1.0 */ class PaymentType implements OptionSourceInterface { /** * @var array - * @since 2.1.0 */ protected $options; @@ -24,7 +22,6 @@ class PaymentType implements OptionSourceInterface * Get options * * @return array - * @since 2.1.0 */ public function toOptionArray() { @@ -43,7 +40,6 @@ public function toOptionArray() /** * @return array - * @since 2.1.0 */ private function getAvailablePaymentTypes() { diff --git a/app/code/Magento/Braintree/Ui/Component/Report/Listing/Column/Status.php b/app/code/Magento/Braintree/Ui/Component/Report/Listing/Column/Status.php index 166305ad68edd..bf5187ddd319c 100644 --- a/app/code/Magento/Braintree/Ui/Component/Report/Listing/Column/Status.php +++ b/app/code/Magento/Braintree/Ui/Component/Report/Listing/Column/Status.php @@ -10,13 +10,11 @@ /** * Class Status - * @since 2.1.0 */ class Status implements OptionSourceInterface { /** * @var array - * @since 2.1.0 */ protected $options; @@ -24,7 +22,6 @@ class Status implements OptionSourceInterface * Get options * * @return array - * @since 2.1.0 */ public function toOptionArray() { @@ -43,7 +40,6 @@ public function toOptionArray() /** * @return array - * @since 2.1.0 */ private function getAvailableStatuses() { diff --git a/app/code/Magento/Braintree/Ui/Component/Report/Listing/Column/TransactionType.php b/app/code/Magento/Braintree/Ui/Component/Report/Listing/Column/TransactionType.php index 112c557a6a98d..5b4d0ce794ef0 100644 --- a/app/code/Magento/Braintree/Ui/Component/Report/Listing/Column/TransactionType.php +++ b/app/code/Magento/Braintree/Ui/Component/Report/Listing/Column/TransactionType.php @@ -10,13 +10,11 @@ /** * Class Type - * @since 2.1.0 */ class TransactionType implements OptionSourceInterface { /** * @var array - * @since 2.1.0 */ protected $options; @@ -24,7 +22,6 @@ class TransactionType implements OptionSourceInterface * Get options * * @return array - * @since 2.1.0 */ public function toOptionArray() { @@ -43,7 +40,6 @@ public function toOptionArray() /** * @return array - * @since 2.1.0 */ private function getAvailableTransactionTypes() { diff --git a/app/code/Magento/Bundle/Block/Adminhtml/Sales/Order/Items/Renderer.php b/app/code/Magento/Bundle/Block/Adminhtml/Sales/Order/Items/Renderer.php index d7eb91013d94a..1546648913d2f 100644 --- a/app/code/Magento/Bundle/Block/Adminhtml/Sales/Order/Items/Renderer.php +++ b/app/code/Magento/Bundle/Block/Adminhtml/Sales/Order/Items/Renderer.php @@ -19,7 +19,6 @@ class Renderer extends \Magento\Sales\Block\Adminhtml\Items\Renderer\DefaultRend * Serializer * * @var Json - * @since 2.2.0 */ private $serializer; @@ -30,7 +29,7 @@ class Renderer extends \Magento\Sales\Block\Adminhtml\Items\Renderer\DefaultRend * @param \Magento\Framework\Registry $registry * @param array $data * @param \Magento\Framework\Serialize\Serializer\Json $serializer - * @since 2.2.0 + * @since 100.2.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, diff --git a/app/code/Magento/Bundle/Block/Adminhtml/Sales/Order/View/Items/Renderer.php b/app/code/Magento/Bundle/Block/Adminhtml/Sales/Order/View/Items/Renderer.php index fca670f63becc..08af0bc996131 100644 --- a/app/code/Magento/Bundle/Block/Adminhtml/Sales/Order/View/Items/Renderer.php +++ b/app/code/Magento/Bundle/Block/Adminhtml/Sales/Order/View/Items/Renderer.php @@ -19,7 +19,6 @@ class Renderer extends \Magento\Sales\Block\Adminhtml\Order\View\Items\Renderer\ * Serializer * * @var Json - * @since 2.2.0 */ private $serializer; @@ -32,7 +31,7 @@ class Renderer extends \Magento\Sales\Block\Adminhtml\Order\View\Items\Renderer\ * @param \Magento\Checkout\Helper\Data $checkoutHelper * @param array $data * @param \Magento\Framework\Serialize\Serializer\Json $serializer - * @since 2.2.0 + * @since 100.2.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, diff --git a/app/code/Magento/Bundle/Block/Catalog/Product/View/Type/Bundle.php b/app/code/Magento/Bundle/Block/Catalog/Product/View/Type/Bundle.php index 56e30849698c8..aa035163eb615 100644 --- a/app/code/Magento/Bundle/Block/Catalog/Product/View/Type/Bundle.php +++ b/app/code/Magento/Bundle/Block/Catalog/Product/View/Type/Bundle.php @@ -52,7 +52,6 @@ class Bundle extends \Magento\Catalog\Block\Product\View\AbstractView /** * @var \Magento\CatalogRule\Model\ResourceModel\Product\CollectionProcessor - * @since 2.2.0 */ private $catalogRuleProcessor; @@ -86,9 +85,8 @@ public function __construct( } /** - * @deprecated 2.2.0 + * @deprecated 100.2.0 * @return \Magento\CatalogRule\Model\ResourceModel\Product\CollectionProcessor - * @since 2.2.0 */ private function getCatalogRuleProcessor() { diff --git a/app/code/Magento/Bundle/Block/Sales/Order/Items/Renderer.php b/app/code/Magento/Bundle/Block/Sales/Order/Items/Renderer.php index 5fa2ab51a6caf..d924ac3904c76 100644 --- a/app/code/Magento/Bundle/Block/Sales/Order/Items/Renderer.php +++ b/app/code/Magento/Bundle/Block/Sales/Order/Items/Renderer.php @@ -18,7 +18,6 @@ class Renderer extends \Magento\Sales\Block\Order\Item\Renderer\DefaultRenderer * Serializer * * @var Json - * @since 2.2.0 */ private $serializer; @@ -28,7 +27,7 @@ class Renderer extends \Magento\Sales\Block\Order\Item\Renderer\DefaultRenderer * @param \Magento\Catalog\Model\Product\OptionFactory $productOptionFactory * @param array $data * @param \Magento\Framework\Serialize\Serializer\Json $serializer - * @since 2.2.0 + * @since 100.2.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, diff --git a/app/code/Magento/Bundle/Controller/Adminhtml/Product/Initialization/Helper/Plugin/Bundle.php b/app/code/Magento/Bundle/Controller/Adminhtml/Product/Initialization/Helper/Plugin/Bundle.php index 41d5eee0e063d..6688648a3c4fd 100644 --- a/app/code/Magento/Bundle/Controller/Adminhtml/Product/Initialization/Helper/Plugin/Bundle.php +++ b/app/code/Magento/Bundle/Controller/Adminhtml/Product/Initialization/Helper/Plugin/Bundle.php @@ -20,7 +20,6 @@ class Bundle { /** * @var ProductCustomOptionInterfaceFactory - * @since 2.1.0 */ protected $customOptionFactory; @@ -31,25 +30,21 @@ class Bundle /** * @var OptionFactory - * @since 2.1.0 */ protected $optionFactory; /** * @var LinkFactory - * @since 2.1.0 */ protected $linkFactory; /** * @var ProductRepository - * @since 2.1.0 */ protected $productRepository; /** * @var StoreManager - * @since 2.1.0 */ protected $storeManager; @@ -123,7 +118,6 @@ public function afterInitialize( * @param \Magento\Catalog\Model\Product $product * @return void * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.1.0 */ protected function processBundleOptionsData(\Magento\Catalog\Model\Product $product) { @@ -168,7 +162,6 @@ protected function processBundleOptionsData(\Magento\Catalog\Model\Product $prod /** * @param \Magento\Catalog\Model\Product $product * @return void - * @since 2.1.0 */ protected function processDynamicOptionsData(\Magento\Catalog\Model\Product $product) { @@ -204,7 +197,6 @@ protected function processDynamicOptionsData(\Magento\Catalog\Model\Product $pro * @param array $linkData * * @return \Magento\Bundle\Api\Data\LinkInterface - * @since 2.2.0 */ private function buildLink( \Magento\Catalog\Model\Product $product, diff --git a/app/code/Magento/Bundle/Helper/Catalog/Product/Configuration.php b/app/code/Magento/Bundle/Helper/Catalog/Product/Configuration.php index 98a2fc67404a9..551c4ba5fb866 100644 --- a/app/code/Magento/Bundle/Helper/Catalog/Product/Configuration.php +++ b/app/code/Magento/Bundle/Helper/Catalog/Product/Configuration.php @@ -40,7 +40,6 @@ class Configuration extends AbstractHelper implements ConfigurationInterface * Serializer interface instance. * * @var \Magento\Framework\Serialize\Serializer\Json - * @since 2.2.0 */ private $serializer; diff --git a/app/code/Magento/Bundle/Model/LinkManagement.php b/app/code/Magento/Bundle/Model/LinkManagement.php index 3e95c1df06d58..1a533f5d24990 100644 --- a/app/code/Magento/Bundle/Model/LinkManagement.php +++ b/app/code/Magento/Bundle/Model/LinkManagement.php @@ -50,7 +50,6 @@ class LinkManagement implements \Magento\Bundle\Api\ProductLinkManagementInterfa /** * @var MetadataPool - * @since 2.1.0 */ private $metadataPool; @@ -385,7 +384,6 @@ private function getOptions(\Magento\Catalog\Api\Data\ProductInterface $product) /** * Get MetadataPool instance * @return MetadataPool - * @since 2.1.0 */ private function getMetadataPool() { diff --git a/app/code/Magento/Bundle/Model/OptionRepository.php b/app/code/Magento/Bundle/Model/OptionRepository.php index b5a1c0a5474d8..43e46ef7f1c89 100644 --- a/app/code/Magento/Bundle/Model/OptionRepository.php +++ b/app/code/Magento/Bundle/Model/OptionRepository.php @@ -65,7 +65,6 @@ class OptionRepository implements \Magento\Bundle\Api\ProductOptionRepositoryInt /** * @var \Magento\Framework\EntityManager\MetadataPool - * @since 2.1.0 */ private $metadataPool; @@ -145,7 +144,6 @@ public function getList($sku) /** * @param ProductInterface $product * @return \Magento\Bundle\Api\Data\OptionInterface[] - * @since 2.1.0 */ public function getListByProduct(ProductInterface $product) { @@ -326,7 +324,6 @@ private function compareLinks(array $firstArray, array $secondArray) /** * Get MetadataPool instance * @return MetadataPool - * @since 2.1.0 */ private function getMetadataPool() { diff --git a/app/code/Magento/Bundle/Model/Plugin/QuoteItem.php b/app/code/Magento/Bundle/Model/Plugin/QuoteItem.php index 790dd54bc42e0..e3cf50189e65b 100644 --- a/app/code/Magento/Bundle/Model/Plugin/QuoteItem.php +++ b/app/code/Magento/Bundle/Model/Plugin/QuoteItem.php @@ -24,7 +24,6 @@ class QuoteItem * @return OrderItemInterface * * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.2.0 */ public function afterConvert(ToOrderItem $subject, OrderItemInterface $orderItem, AbstractItem $item, $data = []) { diff --git a/app/code/Magento/Bundle/Model/Product/Attribute/Source/Shipment/Type.php b/app/code/Magento/Bundle/Model/Product/Attribute/Source/Shipment/Type.php index d6311ded3a3fc..baa227be8f6cb 100644 --- a/app/code/Magento/Bundle/Model/Product/Attribute/Source/Shipment/Type.php +++ b/app/code/Magento/Bundle/Model/Product/Attribute/Source/Shipment/Type.php @@ -8,13 +8,13 @@ /** * Bundle Shipment Type Attribute Renderer * @api - * @since 2.1.0 + * @since 100.1.0 */ class Type extends \Magento\Eav\Model\Entity\Attribute\Source\AbstractSource { /** * {@inheritdoc} - * @since 2.1.0 + * @since 100.1.0 */ public function getAllOptions() { @@ -29,7 +29,7 @@ public function getAllOptions() /** * {@inheritdoc} - * @since 2.1.0 + * @since 100.1.0 */ public function getOptionText($value) { diff --git a/app/code/Magento/Bundle/Model/Product/Price.php b/app/code/Magento/Bundle/Model/Product/Price.php index ce0425be6d31a..4c0aed6f350a6 100644 --- a/app/code/Magento/Bundle/Model/Product/Price.php +++ b/app/code/Magento/Bundle/Model/Product/Price.php @@ -44,7 +44,6 @@ class Price extends \Magento\Catalog\Model\Product\Type\Price * Serializer interface instance. * * @var \Magento\Framework\Serialize\Serializer\Json - * @since 2.2.0 */ private $serializer; diff --git a/app/code/Magento/Bundle/Model/Product/ReadHandler.php b/app/code/Magento/Bundle/Model/Product/ReadHandler.php index 393d37cdacc29..8f201420dbb8c 100644 --- a/app/code/Magento/Bundle/Model/Product/ReadHandler.php +++ b/app/code/Magento/Bundle/Model/Product/ReadHandler.php @@ -10,13 +10,11 @@ /** * Class ReadHandler - * @since 2.1.0 */ class ReadHandler implements ExtensionInterface { /** * @var OptionRepository - * @since 2.1.0 */ private $optionRepository; @@ -24,7 +22,6 @@ class ReadHandler implements ExtensionInterface * ReadHandler constructor. * * @param OptionRepository $optionRepository - * @since 2.1.0 */ public function __construct(OptionRepository $optionRepository) { @@ -36,7 +33,6 @@ public function __construct(OptionRepository $optionRepository) * @param array $arguments * @return \Magento\Catalog\Api\Data\ProductInterface * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.1.0 */ public function execute($entity, $arguments = []) { diff --git a/app/code/Magento/Bundle/Model/Product/SaveHandler.php b/app/code/Magento/Bundle/Model/Product/SaveHandler.php index 1fd72a9fa96d7..de11df62cbb05 100644 --- a/app/code/Magento/Bundle/Model/Product/SaveHandler.php +++ b/app/code/Magento/Bundle/Model/Product/SaveHandler.php @@ -14,25 +14,21 @@ /** * Class SaveHandler - * @since 2.1.0 */ class SaveHandler implements ExtensionInterface { /** * @var OptionRepository - * @since 2.1.0 */ protected $optionRepository; /** * @var ProductLinkManagementInterface - * @since 2.1.0 */ protected $productLinkManagement; /** * @var MetadataPool - * @since 2.2.0 */ private $metadataPool; @@ -40,7 +36,6 @@ class SaveHandler implements ExtensionInterface * @param OptionRepository $optionRepository * @param ProductLinkManagementInterface $productLinkManagement * @param MetadataPool|null $metadataPool - * @since 2.1.0 */ public function __construct( OptionRepository $optionRepository, @@ -59,7 +54,6 @@ public function __construct( * @param array $arguments * @return \Magento\Catalog\Api\Data\ProductInterface|object * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.1.0 */ public function execute($entity, $arguments = []) { @@ -104,7 +98,6 @@ public function execute($entity, $arguments = []) * @param string $entitySku * @param \Magento\Bundle\Api\Data\OptionInterface $option * @return void - * @since 2.1.0 */ protected function removeOptionLinks($entitySku, $option) { diff --git a/app/code/Magento/Bundle/Model/Product/Type.php b/app/code/Magento/Bundle/Model/Product/Type.php index 5758569df8f82..b83b1e6ea5af8 100644 --- a/app/code/Magento/Bundle/Model/Product/Type.php +++ b/app/code/Magento/Bundle/Model/Product/Type.php @@ -47,7 +47,7 @@ class Type extends \Magento\Catalog\Model\Product\Type\AbstractType * Cache key for Selections Collection * * @var string - * @deprecated 2.2.0 + * @deprecated 100.2.0 */ protected $_keySelectionsCollection = '_cache_instance_selections_collection'; @@ -152,13 +152,11 @@ class Type extends \Magento\Catalog\Model\Product\Type\AbstractType /** * @var MetadataPool - * @since 2.2.0 */ private $metadataPool; /** * @var SelectionCollectionFilterApplier - * @since 2.2.0 */ private $selectionCollectionFilterApplier; diff --git a/app/code/Magento/Bundle/Model/ResourceModel/Bundle.php b/app/code/Magento/Bundle/Model/ResourceModel/Bundle.php index a731d9e978c94..afc80d250e61c 100644 --- a/app/code/Magento/Bundle/Model/ResourceModel/Bundle.php +++ b/app/code/Magento/Bundle/Model/ResourceModel/Bundle.php @@ -149,7 +149,7 @@ public function saveProductRelations($parentId, $childIds) * @param int $parentId * @param int $childId * @return $this - * @since 2.1.0 + * @since 100.1.0 */ public function addProductRelation($parentId, $childId) { diff --git a/app/code/Magento/Bundle/Model/ResourceModel/Indexer/BundleOptionStockDataSelectBuilder.php b/app/code/Magento/Bundle/Model/ResourceModel/Indexer/BundleOptionStockDataSelectBuilder.php index 54725addd2a05..702a25ff73fb7 100644 --- a/app/code/Magento/Bundle/Model/ResourceModel/Indexer/BundleOptionStockDataSelectBuilder.php +++ b/app/code/Magento/Bundle/Model/ResourceModel/Indexer/BundleOptionStockDataSelectBuilder.php @@ -14,14 +14,12 @@ * Is used to create Select object that is used for Bundle product stock status indexation * * @see \Magento\Bundle\Model\ResourceModel\Indexer\Stock::_prepareBundleOptionStockData - * @since 2.2.0 */ class BundleOptionStockDataSelectBuilder { /** * @param \Magento\Framework\App\ResourceConnection $resourceConnection * @param \Magento\Framework\EntityManager\MetadataPool $metadataPool - * @since 2.2.0 */ public function __construct( \Magento\Framework\App\ResourceConnection $resourceConnection, @@ -34,7 +32,6 @@ public function __construct( /** * @param string $idxTable * @return Select - * @since 2.2.0 */ public function buildSelect($idxTable) { diff --git a/app/code/Magento/Bundle/Model/ResourceModel/Indexer/Price.php b/app/code/Magento/Bundle/Model/ResourceModel/Indexer/Price.php index 02b34ecdc29cc..401374db86fef 100644 --- a/app/code/Magento/Bundle/Model/ResourceModel/Indexer/Price.php +++ b/app/code/Magento/Bundle/Model/ResourceModel/Indexer/Price.php @@ -16,7 +16,6 @@ class Price extends \Magento\Catalog\Model\ResourceModel\Product\Indexer\Price\D { /** * @inheritdoc - * @since 2.2.0 */ protected function reindex($entityIds = null) { diff --git a/app/code/Magento/Bundle/Model/ResourceModel/Indexer/Stock.php b/app/code/Magento/Bundle/Model/ResourceModel/Indexer/Stock.php index fbe9363a1cf38..803fbae067e9d 100644 --- a/app/code/Magento/Bundle/Model/ResourceModel/Indexer/Stock.php +++ b/app/code/Magento/Bundle/Model/ResourceModel/Indexer/Stock.php @@ -17,19 +17,16 @@ class Stock extends \Magento\CatalogInventory\Model\ResourceModel\Indexer\Stock\ { /** * @var \Magento\Catalog\Model\ResourceModel\Indexer\ActiveTableSwitcher - * @since 2.2.0 */ private $activeTableSwitcher; /** * @var \Magento\Bundle\Model\ResourceModel\Indexer\StockStatusSelectBuilder - * @since 2.2.0 */ private $stockStatusSelectBuilder; /** * @var \Magento\Bundle\Model\ResourceModel\Indexer\BundleOptionStockDataSelectBuilder - * @since 2.2.0 */ private $bundleOptionStockDataSelectBuilder; @@ -44,7 +41,6 @@ class Stock extends \Magento\CatalogInventory\Model\ResourceModel\Indexer\Stock\ * @param \Magento\Catalog\Model\ResourceModel\Indexer\ActiveTableSwitcher|null $activeTableSwitcher * @param StockStatusSelectBuilder|null $stockStatusSelectBuilder * @param BundleOptionStockDataSelectBuilder|null $bundleOptionStockDataSelectBuilder - * @since 2.2.0 */ public function __construct( \Magento\Framework\Model\ResourceModel\Db\Context $context, diff --git a/app/code/Magento/Bundle/Model/ResourceModel/Indexer/StockStatusSelectBuilder.php b/app/code/Magento/Bundle/Model/ResourceModel/Indexer/StockStatusSelectBuilder.php index a8811eb212104..a4685fc3630a4 100644 --- a/app/code/Magento/Bundle/Model/ResourceModel/Indexer/StockStatusSelectBuilder.php +++ b/app/code/Magento/Bundle/Model/ResourceModel/Indexer/StockStatusSelectBuilder.php @@ -15,7 +15,6 @@ * Is used to create Select object that is used for Bundle product stock status indexation * * @see \Magento\Bundle\Model\ResourceModel\Indexer\Stock::_getStockStatusSelect - * @since 2.2.0 */ class StockStatusSelectBuilder { @@ -24,7 +23,6 @@ class StockStatusSelectBuilder * @param \Magento\Framework\App\ResourceConnection $resourceConnection * @param \Magento\Framework\EntityManager\MetadataPool $metadataPool * @param \Magento\Eav\Model\Config $eavConfig - * @since 2.2.0 */ public function __construct( \Magento\Framework\App\ResourceConnection $resourceConnection, @@ -40,7 +38,6 @@ public function __construct( * @param Select $select * @return Select * @throws \Exception - * @since 2.2.0 */ public function buildSelect(Select $select) { @@ -94,7 +91,6 @@ public function buildSelect(Select $select) * * @param string $attributeCode * @return \Magento\Catalog\Model\ResourceModel\Eav\Attribute - * @since 2.2.0 */ private function getAttribute($attributeCode) { diff --git a/app/code/Magento/Bundle/Model/ResourceModel/Option.php b/app/code/Magento/Bundle/Model/ResourceModel/Option.php index c0eb69faccc93..2ad7e57f522d6 100644 --- a/app/code/Magento/Bundle/Model/ResourceModel/Option.php +++ b/app/code/Magento/Bundle/Model/ResourceModel/Option.php @@ -22,13 +22,11 @@ class Option extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb /** * @var MetadataPool - * @since 2.1.0 */ private $metadataPool; /** * @var EntityManager - * @since 2.2.0 */ private $entityManager; @@ -64,7 +62,6 @@ protected function _construct() /** * @param int $optionId * @return int - * @since 2.1.0 */ public function removeOptionSelections($optionId) { @@ -195,7 +192,6 @@ public function getValidationRulesBeforeSave() /** * Get MetadataPool instance * @return MetadataPool - * @since 2.1.0 */ private function getMetadataPool() { @@ -207,7 +203,6 @@ private function getMetadataPool() /** * {@inheritdoc} - * @since 2.2.0 */ public function save(\Magento\Framework\Model\AbstractModel $object) { diff --git a/app/code/Magento/Bundle/Model/ResourceModel/Option/Collection.php b/app/code/Magento/Bundle/Model/ResourceModel/Option/Collection.php index 39fa5415b969c..69b2573ab782e 100644 --- a/app/code/Magento/Bundle/Model/ResourceModel/Option/Collection.php +++ b/app/code/Magento/Bundle/Model/ResourceModel/Option/Collection.php @@ -113,7 +113,7 @@ public function setProductIdFilter($productId) * @param int $productLinkFieldValue * * @return $this - * @since 2.1.0 + * @since 100.1.0 */ public function setProductLinkFilter($productLinkFieldValue) { diff --git a/app/code/Magento/Bundle/Model/ResourceModel/Selection.php b/app/code/Magento/Bundle/Model/ResourceModel/Selection.php index 4db715fbd5adc..f34446365793c 100644 --- a/app/code/Magento/Bundle/Model/ResourceModel/Selection.php +++ b/app/code/Magento/Bundle/Model/ResourceModel/Selection.php @@ -20,13 +20,12 @@ class Selection extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb { /** * @var MetadataPool - * @since 2.1.0 + * @since 100.1.0 */ protected $metadataPool; /** * @var EntityManager - * @since 2.2.0 */ private $entityManager; @@ -37,7 +36,7 @@ class Selection extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * @param MetadataPool $metadataPool * @param null|string $connectionName * @param EntityManager|null $entityManager - * @since 2.1.0 + * @since 100.1.0 */ public function __construct( Context $context, @@ -188,7 +187,7 @@ public function saveSelectionPrice($item) /** * {@inheritdoc} - * @since 2.2.0 + * @since 100.2.0 */ public function save(\Magento\Framework\Model\AbstractModel $object) { diff --git a/app/code/Magento/Bundle/Model/ResourceModel/Selection/Collection.php b/app/code/Magento/Bundle/Model/ResourceModel/Selection/Collection.php index c4b977f0fee2d..2c311f72aea85 100644 --- a/app/code/Magento/Bundle/Model/ResourceModel/Selection/Collection.php +++ b/app/code/Magento/Bundle/Model/ResourceModel/Selection/Collection.php @@ -29,13 +29,11 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Product\Collection /** * @var DataObject - * @since 2.2.0 */ private $itemPrototype = null; /** * @var \Magento\CatalogRule\Model\ResourceModel\Product\CollectionProcessor - * @since 2.2.0 */ private $catalogRuleProcessor = null; @@ -43,7 +41,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Product\Collection * Is website scope prices joined to collection * * @var bool - * @since 2.2.0 */ private $websiteScopePriceJoined = false; @@ -168,7 +165,7 @@ public function setPositionOrder() * Add filtering of product then havent enoght stock * * @return $this - * @since 2.2.0 + * @since 100.2.0 */ public function addQuantityFilter() { @@ -186,7 +183,7 @@ public function addQuantityFilter() /** * @inheritDoc - * @since 2.2.0 + * @since 100.2.0 */ public function getNewEmptyItem() { @@ -204,7 +201,7 @@ public function getNewEmptyItem() * @param bool $useRegularPrice * * @return $this - * @since 2.2.0 + * @since 100.2.0 */ public function addPriceFilter($product, $searchMin, $useRegularPrice = false) { @@ -256,8 +253,7 @@ public function addPriceFilter($product, $searchMin, $useRegularPrice = false) /** * @return \Magento\CatalogRule\Model\ResourceModel\Product\CollectionProcessor - * @deprecated 2.2.0 - * @since 2.2.0 + * @deprecated 100.2.0 */ private function getCatalogRuleProcessor() { diff --git a/app/code/Magento/Bundle/Model/ResourceModel/Selection/Collection/FilterApplier.php b/app/code/Magento/Bundle/Model/ResourceModel/Selection/Collection/FilterApplier.php index 25f6a8fa61776..8377a7a13d93e 100644 --- a/app/code/Magento/Bundle/Model/ResourceModel/Selection/Collection/FilterApplier.php +++ b/app/code/Magento/Bundle/Model/ResourceModel/Selection/Collection/FilterApplier.php @@ -12,13 +12,11 @@ * * The class is introduced to extend filtering abilities of the collection * without backward incompatible changes in a corresponding collection class. - * @since 2.2.0 */ class FilterApplier { /** * @var array - * @since 2.2.0 */ private $conditionTypesMap = [ 'eq' => ' = ?', @@ -34,7 +32,6 @@ class FilterApplier * @param string $conditionType * * @return void - * @since 2.2.0 */ public function apply(Collection $collection, $field, $value, $conditionType = 'eq') { diff --git a/app/code/Magento/Bundle/Model/ResourceModel/Selection/Plugin/Collection.php b/app/code/Magento/Bundle/Model/ResourceModel/Selection/Plugin/Collection.php index 85d7fa65d3b7c..4c83c086eb911 100644 --- a/app/code/Magento/Bundle/Model/ResourceModel/Selection/Plugin/Collection.php +++ b/app/code/Magento/Bundle/Model/ResourceModel/Selection/Plugin/Collection.php @@ -10,7 +10,6 @@ /** * Class \Magento\Bundle\Model\ResourceModel\Selection\Plugin\Collection * - * @since 2.1.0 */ class Collection { @@ -23,7 +22,6 @@ class Collection * @param null|string|bool|int|Store $store * @return $this * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.1.0 */ public function aroundAddStoreFilter( \Magento\Bundle\Model\ResourceModel\Selection\Collection $subject, diff --git a/app/code/Magento/Bundle/Model/Sales/Order/Pdf/Items/AbstractItems.php b/app/code/Magento/Bundle/Model/Sales/Order/Pdf/Items/AbstractItems.php index 4d150c96a6301..2f81308f67f50 100644 --- a/app/code/Magento/Bundle/Model/Sales/Order/Pdf/Items/AbstractItems.php +++ b/app/code/Magento/Bundle/Model/Sales/Order/Pdf/Items/AbstractItems.php @@ -20,7 +20,6 @@ abstract class AbstractItems extends \Magento\Sales\Model\Order\Pdf\Items\Abstra * Serializer * * @var Json - * @since 2.2.0 */ private $serializer; @@ -36,7 +35,6 @@ abstract class AbstractItems extends \Magento\Sales\Model\Order\Pdf\Items\Abstra * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data * @param \Magento\Framework\Serialize\Serializer\Json $serializer - * @since 2.2.0 */ public function __construct( \Magento\Framework\Model\Context $context, diff --git a/app/code/Magento/Bundle/Model/Sales/Order/Plugin/Item.php b/app/code/Magento/Bundle/Model/Sales/Order/Plugin/Item.php index 084c93aae59f3..2cc4347c43837 100644 --- a/app/code/Magento/Bundle/Model/Sales/Order/Plugin/Item.php +++ b/app/code/Magento/Bundle/Model/Sales/Order/Plugin/Item.php @@ -8,7 +8,6 @@ /** * Plugin to calculate bundle item qty available for cancel - * @since 2.2.0 */ class Item { @@ -18,7 +17,6 @@ class Item * @param \Magento\Sales\Model\Order\Item $subject * @param float|integer $result * @return float|integer - * @since 2.2.0 */ public function afterGetQtyToCancel(\Magento\Sales\Model\Order\Item $subject, $result) { @@ -37,7 +35,6 @@ public function afterGetQtyToCancel(\Magento\Sales\Model\Order\Item $subject, $r * @param \Magento\Sales\Model\Order\Item $subject * @param float|integer $result * @return bool - * @since 2.2.0 */ public function afterIsProcessingAvailable(\Magento\Sales\Model\Order\Item $subject, $result) { @@ -55,7 +52,6 @@ public function afterIsProcessingAvailable(\Magento\Sales\Model\Order\Item $subj * * @param \Magento\Sales\Model\Order\Item $item * @return float|integer - * @since 2.2.0 */ private function getQtyToCancelBundle($item) { diff --git a/app/code/Magento/Bundle/Pricing/Adjustment/Calculator.php b/app/code/Magento/Bundle/Pricing/Adjustment/Calculator.php index 4f6776883780b..9d035aece57bc 100644 --- a/app/code/Magento/Bundle/Pricing/Adjustment/Calculator.php +++ b/app/code/Magento/Bundle/Pricing/Adjustment/Calculator.php @@ -52,13 +52,11 @@ class Calculator implements BundleCalculatorInterface /** * @var \Magento\Framework\Pricing\Amount\AmountInterface[] - * @since 2.2.0 */ private $optionAmount = []; /** * @var SelectionPriceListProviderInterface - * @since 2.2.0 */ private $selectionPriceListProvider; @@ -201,8 +199,7 @@ protected function getSelectionAmounts(Product $bundleProduct, $searchMin, $useR /** * @return SelectionPriceListProviderInterface - * @deprecated 2.2.0 - * @since 2.2.0 + * @deprecated 100.2.0 */ private function getSelectionPriceListProvider() { @@ -220,7 +217,7 @@ private function getSelectionPriceListProvider() * @param \Magento\Bundle\Model\Option $option * @param bool $canSkipRequiredOption * @return bool - * @deprecated 2.2.0 + * @deprecated 100.2.0 */ protected function canSkipOption($option, $canSkipRequiredOption) { @@ -232,7 +229,7 @@ protected function canSkipOption($option, $canSkipRequiredOption) * * @param Product $bundleProduct * @return bool - * @deprecated 2.2.0 + * @deprecated 100.2.0 */ protected function hasRequiredOption($bundleProduct) { @@ -250,7 +247,7 @@ function ($item) { * * @param Product $saleableItem * @return \Magento\Bundle\Model\ResourceModel\Option\Collection - * @deprecated 2.2.0 + * @deprecated 100.2.0 */ protected function getBundleOptions(Product $saleableItem) { diff --git a/app/code/Magento/Bundle/Pricing/Adjustment/DefaultSelectionPriceListProvider.php b/app/code/Magento/Bundle/Pricing/Adjustment/DefaultSelectionPriceListProvider.php index ec45a84162a2f..56c403ad9960c 100644 --- a/app/code/Magento/Bundle/Pricing/Adjustment/DefaultSelectionPriceListProvider.php +++ b/app/code/Magento/Bundle/Pricing/Adjustment/DefaultSelectionPriceListProvider.php @@ -13,25 +13,21 @@ /** * Provide lightweight implementation which uses price index - * @since 2.2.0 */ class DefaultSelectionPriceListProvider implements SelectionPriceListProviderInterface { /** * @var BundleSelectionFactory - * @since 2.2.0 */ private $selectionFactory; /** * @var \Magento\Bundle\Pricing\Price\BundleSelectionPrice[] - * @since 2.2.0 */ private $priceList; /** * @param BundleSelectionFactory $bundleSelectionFactory - * @since 2.2.0 */ public function __construct(BundleSelectionFactory $bundleSelectionFactory) { @@ -40,7 +36,6 @@ public function __construct(BundleSelectionFactory $bundleSelectionFactory) /** * {@inheritdoc} - * @since 2.2.0 */ public function getPriceList(Product $bundleProduct, $searchMin, $useRegularPrice) { @@ -91,7 +86,6 @@ public function getPriceList(Product $bundleProduct, $searchMin, $useRegularPric * @param Product $bundleProduct * @param bool $searchMin * @return bool - * @since 2.2.0 */ private function isShouldFindMinOption(Product $bundleProduct, $searchMin) { @@ -114,7 +108,6 @@ private function isShouldFindMinOption(Product $bundleProduct, $searchMin) * @param bool $searchMin * @param bool $useRegularPrice * @return void - * @since 2.2.0 */ private function addMiniMaxPriceList(Product $bundleProduct, $selectionsCollection, $searchMin, $useRegularPrice) { @@ -142,7 +135,6 @@ private function addMiniMaxPriceList(Product $bundleProduct, $selectionsCollecti * @param \Magento\Bundle\Model\ResourceModel\Selection\Collection $selectionsCollection * @param bool $useRegularPrice * @return void - * @since 2.2.0 */ private function addMaximumMultiSelectionPriceList(Product $bundleProduct, $selectionsCollection, $useRegularPrice) { @@ -162,7 +154,6 @@ private function addMaximumMultiSelectionPriceList(Product $bundleProduct, $sele /** * @return void - * @since 2.2.0 */ private function processMinPriceForNonRequiredOptions() { @@ -184,7 +175,6 @@ private function processMinPriceForNonRequiredOptions() * @param Option $option * @param bool $canSkipRequiredOption * @return bool - * @since 2.2.0 */ private function canSkipOption($option, $canSkipRequiredOption) { @@ -196,7 +186,6 @@ private function canSkipOption($option, $canSkipRequiredOption) * * @param Product $bundleProduct * @return bool - * @since 2.2.0 */ private function hasRequiredOption($bundleProduct) { @@ -211,7 +200,6 @@ private function hasRequiredOption($bundleProduct) * * @param Product $saleableItem * @return \Magento\Bundle\Model\ResourceModel\Option\Collection - * @since 2.2.0 */ private function getBundleOptions(Product $saleableItem) { diff --git a/app/code/Magento/Bundle/Pricing/Adjustment/SelectionPriceListProviderInterface.php b/app/code/Magento/Bundle/Pricing/Adjustment/SelectionPriceListProviderInterface.php index c891c79f3d25b..4310c0e292ced 100644 --- a/app/code/Magento/Bundle/Pricing/Adjustment/SelectionPriceListProviderInterface.php +++ b/app/code/Magento/Bundle/Pricing/Adjustment/SelectionPriceListProviderInterface.php @@ -11,7 +11,7 @@ /** * Provide list of bundle selection prices * @api - * @since 2.2.0 + * @since 100.2.0 */ interface SelectionPriceListProviderInterface { @@ -20,7 +20,7 @@ interface SelectionPriceListProviderInterface * @param boolean $searchMin * @param boolean $useRegularPrice * @return \Magento\Bundle\Pricing\Price\BundleSelectionPrice[] - * @since 2.2.0 + * @since 100.2.0 */ public function getPriceList(Product $bundleProduct, $searchMin, $useRegularPrice); } diff --git a/app/code/Magento/Bundle/Pricing/Price/ConfiguredPrice.php b/app/code/Magento/Bundle/Pricing/Price/ConfiguredPrice.php index ac5a4cbb2cb62..9f5b113fa13f5 100644 --- a/app/code/Magento/Bundle/Pricing/Price/ConfiguredPrice.php +++ b/app/code/Magento/Bundle/Pricing/Price/ConfiguredPrice.php @@ -37,7 +37,6 @@ class ConfiguredPrice extends CatalogPrice\FinalPrice implements ConfiguredPrice * Serializer interface instance. * * @var \Magento\Framework\Serialize\Serializer\Json - * @since 2.2.0 */ private $serializer; diff --git a/app/code/Magento/Bundle/Pricing/Price/FinalPrice.php b/app/code/Magento/Bundle/Pricing/Price/FinalPrice.php index e431189356982..c41f6a4868ab1 100644 --- a/app/code/Magento/Bundle/Pricing/Price/FinalPrice.php +++ b/app/code/Magento/Bundle/Pricing/Price/FinalPrice.php @@ -40,7 +40,6 @@ class FinalPrice extends \Magento\Catalog\Pricing\Price\FinalPrice implements Fi /** * @var \Magento\Catalog\Api\ProductCustomOptionRepositoryInterface - * @since 2.1.0 */ private $productOptionRepository; @@ -93,8 +92,7 @@ public function getMaximalPrice() * Return ProductCustomOptionRepository * * @return ProductCustomOptionRepositoryInterface - * @deprecated 2.1.0 - * @since 2.1.0 + * @deprecated 100.1.0 */ private function getProductOptionRepository() { @@ -140,7 +138,6 @@ public function getAmount() * Load product custom options * * @return void - * @since 2.1.0 */ private function loadProductCustomOptions() { diff --git a/app/code/Magento/Bundle/Setup/Recurring.php b/app/code/Magento/Bundle/Setup/Recurring.php index 32e372b330554..4459c980a9027 100644 --- a/app/code/Magento/Bundle/Setup/Recurring.php +++ b/app/code/Magento/Bundle/Setup/Recurring.php @@ -14,26 +14,22 @@ /** * @codeCoverageIgnore - * @since 2.1.0 */ class Recurring implements InstallSchemaInterface { /** * @var MetadataPool - * @since 2.1.0 */ protected $metadataPool; /** * @var ExternalFKSetup - * @since 2.1.0 */ protected $externalFKSetup; /** * @param MetadataPool $metadataPool * @param ExternalFKSetup $externalFKSetup - * @since 2.1.0 */ public function __construct( MetadataPool $metadataPool, @@ -45,7 +41,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.1.0 */ public function install(SchemaSetupInterface $setup, ModuleContextInterface $context) { @@ -71,7 +66,6 @@ public function install(SchemaSetupInterface $setup, ModuleContextInterface $con * @param string $columnName * @return void * @throws \Exception - * @since 2.1.0 */ protected function addExternalForeignKeys(SchemaSetupInterface $installer, $tableName, $columnName) { diff --git a/app/code/Magento/Bundle/Setup/UpgradeData.php b/app/code/Magento/Bundle/Setup/UpgradeData.php index eadc46e7475f6..3b28e05f0a95f 100644 --- a/app/code/Magento/Bundle/Setup/UpgradeData.php +++ b/app/code/Magento/Bundle/Setup/UpgradeData.php @@ -15,13 +15,11 @@ /** * Class \Magento\Bundle\Setup\UpgradeData * - * @since 2.1.0 */ class UpgradeData implements UpgradeDataInterface { /** * @var EavSetupFactory - * @since 2.1.0 */ protected $eavSetupFactory; @@ -29,7 +27,6 @@ class UpgradeData implements UpgradeDataInterface * UpgradeData constructor * * @param EavSetupFactory $eavSetupFactory - * @since 2.1.0 */ public function __construct(EavSetupFactory $eavSetupFactory) { @@ -40,7 +37,6 @@ public function __construct(EavSetupFactory $eavSetupFactory) * {@inheritdoc} * * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.1.0 */ public function upgrade(ModuleDataSetupInterface $setup, ModuleContextInterface $context) { @@ -154,7 +150,6 @@ public function upgrade(ModuleDataSetupInterface $setup, ModuleContextInterface * * @param EavSetup $eavSetup * @return void - * @since 2.1.0 */ private function upgradePriceType(EavSetup $eavSetup) { @@ -179,7 +174,6 @@ private function upgradePriceType(EavSetup $eavSetup) * * @param EavSetup $eavSetup * @return void - * @since 2.1.0 */ private function upgradeSkuType(EavSetup $eavSetup) { @@ -205,7 +199,6 @@ private function upgradeSkuType(EavSetup $eavSetup) * * @param EavSetup $eavSetup * @return void - * @since 2.1.0 */ private function upgradeWeightType(EavSetup $eavSetup) { @@ -231,7 +224,6 @@ private function upgradeWeightType(EavSetup $eavSetup) * * @param EavSetup $eavSetup * @return void - * @since 2.1.0 */ private function upgradeShipmentType(EavSetup $eavSetup) { diff --git a/app/code/Magento/Bundle/Ui/DataProvider/Product/BundleDataProvider.php b/app/code/Magento/Bundle/Ui/DataProvider/Product/BundleDataProvider.php index 011360b7aa702..52cd6e406730d 100644 --- a/app/code/Magento/Bundle/Ui/DataProvider/Product/BundleDataProvider.php +++ b/app/code/Magento/Bundle/Ui/DataProvider/Product/BundleDataProvider.php @@ -12,13 +12,11 @@ /** * Class \Magento\Bundle\Ui\DataProvider\Product\BundleDataProvider * - * @since 2.1.0 */ class BundleDataProvider extends ProductDataProvider { /** * @var Data - * @since 2.1.0 */ protected $dataHelper; @@ -34,7 +32,6 @@ class BundleDataProvider extends ProductDataProvider * @param \Magento\Ui\DataProvider\AddFilterToCollectionInterface[] $addFilterStrategies * @param array $meta * @param array $data - * @since 2.1.0 */ public function __construct( $name, @@ -65,7 +62,6 @@ public function __construct( * Get data * * @return array - * @since 2.1.0 */ public function getData() { diff --git a/app/code/Magento/Bundle/Ui/DataProvider/Product/Form/Modifier/BundleAdvancedPricing.php b/app/code/Magento/Bundle/Ui/DataProvider/Product/Form/Modifier/BundleAdvancedPricing.php index 53c4484a20bd8..1b04bdc4f8104 100644 --- a/app/code/Magento/Bundle/Ui/DataProvider/Product/Form/Modifier/BundleAdvancedPricing.php +++ b/app/code/Magento/Bundle/Ui/DataProvider/Product/Form/Modifier/BundleAdvancedPricing.php @@ -11,7 +11,6 @@ /** * Customize Advanced Pricing modal panel - * @since 2.1.0 */ class BundleAdvancedPricing extends AbstractModifier { @@ -23,13 +22,11 @@ class BundleAdvancedPricing extends AbstractModifier /** * @var ArrayManager - * @since 2.2.0 */ private $arrayManager; /** * @param ArrayManager $arrayManager - * @since 2.2.0 */ public function __construct(ArrayManager $arrayManager) { @@ -38,7 +35,6 @@ public function __construct(ArrayManager $arrayManager) /** * {@inheritdoc} - * @since 2.1.0 */ public function modifyMeta(array $meta) { @@ -68,7 +64,6 @@ public function modifyMeta(array $meta) /** * {@inheritdoc} - * @since 2.1.0 */ public function modifyData(array $data) { @@ -80,7 +75,6 @@ public function modifyData(array $data) * * @param array $meta * @return array - * @since 2.2.0 */ private function modifyMsrpMeta(array $meta) { diff --git a/app/code/Magento/Bundle/Ui/DataProvider/Product/Form/Modifier/BundleCustomOptions.php b/app/code/Magento/Bundle/Ui/DataProvider/Product/Form/Modifier/BundleCustomOptions.php index 9c25886b6edc8..1a0e08bd07255 100644 --- a/app/code/Magento/Bundle/Ui/DataProvider/Product/Form/Modifier/BundleCustomOptions.php +++ b/app/code/Magento/Bundle/Ui/DataProvider/Product/Form/Modifier/BundleCustomOptions.php @@ -11,13 +11,11 @@ /** * Customize "Customizable Options" panel - * @since 2.1.0 */ class BundleCustomOptions extends AbstractModifier { /** * {@inheritdoc} - * @since 2.1.0 */ public function modifyMeta(array $meta) { @@ -51,7 +49,6 @@ public function modifyMeta(array $meta) * @param string $container * @param string $button * @return array - * @since 2.1.0 */ public function modifyCustomOptionsButton(array $meta, $group, $container, $button) { @@ -68,7 +65,6 @@ public function modifyCustomOptionsButton(array $meta, $group, $container, $butt * * @param int $sortOrder * @return array - * @since 2.1.0 */ public function getErrorMessage($sortOrder) { @@ -92,7 +88,6 @@ public function getErrorMessage($sortOrder) /** * {@inheritdoc} - * @since 2.1.0 */ public function modifyData(array $data) { diff --git a/app/code/Magento/Bundle/Ui/DataProvider/Product/Form/Modifier/BundlePanel.php b/app/code/Magento/Bundle/Ui/DataProvider/Product/Form/Modifier/BundlePanel.php index d6c51e8eae555..c0624be8e7a97 100644 --- a/app/code/Magento/Bundle/Ui/DataProvider/Product/Form/Modifier/BundlePanel.php +++ b/app/code/Magento/Bundle/Ui/DataProvider/Product/Form/Modifier/BundlePanel.php @@ -19,7 +19,6 @@ /** * Create Ship Bundle Items and Affect Bundle Product Selections fields * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.1.0 */ class BundlePanel extends AbstractModifier { @@ -33,25 +32,21 @@ class BundlePanel extends AbstractModifier /** * @var UrlInterface - * @since 2.1.0 */ protected $urlBuilder; /** * @var ShipmentType - * @since 2.1.0 */ protected $shipmentType; /** * @var ArrayManager - * @since 2.1.0 */ protected $arrayManager; /** * @var LocatorInterface - * @since 2.1.0 */ protected $locator; @@ -60,7 +55,6 @@ class BundlePanel extends AbstractModifier * @param UrlInterface $urlBuilder * @param ShipmentType $shipmentType * @param ArrayManager $arrayManager - * @since 2.1.0 */ public function __construct( LocatorInterface $locator, @@ -77,7 +71,6 @@ public function __construct( /** * {@inheritdoc} * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.1.0 */ public function modifyMeta(array $meta) { @@ -192,7 +185,6 @@ public function modifyMeta(array $meta) * * @param array $meta * @return array - * @since 2.2.0 */ private function removeFixedTierPrice(array $meta) { @@ -229,7 +221,6 @@ private function removeFixedTierPrice(array $meta) /** * {@inheritdoc} - * @since 2.1.0 */ public function modifyData(array $data) { @@ -241,7 +232,6 @@ public function modifyData(array $data) * * @param array $meta * @return array - * @since 2.1.0 */ private function modifyShipmentType(array $meta) { @@ -268,7 +258,6 @@ private function modifyShipmentType(array $meta) * Get bundle header structure * * @return array - * @since 2.1.0 */ protected function getBundleHeader() { @@ -313,7 +302,6 @@ protected function getBundleHeader() * Get Bundle Options structure * * @return array - * @since 2.1.0 */ protected function getBundleOptions() { @@ -413,7 +401,6 @@ protected function getBundleOptions() * @param string $columnName * @param int $sortOrder * @return array - * @since 2.1.0 */ protected function getHiddenColumn($columnName, $sortOrder) { @@ -438,7 +425,6 @@ protected function getHiddenColumn($columnName, $sortOrder) * Get configuration for the modal set: modal and trigger button * * @return array - * @since 2.1.0 */ protected function getModalSet() { @@ -475,7 +461,6 @@ protected function getModalSet() * Get configuration for option title * * @return array - * @since 2.1.0 */ protected function getTitleConfiguration() { @@ -508,7 +493,6 @@ protected function getTitleConfiguration() * Get option info * * @return array - * @since 2.1.0 */ protected function getOptionInfo() { @@ -601,7 +585,6 @@ protected function getOptionInfo() * * @return array * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.1.0 */ protected function getBundleSelections() { @@ -739,7 +722,6 @@ protected function getBundleSelections() * Get selection price value structure * * @return array - * @since 2.1.0 */ protected function getSelectionPriceValue() { @@ -767,7 +749,6 @@ protected function getSelectionPriceValue() * Get selection price type structure * * @return array - * @since 2.1.0 */ protected function getSelectionPriceType() { @@ -805,7 +786,6 @@ protected function getSelectionPriceType() * Check that store is default * * @return bool - * @since 2.1.0 */ protected function isDefaultStore() { diff --git a/app/code/Magento/Bundle/Ui/DataProvider/Product/Form/Modifier/BundlePrice.php b/app/code/Magento/Bundle/Ui/DataProvider/Product/Form/Modifier/BundlePrice.php index de2a6d5e2a1a2..f431012dc3fa5 100644 --- a/app/code/Magento/Bundle/Ui/DataProvider/Product/Form/Modifier/BundlePrice.php +++ b/app/code/Magento/Bundle/Ui/DataProvider/Product/Form/Modifier/BundlePrice.php @@ -12,7 +12,6 @@ /** * Customize Price field - * @since 2.1.0 */ class BundlePrice extends AbstractModifier { @@ -21,20 +20,17 @@ class BundlePrice extends AbstractModifier /** * @var ArrayManager - * @since 2.1.0 */ protected $arrayManager; /** * @var LocatorInterface - * @since 2.1.0 */ protected $locator; /** * @param LocatorInterface $locator * @param ArrayManager $arrayManager - * @since 2.1.0 */ public function __construct( LocatorInterface $locator, @@ -46,7 +42,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.1.0 */ public function modifyMeta(array $meta) { @@ -100,7 +95,6 @@ public function modifyMeta(array $meta) /** * {@inheritdoc} - * @since 2.1.0 */ public function modifyData(array $data) { diff --git a/app/code/Magento/Bundle/Ui/DataProvider/Product/Form/Modifier/BundleQuantity.php b/app/code/Magento/Bundle/Ui/DataProvider/Product/Form/Modifier/BundleQuantity.php index 03a89142a1dd8..97343238a4234 100644 --- a/app/code/Magento/Bundle/Ui/DataProvider/Product/Form/Modifier/BundleQuantity.php +++ b/app/code/Magento/Bundle/Ui/DataProvider/Product/Form/Modifier/BundleQuantity.php @@ -9,7 +9,6 @@ /** * Disable Quantity field by default - * @since 2.1.0 */ class BundleQuantity extends AbstractModifier { @@ -19,7 +18,6 @@ class BundleQuantity extends AbstractModifier /** * {@inheritdoc} - * @since 2.1.0 */ public function modifyMeta(array $meta) { @@ -68,7 +66,6 @@ public function modifyMeta(array $meta) /** * {@inheritdoc} - * @since 2.1.0 */ public function modifyData(array $data) { diff --git a/app/code/Magento/Bundle/Ui/DataProvider/Product/Form/Modifier/BundleSku.php b/app/code/Magento/Bundle/Ui/DataProvider/Product/Form/Modifier/BundleSku.php index aca722a754453..28bfd6c3f7e70 100644 --- a/app/code/Magento/Bundle/Ui/DataProvider/Product/Form/Modifier/BundleSku.php +++ b/app/code/Magento/Bundle/Ui/DataProvider/Product/Form/Modifier/BundleSku.php @@ -10,7 +10,6 @@ /** * Customize SKU field - * @since 2.1.0 */ class BundleSku extends AbstractModifier { @@ -18,13 +17,11 @@ class BundleSku extends AbstractModifier /** * @var ArrayManager - * @since 2.1.0 */ protected $arrayManager; /** * @param ArrayManager $arrayManager - * @since 2.1.0 */ public function __construct(ArrayManager $arrayManager) { @@ -33,7 +30,6 @@ public function __construct(ArrayManager $arrayManager) /** * {@inheritdoc} - * @since 2.1.0 */ public function modifyMeta(array $meta) { @@ -56,7 +52,6 @@ public function modifyMeta(array $meta) /** * {@inheritdoc} - * @since 2.1.0 */ public function modifyData(array $data) { diff --git a/app/code/Magento/Bundle/Ui/DataProvider/Product/Form/Modifier/BundleWeight.php b/app/code/Magento/Bundle/Ui/DataProvider/Product/Form/Modifier/BundleWeight.php index 0a6d86e3f5455..83e045d3562cf 100644 --- a/app/code/Magento/Bundle/Ui/DataProvider/Product/Form/Modifier/BundleWeight.php +++ b/app/code/Magento/Bundle/Ui/DataProvider/Product/Form/Modifier/BundleWeight.php @@ -11,7 +11,6 @@ /** * Customize Weight field - * @since 2.1.0 */ class BundleWeight extends AbstractModifier { @@ -19,13 +18,11 @@ class BundleWeight extends AbstractModifier /** * @var ArrayManager - * @since 2.1.0 */ protected $arrayManager; /** * @param ArrayManager $arrayManager - * @since 2.1.0 */ public function __construct(ArrayManager $arrayManager) { @@ -34,7 +31,6 @@ public function __construct(ArrayManager $arrayManager) /** * {@inheritdoc} - * @since 2.1.0 */ public function modifyMeta(array $meta) { @@ -86,7 +82,6 @@ public function modifyMeta(array $meta) /** * {@inheritdoc} - * @since 2.1.0 */ public function modifyData(array $data) { diff --git a/app/code/Magento/Bundle/Ui/DataProvider/Product/Form/Modifier/Composite.php b/app/code/Magento/Bundle/Ui/DataProvider/Product/Form/Modifier/Composite.php index c710ff430337b..4abc72f1f3f97 100644 --- a/app/code/Magento/Bundle/Ui/DataProvider/Product/Form/Modifier/Composite.php +++ b/app/code/Magento/Bundle/Ui/DataProvider/Product/Form/Modifier/Composite.php @@ -15,19 +15,16 @@ /** * Class Bundle customizes Bundle product creation flow - * @since 2.1.0 */ class Composite extends AbstractModifier { /** * @var LocatorInterface - * @since 2.1.0 */ protected $locator; /** * @var array - * @since 2.1.0 */ protected $modifiers = []; @@ -35,19 +32,16 @@ class Composite extends AbstractModifier * Object Manager * * @var ObjectManagerInterface - * @since 2.1.0 */ protected $objectManager; /** * @var ProductOptionRepositoryInterface - * @since 2.1.0 */ protected $optionsRepository; /** * @var ProductRepositoryInterface - * @since 2.1.0 */ protected $productRepository; @@ -57,7 +51,6 @@ class Composite extends AbstractModifier * @param ProductOptionRepositoryInterface $optionsRepository * @param ProductRepositoryInterface $productRepository * @param array $modifiers - * @since 2.1.0 */ public function __construct( LocatorInterface $locator, @@ -75,7 +68,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.1.0 */ public function modifyMeta(array $meta) { @@ -98,7 +90,6 @@ public function modifyMeta(array $meta) * {@inheritdoc} * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.1.0 */ public function modifyData(array $data) { diff --git a/app/code/Magento/Bundle/Ui/DataProvider/Product/Form/Modifier/StockData.php b/app/code/Magento/Bundle/Ui/DataProvider/Product/Form/Modifier/StockData.php index e745139df75bb..232807208047c 100644 --- a/app/code/Magento/Bundle/Ui/DataProvider/Product/Form/Modifier/StockData.php +++ b/app/code/Magento/Bundle/Ui/DataProvider/Product/Form/Modifier/StockData.php @@ -11,19 +11,16 @@ /** * Class StockData hides unnecessary fields in Advanced Inventory Modal - * @since 2.1.0 */ class StockData extends AbstractModifier { /** * @var LocatorInterface - * @since 2.1.0 */ protected $locator; /** * @param LocatorInterface $locator - * @since 2.1.0 */ public function __construct(LocatorInterface $locator) { @@ -32,7 +29,6 @@ public function __construct(LocatorInterface $locator) /** * {@inheritdoc} - * @since 2.1.0 */ public function modifyData(array $data) { @@ -41,7 +37,6 @@ public function modifyData(array $data) /** * {@inheritdoc} - * @since 2.1.0 */ public function modifyMeta(array $meta) { diff --git a/app/code/Magento/Bundle/Ui/DataProvider/Product/Listing/Collector/BundlePrice.php b/app/code/Magento/Bundle/Ui/DataProvider/Product/Listing/Collector/BundlePrice.php index b78bb93bbc665..5870a59b594ea 100644 --- a/app/code/Magento/Bundle/Ui/DataProvider/Product/Listing/Collector/BundlePrice.php +++ b/app/code/Magento/Bundle/Ui/DataProvider/Product/Listing/Collector/BundlePrice.php @@ -19,7 +19,6 @@ * * This information can be used on front in order to render product list or product view * Price is collected always with VAT and fixed taxes - * @since 2.2.0 */ class BundlePrice implements ProductRenderCollectorInterface { @@ -30,25 +29,21 @@ class BundlePrice implements ProductRenderCollectorInterface /** * @var PriceCurrencyInterface - * @since 2.2.0 */ private $priceCurrency; /** * @var array - * @since 2.2.0 */ private $excludeAdjustments; /** * @var PriceInfoInterfaceFactory - * @since 2.2.0 */ private $priceInfoFactory; /** * @var FormattedPriceInfoBuilder - * @since 2.2.0 */ private $formattedPriceInfoBuilder; @@ -58,7 +53,6 @@ class BundlePrice implements ProductRenderCollectorInterface * @param PriceInfoInterfaceFactory $priceInfoFactory * @param FormattedPriceInfoBuilder $formattedPriceInfoBuilder * @param array $excludeAdjustments - * @since 2.2.0 */ public function __construct( PriceCurrencyInterface $priceCurrency, @@ -74,7 +68,6 @@ public function __construct( /** * @inheritdoc - * @since 2.2.0 */ public function collect(ProductInterface $product, ProductRenderInterface $productRender) { diff --git a/app/code/Magento/BundleImportExport/Model/Export/RowCustomizer.php b/app/code/Magento/BundleImportExport/Model/Export/RowCustomizer.php index e30ad30fde16c..9b8518a41ffff 100644 --- a/app/code/Magento/BundleImportExport/Model/Export/RowCustomizer.php +++ b/app/code/Magento/BundleImportExport/Model/Export/RowCustomizer.php @@ -92,7 +92,6 @@ class RowCustomizer implements RowCustomizerInterface * Column name for shipment_type attribute * * @var string - * @since 2.1.0 */ private $shipmentTypeColumn = 'bundle_shipment_type'; @@ -100,7 +99,6 @@ class RowCustomizer implements RowCustomizerInterface * Mapping for shipment type * * @var array - * @since 2.1.0 */ private $shipmentTypeMapping = [ AbstractType::SHIPMENT_TOGETHER => 'together', @@ -110,7 +108,6 @@ class RowCustomizer implements RowCustomizerInterface /** * Retrieve list of bundle specific columns * @return array - * @since 2.1.0 */ private function getBundleColumns() { @@ -319,7 +316,6 @@ protected function getPriceTypeValue($type) * * @param string $type * @return string - * @since 2.1.0 */ private function getShipmentTypeValue($type) { @@ -364,7 +360,6 @@ protected function getNotBundleAttributes($additionalAttributes) * * @param string $additionalAttributes * @return array - * @since 2.1.3 */ private function parseAdditionalAttributes($additionalAttributes) { diff --git a/app/code/Magento/BundleImportExport/Model/Import/Product/Type/Bundle.php b/app/code/Magento/BundleImportExport/Model/Import/Product/Type/Bundle.php index 66044784a262f..f9ef1c7768674 100644 --- a/app/code/Magento/BundleImportExport/Model/Import/Product/Type/Bundle.php +++ b/app/code/Magento/BundleImportExport/Model/Import/Product/Type/Bundle.php @@ -133,7 +133,6 @@ class Bundle extends \Magento\CatalogImportExport\Model\Import\Product\Type\Abst /** * @var Bundle\RelationsDataSaver - * @since 2.2.0 */ private $relationsDataSaver; diff --git a/app/code/Magento/BundleImportExport/Model/Import/Product/Type/Bundle/RelationsDataSaver.php b/app/code/Magento/BundleImportExport/Model/Import/Product/Type/Bundle/RelationsDataSaver.php index 5a1734473aef9..a58195f823bf1 100644 --- a/app/code/Magento/BundleImportExport/Model/Import/Product/Type/Bundle/RelationsDataSaver.php +++ b/app/code/Magento/BundleImportExport/Model/Import/Product/Type/Bundle/RelationsDataSaver.php @@ -9,19 +9,16 @@ * A bundle product relations (options, selections, etc.) data saver. * * Performs saving of a bundle product relations data during import operations. - * @since 2.2.0 */ class RelationsDataSaver { /** * @var \Magento\Framework\App\ResourceConnection - * @since 2.2.0 */ private $resource; /** * @param \Magento\Framework\App\ResourceConnection $resource - * @since 2.2.0 */ public function __construct( \Magento\Framework\App\ResourceConnection $resource @@ -35,7 +32,6 @@ public function __construct( * @param array $options * * @return void - * @since 2.2.0 */ public function saveOptions(array $options) { @@ -58,7 +54,6 @@ public function saveOptions(array $options) * @param array $optionValues * * @return void - * @since 2.2.0 */ public function saveOptionValues(array $optionValues) { @@ -77,7 +72,6 @@ public function saveOptionValues(array $optionValues) * @param array $selections * * @return void - * @since 2.2.0 */ public function saveSelections(array $selections) { diff --git a/app/code/Magento/CacheInvalidate/Observer/InvalidateVarnishObserver.php b/app/code/Magento/CacheInvalidate/Observer/InvalidateVarnishObserver.php index 621f39a65e414..f59ee26f216ba 100644 --- a/app/code/Magento/CacheInvalidate/Observer/InvalidateVarnishObserver.php +++ b/app/code/Magento/CacheInvalidate/Observer/InvalidateVarnishObserver.php @@ -29,7 +29,6 @@ class InvalidateVarnishObserver implements ObserverInterface * Invalidation tags resolver * * @var \Magento\Framework\App\Cache\Tag\Resolver - * @since 2.1.3 */ private $tagResolver; @@ -73,9 +72,8 @@ public function execute(\Magento\Framework\Event\Observer $observer) } /** - * @deprecated 2.1.3 + * @deprecated 100.1.2 * @return \Magento\Framework\App\Cache\Tag\Resolver - * @since 2.1.3 */ private function getTagResolver() { diff --git a/app/code/Magento/Captcha/Controller/Adminhtml/Refresh/Refresh.php b/app/code/Magento/Captcha/Controller/Adminhtml/Refresh/Refresh.php index 8ccfab08d0981..e36ae3d344877 100644 --- a/app/code/Magento/Captcha/Controller/Adminhtml/Refresh/Refresh.php +++ b/app/code/Magento/Captcha/Controller/Adminhtml/Refresh/Refresh.php @@ -16,13 +16,11 @@ class Refresh extends \Magento\Backend\App\Action { /** * @var \Magento\Framework\Serialize\Serializer\Json - * @since 2.2.0 */ protected $serializer; /** * @var \Magento\Captcha\Helper\Data - * @since 2.2.0 */ protected $captchaHelper; @@ -31,7 +29,6 @@ class Refresh extends \Magento\Backend\App\Action * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Captcha\Helper\Data $captchaHelper * @param \Magento\Framework\Serialize\Serializer\Json $serializer - * @since 2.2.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, diff --git a/app/code/Magento/Captcha/Controller/Refresh/Index.php b/app/code/Magento/Captcha/Controller/Refresh/Index.php index f50306ba1af16..2ab51239d8af6 100644 --- a/app/code/Magento/Captcha/Controller/Refresh/Index.php +++ b/app/code/Magento/Captcha/Controller/Refresh/Index.php @@ -23,7 +23,6 @@ class Index extends \Magento\Framework\App\Action\Action /** * @var \Magento\Framework\Serialize\Serializer\Json - * @since 2.2.0 */ protected $serializer; diff --git a/app/code/Magento/Captcha/Model/Customer/Plugin/AjaxLogin.php b/app/code/Magento/Captcha/Model/Customer/Plugin/AjaxLogin.php index 33a493c796ab4..09d467a54b37f 100644 --- a/app/code/Magento/Captcha/Model/Customer/Plugin/AjaxLogin.php +++ b/app/code/Magento/Captcha/Model/Customer/Plugin/AjaxLogin.php @@ -32,7 +32,6 @@ class AjaxLogin /** * @var \Magento\Framework\Serialize\Serializer\Json - * @since 2.2.0 */ protected $serializer; diff --git a/app/code/Magento/Captcha/Model/DefaultModel.php b/app/code/Magento/Captcha/Model/DefaultModel.php index 2cb276a7349de..2a524f2ceaef4 100644 --- a/app/code/Magento/Captcha/Model/DefaultModel.php +++ b/app/code/Magento/Captcha/Model/DefaultModel.php @@ -29,14 +29,14 @@ class DefaultModel extends \Zend\Captcha\Image implements \Magento\Captcha\Model /** * @var \Magento\Captcha\Helper\Data - * @since 2.2.0 + * @since 100.2.0 */ protected $captchaData; /** * Captcha expire time * @var int - * @since 2.2.0 + * @since 100.2.0 */ protected $expiration; @@ -44,20 +44,20 @@ class DefaultModel extends \Zend\Captcha\Image implements \Magento\Captcha\Model * Override default value to prevent a captcha cut off * @var int * @see \Zend\Captcha\Image::$fsize - * @since 2.2.0 + * @since 100.2.0 */ protected $fsize = 22; /** * Captcha form id * @var string - * @since 2.2.0 + * @since 100.2.0 */ protected $formId; /** * @var \Magento\Captcha\Model\ResourceModel\LogFactory - * @since 2.2.0 + * @since 100.2.0 */ protected $resLogFactory; @@ -65,13 +65,13 @@ class DefaultModel extends \Zend\Captcha\Image implements \Magento\Captcha\Model * Overrides parent parameter as session comes in constructor. * * @var bool - * @since 2.2.0 + * @since 100.2.0 */ protected $keepSession = true; /** * @var \Magento\Framework\Session\SessionManagerInterface - * @since 2.2.0 + * @since 100.2.0 */ protected $session; @@ -100,7 +100,6 @@ public function __construct( * * @param string $key * @return string - * @since 2.2.0 */ private function getFormIdKey($key) { @@ -162,7 +161,6 @@ public function isShownToLoggedInUser() * * @param string $login * @return bool - * @since 2.2.0 */ private function isOverLimitAttempts($login) { @@ -173,7 +171,6 @@ private function isOverLimitAttempts($login) * Returns number of allowed attempts for same login * * @return int - * @since 2.2.0 */ private function getAllowedAttemptsForSameLogin() { @@ -184,7 +181,6 @@ private function getAllowedAttemptsForSameLogin() * Returns number of allowed attempts from same IP * * @return int - * @since 2.2.0 */ private function getAllowedAttemptsFromSameIp() { @@ -195,7 +191,6 @@ private function getAllowedAttemptsFromSameIp() * Check is over limit saved attempts from one ip * * @return bool - * @since 2.2.0 */ private function isOverLimitIpAttempt() { @@ -208,7 +203,6 @@ private function isOverLimitIpAttempt() * * @param string $login * @return bool - * @since 2.2.0 */ private function isOverLimitLoginAttempts($login) { @@ -223,7 +217,6 @@ private function isOverLimitLoginAttempts($login) * Check is user auth * * @return bool - * @since 2.2.0 */ private function isUserAuth() { @@ -361,7 +354,7 @@ public function logAttempt($login) * * @param bool $value * @return void - * @since 2.1.0 + * @since 100.1.0 */ public function setShowCaptchaInSession($value = true) { @@ -377,7 +370,7 @@ public function setShowCaptchaInSession($value = true) * * @return string * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.2.0 + * @since 100.2.0 */ protected function generateWord() { @@ -394,7 +387,6 @@ protected function generateWord() * Get symbols array to use for word generation * * @return array - * @since 2.2.0 */ private function getSymbols() { @@ -406,7 +398,7 @@ private function getSymbols() * * @return int * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.2.0 + * @since 100.2.0 */ public function getWordLen() { @@ -435,7 +427,6 @@ public function getWordLen() * Whether to show captcha for this form every time * * @return bool - * @since 2.2.0 */ private function isShowAlways() { @@ -463,7 +454,6 @@ private function isShowAlways() * Whether captcha is enabled at this area * * @return bool - * @since 2.2.0 */ private function isEnabled() { @@ -476,7 +466,6 @@ private function isEnabled() * For frontend this list is based on current website * * @return array - * @since 2.2.0 */ private function getTargetForms() { @@ -500,7 +489,7 @@ public function getWord() * * @param string $word * @return $this - * @since 2.2.0 + * @since 100.2.0 */ protected function setWord($word) { @@ -516,7 +505,6 @@ protected function setWord($word) * Set captcha word * * @return $this - * @since 2.2.0 */ private function clearWord() { @@ -531,7 +519,7 @@ private function clearWord() * @see \Zend\Captcha\Image::_randomSize() * @return int * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.2.0 + * @since 100.2.0 */ protected function randomSize() { @@ -548,7 +536,7 @@ protected function randomSize() * * Added SuppressWarnings since this method is declared in parent class and we can not use other method name. * @SuppressWarnings(PHPMD.ShortMethodName) - * @since 2.2.0 + * @since 100.2.0 */ protected function gc() { @@ -559,7 +547,6 @@ protected function gc() * Get resource model * * @return \Magento\Captcha\Model\ResourceModel\Log - * @since 2.2.0 */ private function getResourceModel() { diff --git a/app/code/Magento/Captcha/Observer/CheckContactUsFormObserver.php b/app/code/Magento/Captcha/Observer/CheckContactUsFormObserver.php index 561377243267e..78854778a66ad 100644 --- a/app/code/Magento/Captcha/Observer/CheckContactUsFormObserver.php +++ b/app/code/Magento/Captcha/Observer/CheckContactUsFormObserver.php @@ -42,7 +42,6 @@ class CheckContactUsFormObserver implements ObserverInterface /** * @var DataPersistorInterface - * @since 2.1.0 */ private $dataPersistor; @@ -93,7 +92,6 @@ public function execute(\Magento\Framework\Event\Observer $observer) * Get Data Persistor * * @return DataPersistorInterface - * @since 2.1.0 */ private function getDataPersistor() { diff --git a/app/code/Magento/Captcha/Observer/CheckUserEditObserver.php b/app/code/Magento/Captcha/Observer/CheckUserEditObserver.php index acaf5eec8cb59..9d3cd8d367093 100644 --- a/app/code/Magento/Captcha/Observer/CheckUserEditObserver.php +++ b/app/code/Magento/Captcha/Observer/CheckUserEditObserver.php @@ -12,7 +12,6 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.1.0 */ class CheckUserEditObserver implements ObserverInterface { @@ -23,31 +22,26 @@ class CheckUserEditObserver implements ObserverInterface /** * @var \Magento\Captcha\Helper\Data - * @since 2.1.0 */ protected $helper; /** * @var \Magento\Framework\App\ActionFlag - * @since 2.1.0 */ protected $actionFlag; /** * @var \Magento\Framework\Message\ManagerInterface - * @since 2.1.0 */ protected $messageManager; /** * @var \Magento\Framework\App\Response\RedirectInterface - * @since 2.1.0 */ protected $redirect; /** * @var CaptchaStringResolver - * @since 2.1.0 */ protected $captchaStringResolver; @@ -55,19 +49,16 @@ class CheckUserEditObserver implements ObserverInterface * Authentication * * @var AuthenticationInterface - * @since 2.1.0 */ protected $authentication; /** * @var Session - * @since 2.1.0 */ protected $customerSession; /** * @var ScopeConfigInterface - * @since 2.1.0 */ protected $scopeConfig; @@ -80,7 +71,6 @@ class CheckUserEditObserver implements ObserverInterface * @param AuthenticationInterface $authentication * @param Session $customerSession * @param ScopeConfigInterface $scopeConfig - * @since 2.1.0 */ public function __construct( \Magento\Captcha\Helper\Data $helper, @@ -107,7 +97,6 @@ public function __construct( * * @param \Magento\Framework\Event\Observer $observer * @return $this - * @since 2.1.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { diff --git a/app/code/Magento/Captcha/Observer/CheckUserLoginObserver.php b/app/code/Magento/Captcha/Observer/CheckUserLoginObserver.php index 5ac210316dd1e..bdc8dfa218972 100644 --- a/app/code/Magento/Captcha/Observer/CheckUserLoginObserver.php +++ b/app/code/Magento/Captcha/Observer/CheckUserLoginObserver.php @@ -49,7 +49,6 @@ class CheckUserLoginObserver implements ObserverInterface /** * @var CustomerRepositoryInterface - * @since 2.1.0 */ protected $customerRepository; @@ -57,7 +56,6 @@ class CheckUserLoginObserver implements ObserverInterface * Authentication * * @var AuthenticationInterface - * @since 2.1.0 */ protected $authentication; @@ -89,7 +87,6 @@ public function __construct( * Get customer repository * * @return \Magento\Customer\Api\CustomerRepositoryInterface - * @since 2.1.0 */ private function getCustomerRepository() { @@ -107,7 +104,6 @@ private function getCustomerRepository() * Get authentication * * @return AuthenticationInterface - * @since 2.1.0 */ private function getAuthentication() { diff --git a/app/code/Magento/Captcha/Observer/ResetAttemptForFrontendAccountEditObserver.php b/app/code/Magento/Captcha/Observer/ResetAttemptForFrontendAccountEditObserver.php index e63488b4b7e78..f0be841d945ac 100644 --- a/app/code/Magento/Captcha/Observer/ResetAttemptForFrontendAccountEditObserver.php +++ b/app/code/Magento/Captcha/Observer/ResetAttemptForFrontendAccountEditObserver.php @@ -10,7 +10,6 @@ /** * Class \Magento\Captcha\Observer\ResetAttemptForFrontendAccountEditObserver * - * @since 2.1.0 */ class ResetAttemptForFrontendAccountEditObserver implements ObserverInterface { @@ -21,13 +20,11 @@ class ResetAttemptForFrontendAccountEditObserver implements ObserverInterface /** * @var \Magento\Captcha\Helper\Data - * @since 2.1.0 */ protected $helper; /** * @var \Magento\Captcha\Model\ResourceModel\LogFactory - * @since 2.1.0 */ public $resLogFactory; @@ -36,7 +33,6 @@ class ResetAttemptForFrontendAccountEditObserver implements ObserverInterface * * @param \Magento\Captcha\Helper\Data $helper * @param \Magento\Captcha\Model\ResourceModel\LogFactory $resLogFactory - * @since 2.1.0 */ public function __construct( \Magento\Captcha\Helper\Data $helper, @@ -51,7 +47,6 @@ public function __construct( * * @param \Magento\Framework\Event\Observer $observer * @return \Magento\Captcha\Observer\ResetAttemptForFrontendObserver - * @since 2.1.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { diff --git a/app/code/Magento/Catalog/Api/AttributeSetFinderInterface.php b/app/code/Magento/Catalog/Api/AttributeSetFinderInterface.php index c7ab086daae7b..2d3e830111e5d 100644 --- a/app/code/Magento/Catalog/Api/AttributeSetFinderInterface.php +++ b/app/code/Magento/Catalog/Api/AttributeSetFinderInterface.php @@ -9,7 +9,7 @@ /** * Interface AttributeSetFinderInterface * @api - * @since 2.1.0 + * @since 101.0.0 */ interface AttributeSetFinderInterface { @@ -18,7 +18,7 @@ interface AttributeSetFinderInterface * * @param array $productIds * @return array - * @since 2.1.0 + * @since 101.0.0 */ public function findAttributeSetIdsByProductIds(array $productIds); } diff --git a/app/code/Magento/Catalog/Api/BasePriceStorageInterface.php b/app/code/Magento/Catalog/Api/BasePriceStorageInterface.php index 6077fb0b7bb7f..05e5106b287a0 100644 --- a/app/code/Magento/Catalog/Api/BasePriceStorageInterface.php +++ b/app/code/Magento/Catalog/Api/BasePriceStorageInterface.php @@ -9,7 +9,7 @@ /** * Base prices storage. * @api - * @since 2.2.0 + * @since 101.1.0 */ interface BasePriceStorageInterface { @@ -18,7 +18,7 @@ interface BasePriceStorageInterface * * @param string[] $skus * @return \Magento\Catalog\Api\Data\BasePriceInterface[] - * @since 2.2.0 + * @since 101.1.0 */ public function get(array $skus); @@ -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 2.2.0 + * @since 101.1.0 */ public function update(array $prices); } diff --git a/app/code/Magento/Catalog/Api/CategoryLinkManagementInterface.php b/app/code/Magento/Catalog/Api/CategoryLinkManagementInterface.php index e132ff8251c06..4423c65440624 100644 --- a/app/code/Magento/Catalog/Api/CategoryLinkManagementInterface.php +++ b/app/code/Magento/Catalog/Api/CategoryLinkManagementInterface.php @@ -25,7 +25,7 @@ public function getAssignedProducts($categoryId); * @param string $productSku * @param int[] $categoryIds * @return bool - * @since 2.1.0 + * @since 101.0.0 */ public function assignProductToCategories($productSku, array $categoryIds); } diff --git a/app/code/Magento/Catalog/Api/CategoryListInterface.php b/app/code/Magento/Catalog/Api/CategoryListInterface.php index f33b42cf3a51a..22a9da00eaffc 100644 --- a/app/code/Magento/Catalog/Api/CategoryListInterface.php +++ b/app/code/Magento/Catalog/Api/CategoryListInterface.php @@ -7,7 +7,7 @@ /** * @api - * @since 2.2.0 + * @since 101.1.0 */ interface CategoryListInterface { @@ -16,7 +16,7 @@ interface CategoryListInterface * * @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria * @return \Magento\Catalog\Api\Data\CategorySearchResultsInterface - * @since 2.2.0 + * @since 101.1.0 */ public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria); } diff --git a/app/code/Magento/Catalog/Api/CostStorageInterface.php b/app/code/Magento/Catalog/Api/CostStorageInterface.php index 7e3d2da72ea77..a52d290bd46d8 100644 --- a/app/code/Magento/Catalog/Api/CostStorageInterface.php +++ b/app/code/Magento/Catalog/Api/CostStorageInterface.php @@ -9,7 +9,7 @@ /** * Product cost storage. * @api - * @since 2.2.0 + * @since 101.1.0 */ interface CostStorageInterface { @@ -19,7 +19,7 @@ interface CostStorageInterface * @param string[] $skus * @return \Magento\Catalog\Api\Data\CostInterface[] * @throws \Magento\Framework\Exception\NoSuchEntityException - * @since 2.2.0 + * @since 101.1.0 */ public function get(array $skus); @@ -33,7 +33,7 @@ public function get(array $skus); * * @param \Magento\Catalog\Api\Data\CostInterface[] $prices * @return \Magento\Catalog\Api\Data\PriceUpdateResultInterface[] - * @since 2.2.0 + * @since 101.1.0 */ public function update(array $prices); @@ -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 2.2.0 + * @since 101.1.0 */ public function delete(array $skus); } diff --git a/app/code/Magento/Catalog/Api/Data/BasePriceInterface.php b/app/code/Magento/Catalog/Api/Data/BasePriceInterface.php index 2ac507e60a84e..a527bbfe947ab 100644 --- a/app/code/Magento/Catalog/Api/Data/BasePriceInterface.php +++ b/app/code/Magento/Catalog/Api/Data/BasePriceInterface.php @@ -9,7 +9,7 @@ /** * Price interface. * @api - * @since 2.2.0 + * @since 101.1.0 */ interface BasePriceInterface extends \Magento\Framework\Api\ExtensibleDataInterface { @@ -26,7 +26,7 @@ interface BasePriceInterface extends \Magento\Framework\Api\ExtensibleDataInterf * * @param float $price * @return $this - * @since 2.2.0 + * @since 101.1.0 */ public function setPrice($price); @@ -34,7 +34,7 @@ public function setPrice($price); * Get price. * * @return float - * @since 2.2.0 + * @since 101.1.0 */ public function getPrice(); @@ -43,7 +43,7 @@ public function getPrice(); * * @param int $storeId * @return $this - * @since 2.2.0 + * @since 101.1.0 */ public function setStoreId($storeId); @@ -51,7 +51,7 @@ public function setStoreId($storeId); * Get store id. * * @return int - * @since 2.2.0 + * @since 101.1.0 */ public function getStoreId(); @@ -60,7 +60,7 @@ public function getStoreId(); * * @param string $sku * @return $this - * @since 2.2.0 + * @since 101.1.0 */ public function setSku($sku); @@ -68,7 +68,7 @@ public function setSku($sku); * Get SKU. * * @return string - * @since 2.2.0 + * @since 101.1.0 */ public function getSku(); @@ -76,7 +76,7 @@ public function getSku(); * Retrieve existing extension attributes object or create a new one. * * @return \Magento\Catalog\Api\Data\BasePriceExtensionInterface|null - * @since 2.2.0 + * @since 101.1.0 */ public function getExtensionAttributes(); @@ -85,7 +85,7 @@ public function getExtensionAttributes(); * * @param \Magento\Catalog\Api\Data\BasePriceExtensionInterface $extensionAttributes * @return $this - * @since 2.2.0 + * @since 101.1.0 */ public function setExtensionAttributes( \Magento\Catalog\Api\Data\BasePriceExtensionInterface $extensionAttributes diff --git a/app/code/Magento/Catalog/Api/Data/CategoryLinkInterface.php b/app/code/Magento/Catalog/Api/Data/CategoryLinkInterface.php index 5c800076df43e..e9c0e04c4f746 100644 --- a/app/code/Magento/Catalog/Api/Data/CategoryLinkInterface.php +++ b/app/code/Magento/Catalog/Api/Data/CategoryLinkInterface.php @@ -10,20 +10,20 @@ /** * @api - * @since 2.2.0 + * @since 101.1.0 */ interface CategoryLinkInterface extends ExtensibleDataInterface { /** * @return int|null - * @since 2.2.0 + * @since 101.1.0 */ public function getPosition(); /** * @param int $position * @return $this - * @since 2.2.0 + * @since 101.1.0 */ public function setPosition($position); @@ -31,7 +31,7 @@ public function setPosition($position); * Get category id * * @return string - * @since 2.2.0 + * @since 101.1.0 */ public function getCategoryId(); @@ -40,7 +40,7 @@ public function getCategoryId(); * * @param string $categoryId * @return $this - * @since 2.2.0 + * @since 101.1.0 */ public function setCategoryId($categoryId); @@ -48,7 +48,7 @@ public function setCategoryId($categoryId); * Retrieve existing extension attributes object. * * @return \Magento\Catalog\Api\Data\CategoryLinkExtensionInterface|null - * @since 2.2.0 + * @since 101.1.0 */ public function getExtensionAttributes(); @@ -57,7 +57,7 @@ public function getExtensionAttributes(); * * @param \Magento\Catalog\Api\Data\CategoryLinkExtensionInterface $extensionAttributes * @return $this - * @since 2.2.0 + * @since 101.1.0 */ public function setExtensionAttributes( \Magento\Catalog\Api\Data\CategoryLinkExtensionInterface $extensionAttributes diff --git a/app/code/Magento/Catalog/Api/Data/CategoryProductSearchResultInterface.php b/app/code/Magento/Catalog/Api/Data/CategoryProductSearchResultInterface.php index 461209b54ed49..ac22e51c6a127 100644 --- a/app/code/Magento/Catalog/Api/Data/CategoryProductSearchResultInterface.php +++ b/app/code/Magento/Catalog/Api/Data/CategoryProductSearchResultInterface.php @@ -9,7 +9,7 @@ /** * Interface CategoryProductSearchResultInterface * @api - * @since 2.1.0 + * @since 101.0.0 */ interface CategoryProductSearchResultInterface extends \Magento\Framework\Api\SearchResultsInterface { @@ -17,7 +17,7 @@ interface CategoryProductSearchResultInterface extends \Magento\Framework\Api\Se * Get category product sets list. * * @return \Magento\Catalog\Api\Data\CategoryProductLinkInterface[] - * @since 2.1.0 + * @since 101.0.0 */ public function getItems(); @@ -26,7 +26,7 @@ public function getItems(); * * @param \Magento\Catalog\Api\Data\CategoryProductLinkInterface[] $items * @return $this - * @since 2.1.0 + * @since 101.0.0 */ public function setItems(array $items); } diff --git a/app/code/Magento/Catalog/Api/Data/CategorySearchResultsInterface.php b/app/code/Magento/Catalog/Api/Data/CategorySearchResultsInterface.php index 016753c8dd7ee..38f3f89d6a0c5 100644 --- a/app/code/Magento/Catalog/Api/Data/CategorySearchResultsInterface.php +++ b/app/code/Magento/Catalog/Api/Data/CategorySearchResultsInterface.php @@ -9,7 +9,7 @@ /** * @api - * @since 2.2.0 + * @since 101.1.0 */ interface CategorySearchResultsInterface extends SearchResultsInterface { @@ -17,7 +17,7 @@ interface CategorySearchResultsInterface extends SearchResultsInterface * Get categories * * @return \Magento\Catalog\Api\Data\CategoryInterface[] - * @since 2.2.0 + * @since 101.1.0 */ public function getItems(); @@ -26,7 +26,7 @@ public function getItems(); * * @param \Magento\Catalog\Api\Data\CategoryInterface[] $items * @return $this - * @since 2.2.0 + * @since 101.1.0 */ public function setItems(array $items); } diff --git a/app/code/Magento/Catalog/Api/Data/CostInterface.php b/app/code/Magento/Catalog/Api/Data/CostInterface.php index be5990a929c23..a9966f56bafa3 100644 --- a/app/code/Magento/Catalog/Api/Data/CostInterface.php +++ b/app/code/Magento/Catalog/Api/Data/CostInterface.php @@ -9,7 +9,7 @@ /** * Cost interface. * @api - * @since 2.2.0 + * @since 101.1.0 */ interface CostInterface extends \Magento\Framework\Api\ExtensibleDataInterface { @@ -26,7 +26,7 @@ interface CostInterface extends \Magento\Framework\Api\ExtensibleDataInterface * * @param float $cost * @return $this - * @since 2.2.0 + * @since 101.1.0 */ public function setCost($cost); @@ -34,7 +34,7 @@ public function setCost($cost); * Get cost value. * * @return float - * @since 2.2.0 + * @since 101.1.0 */ public function getCost(); @@ -43,7 +43,7 @@ public function getCost(); * * @param int $storeId * @return $this - * @since 2.2.0 + * @since 101.1.0 */ public function setStoreId($storeId); @@ -51,7 +51,7 @@ public function setStoreId($storeId); * Get store id. * * @return int - * @since 2.2.0 + * @since 101.1.0 */ public function getStoreId(); @@ -60,7 +60,7 @@ public function getStoreId(); * * @param string $sku * @return $this - * @since 2.2.0 + * @since 101.1.0 */ public function setSku($sku); @@ -68,7 +68,7 @@ public function setSku($sku); * Get SKU. * * @return string - * @since 2.2.0 + * @since 101.1.0 */ public function getSku(); @@ -76,7 +76,7 @@ public function getSku(); * Retrieve existing extension attributes object or create a new one. * * @return \Magento\Catalog\Api\Data\CostExtensionInterface|null - * @since 2.2.0 + * @since 101.1.0 */ public function getExtensionAttributes(); @@ -85,7 +85,7 @@ public function getExtensionAttributes(); * * @param \Magento\Catalog\Api\Data\CostExtensionInterface $extensionAttributes * @return $this - * @since 2.2.0 + * @since 101.1.0 */ public function setExtensionAttributes( \Magento\Catalog\Api\Data\CostExtensionInterface $extensionAttributes diff --git a/app/code/Magento/Catalog/Api/Data/EavAttributeInterface.php b/app/code/Magento/Catalog/Api/Data/EavAttributeInterface.php index d4e735ad57b82..4abf9d3108054 100644 --- a/app/code/Magento/Catalog/Api/Data/EavAttributeInterface.php +++ b/app/code/Magento/Catalog/Api/Data/EavAttributeInterface.php @@ -144,7 +144,7 @@ public function getIsFilterableInGrid(); * * @param bool|null $isUsedInGrid * @return $this - * @since 2.2.0 + * @since 101.1.0 */ public function setIsUsedInGrid($isUsedInGrid); @@ -153,7 +153,7 @@ public function setIsUsedInGrid($isUsedInGrid); * * @param bool|null $isVisibleInGrid * @return $this - * @since 2.2.0 + * @since 101.1.0 */ public function setIsVisibleInGrid($isVisibleInGrid); @@ -162,7 +162,7 @@ public function setIsVisibleInGrid($isVisibleInGrid); * * @param bool|null $isFilterableInGrid * @return $this - * @since 2.2.0 + * @since 101.1.0 */ public function setIsFilterableInGrid($isFilterableInGrid); diff --git a/app/code/Magento/Catalog/Api/Data/PriceUpdateResultInterface.php b/app/code/Magento/Catalog/Api/Data/PriceUpdateResultInterface.php index cff363546ce60..426c5becc7a24 100644 --- a/app/code/Magento/Catalog/Api/Data/PriceUpdateResultInterface.php +++ b/app/code/Magento/Catalog/Api/Data/PriceUpdateResultInterface.php @@ -9,7 +9,7 @@ /** * Interface returned in case of incorrect price passed to efficient price API. * @api - * @since 2.2.0 + * @since 101.1.0 */ interface PriceUpdateResultInterface extends \Magento\Framework\Api\ExtensibleDataInterface { @@ -24,7 +24,7 @@ interface PriceUpdateResultInterface extends \Magento\Framework\Api\ExtensibleDa * Get error message, that contains description of error occurred during price update. * * @return string - * @since 2.2.0 + * @since 101.1.0 */ public function getMessage(); @@ -33,7 +33,7 @@ public function getMessage(); * * @param string $message * @return $this - * @since 2.2.0 + * @since 101.1.0 */ public function setMessage($message); @@ -41,7 +41,7 @@ public function setMessage($message); * Get parameters, that could be displayed in error message placeholders. * * @return string[] - * @since 2.2.0 + * @since 101.1.0 */ public function getParameters(); @@ -50,7 +50,7 @@ public function getParameters(); * * @param string[] $parameters * @return $this - * @since 2.2.0 + * @since 101.1.0 */ public function setParameters(array $parameters); @@ -59,7 +59,7 @@ public function setParameters(array $parameters); * If extension attributes do not exist return null. * * @return \Magento\Catalog\Api\Data\PriceUpdateResultExtensionInterface|null - * @since 2.2.0 + * @since 101.1.0 */ public function getExtensionAttributes(); @@ -68,7 +68,7 @@ public function getExtensionAttributes(); * * @param \Magento\Catalog\Api\Data\PriceUpdateResultExtensionInterface $extensionAttributes * @return $this - * @since 2.2.0 + * @since 101.1.0 */ public function setExtensionAttributes( \Magento\Catalog\Api\Data\PriceUpdateResultExtensionInterface $extensionAttributes diff --git a/app/code/Magento/Catalog/Api/Data/ProductFrontendActionInterface.php b/app/code/Magento/Catalog/Api/Data/ProductFrontendActionInterface.php index 09173e44ad7c9..9a6cfebc71fa0 100644 --- a/app/code/Magento/Catalog/Api/Data/ProductFrontendActionInterface.php +++ b/app/code/Magento/Catalog/Api/Data/ProductFrontendActionInterface.php @@ -9,7 +9,7 @@ * Represents Data Object for a Product Frontend Action like Product View or Comparison * * @api - * @since 2.2.0 + * @since 101.1.0 */ interface ProductFrontendActionInterface { @@ -17,7 +17,7 @@ interface ProductFrontendActionInterface * Gets Identifier of a Product Frontend Action * * @return int - * @since 2.2.0 + * @since 101.1.0 */ public function getActionId(); @@ -26,7 +26,7 @@ public function getActionId(); * * @param int $actionId * @return void - * @since 2.2.0 + * @since 101.1.0 */ public function setActionId($actionId); @@ -34,7 +34,7 @@ public function setActionId($actionId); * Gets Identifier of Visitor who performs a Product Frontend Action * * @return int - * @since 2.2.0 + * @since 101.1.0 */ public function getVisitorId(); @@ -43,7 +43,7 @@ public function getVisitorId(); * * @param int $visitorId * @return void - * @since 2.2.0 + * @since 101.1.0 */ public function setVisitorId($visitorId); @@ -51,7 +51,7 @@ public function setVisitorId($visitorId); * Gets Identifier of Customer who performs a Product Frontend Action * * @return int - * @since 2.2.0 + * @since 101.1.0 */ public function getCustomerId(); @@ -60,7 +60,7 @@ public function getCustomerId(); * * @param int $customerId * @return void - * @since 2.2.0 + * @since 101.1.0 */ public function setCustomerId($customerId); @@ -68,7 +68,7 @@ public function setCustomerId($customerId); * Gets Identifier of Product a Product Frontend Action is performed on * * @return int - * @since 2.2.0 + * @since 101.1.0 */ public function getProductId(); @@ -77,7 +77,7 @@ public function getProductId(); * * @param int $productId * @return void - * @since 2.2.0 + * @since 101.1.0 */ public function setProductId($productId); @@ -85,7 +85,7 @@ public function setProductId($productId); * Gets Identifier of Type of a Product Frontend Action * * @return string - * @since 2.2.0 + * @since 101.1.0 */ public function getTypeId(); @@ -94,7 +94,7 @@ public function getTypeId(); * * @param string $typeId * @return void - * @since 2.2.0 + * @since 101.1.0 */ public function setTypeId($typeId); @@ -102,7 +102,7 @@ public function setTypeId($typeId); * Gets JS timestamp of a Product Frontend Action (in microseconds) * * @return int - * @since 2.2.0 + * @since 101.1.0 */ public function getAddedAt(); @@ -111,7 +111,7 @@ public function getAddedAt(); * * @param int $addedAt * @return void - * @since 2.2.0 + * @since 101.1.0 */ public function setAddedAt($addedAt); } diff --git a/app/code/Magento/Catalog/Api/Data/ProductRender/ButtonInterface.php b/app/code/Magento/Catalog/Api/Data/ProductRender/ButtonInterface.php index 054a7eb970161..e2f4dfa201593 100644 --- a/app/code/Magento/Catalog/Api/Data/ProductRender/ButtonInterface.php +++ b/app/code/Magento/Catalog/Api/Data/ProductRender/ButtonInterface.php @@ -14,7 +14,7 @@ * This interface represents all manner of product buttons: add to cart, add to compare, etc... * The buttons describes by this interface should have interaction with backend * @api - * @since 2.2.0 + * @since 101.1.0 */ interface ButtonInterface extends ExtensibleDataInterface { @@ -22,7 +22,7 @@ interface ButtonInterface extends ExtensibleDataInterface * @param string $postData Post data should be serialized (JSON/serialized) string * Post data can be empty * @return void - * @since 2.2.0 + * @since 101.1.0 */ public function setPostData($postData); @@ -33,7 +33,7 @@ public function setPostData($postData); * to handle product action * * @return string - * @since 2.2.0 + * @since 101.1.0 */ public function getPostData(); @@ -44,7 +44,7 @@ public function getPostData(); * * @param string $url * @return void - * @since 2.2.0 + * @since 101.1.0 */ public function setUrl($url); @@ -52,7 +52,7 @@ public function setUrl($url); * Retrieve url, needed to add product to cart * * @return string - * @since 2.2.0 + * @since 101.1.0 */ public function getUrl(); @@ -62,7 +62,7 @@ public function getUrl(); * * @param bool $requiredOptions * @return void - * @since 2.2.0 + * @since 101.1.0 */ public function setRequiredOptions($requiredOptions); @@ -70,7 +70,7 @@ public function setRequiredOptions($requiredOptions); * Retrieve flag whether a product has options or not * * @return bool - * @since 2.2.0 + * @since 101.1.0 */ public function hasRequiredOptions(); @@ -78,7 +78,7 @@ public function hasRequiredOptions(); * Retrieve existing extension attributes object or create a new one. * * @return \Magento\Catalog\Api\Data\ProductRender\ButtonExtensionInterface|null - * @since 2.2.0 + * @since 101.1.0 */ public function getExtensionAttributes(); @@ -87,7 +87,7 @@ public function getExtensionAttributes(); * * @param \Magento\Catalog\Api\Data\ProductRender\ButtonExtensionInterface $extensionAttributes * @return $this - * @since 2.2.0 + * @since 101.1.0 */ public function setExtensionAttributes( \Magento\Catalog\Api\Data\ProductRender\ButtonExtensionInterface $extensionAttributes diff --git a/app/code/Magento/Catalog/Api/Data/ProductRender/FormattedPriceInfoInterface.php b/app/code/Magento/Catalog/Api/Data/ProductRender/FormattedPriceInfoInterface.php index 957eded1ff651..43e0de4f20176 100644 --- a/app/code/Magento/Catalog/Api/Data/ProductRender/FormattedPriceInfoInterface.php +++ b/app/code/Magento/Catalog/Api/Data/ProductRender/FormattedPriceInfoInterface.php @@ -15,7 +15,7 @@ * Consider currency, rounding and html * * @api - * @since 2.2.0 + * @since 101.1.0 */ interface FormattedPriceInfoInterface extends \Magento\Framework\Api\ExtensibleDataInterface { @@ -23,7 +23,7 @@ interface FormattedPriceInfoInterface extends \Magento\Framework\Api\ExtensibleD * Retrieve html with final price * * @return string - * @since 2.2.0 + * @since 101.1.0 */ public function getFinalPrice(); @@ -33,7 +33,7 @@ public function getFinalPrice(); * * @param string $finalPrice * @return void - * @since 2.2.0 + * @since 101.1.0 */ public function setFinalPrice($finalPrice); @@ -42,7 +42,7 @@ public function setFinalPrice($finalPrice); * E.g. for product with custom options is price with the most expensive custom option * * @return string - * @since 2.2.0 + * @since 101.1.0 */ public function getMaxPrice(); @@ -51,7 +51,7 @@ public function getMaxPrice(); * * @param string $maxPrice * @return void - * @since 2.2.0 + * @since 101.1.0 */ public function setMaxPrice($maxPrice); @@ -60,7 +60,7 @@ public function setMaxPrice($maxPrice); * The minimal price is for example, the lowest price of all variations for complex product * * @return string - * @since 2.2.0 + * @since 101.1.0 */ public function getMinimalPrice(); @@ -71,7 +71,7 @@ public function getMinimalPrice(); * * @param string $maxRegularPrice * @return void - * @since 2.2.0 + * @since 101.1.0 */ public function setMaxRegularPrice($maxRegularPrice); @@ -79,7 +79,7 @@ public function setMaxRegularPrice($maxRegularPrice); * Retrieve max regular price * * @return string - * @since 2.2.0 + * @since 101.1.0 */ public function getMaxRegularPrice(); @@ -88,7 +88,7 @@ public function getMaxRegularPrice(); * * @param string $minRegularPrice * @return void - * @since 2.2.0 + * @since 101.1.0 */ public function setMinimalRegularPrice($minRegularPrice); @@ -96,7 +96,7 @@ public function setMinimalRegularPrice($minRegularPrice); * Retrieve minimal regular price * * @return string - * @since 2.2.0 + * @since 101.1.0 */ public function getMinimalRegularPrice(); @@ -107,7 +107,7 @@ public function getMinimalRegularPrice(); * * @param string $specialPrice * @return void - * @since 2.2.0 + * @since 101.1.0 */ public function setSpecialPrice($specialPrice); @@ -115,7 +115,7 @@ public function setSpecialPrice($specialPrice); * Retrieve special price * * @return string - * @since 2.2.0 + * @since 101.1.0 */ public function getSpecialPrice(); @@ -124,7 +124,7 @@ public function getSpecialPrice(); * * @param string $minimalPrice * @return void - * @since 2.2.0 + * @since 101.1.0 */ public function setMinimalPrice($minimalPrice); @@ -133,7 +133,7 @@ public function setMinimalPrice($minimalPrice); * Usually this price is corresponding to price in admin panel of product * * @return string - * @since 2.2.0 + * @since 101.1.0 */ public function getRegularPrice(); @@ -142,7 +142,7 @@ public function getRegularPrice(); * * @param string $regularPrice * @return void - * @since 2.2.0 + * @since 101.1.0 */ public function setRegularPrice($regularPrice); @@ -150,7 +150,7 @@ public function setRegularPrice($regularPrice); * Retrieve existing extension attributes object or create a new one. * * @return \Magento\Catalog\Api\Data\ProductRender\FormattedPriceInfoExtensionInterface|null - * @since 2.2.0 + * @since 101.1.0 */ public function getExtensionAttributes(); @@ -159,7 +159,7 @@ public function getExtensionAttributes(); * * @param \Magento\Catalog\Api\Data\ProductRender\FormattedPriceInfoExtensionInterface $extensionAttributes * @return $this - * @since 2.2.0 + * @since 101.1.0 */ public function setExtensionAttributes( \Magento\Catalog\Api\Data\ProductRender\FormattedPriceInfoExtensionInterface $extensionAttributes diff --git a/app/code/Magento/Catalog/Api/Data/ProductRender/ImageInterface.php b/app/code/Magento/Catalog/Api/Data/ProductRender/ImageInterface.php index c39fb407369f2..4cdb2631edea5 100644 --- a/app/code/Magento/Catalog/Api/Data/ProductRender/ImageInterface.php +++ b/app/code/Magento/Catalog/Api/Data/ProductRender/ImageInterface.php @@ -14,7 +14,7 @@ * Represents physical characteristics of image, that can be used in product listing or product view * * @api - * @since 2.2.0 + * @since 101.1.0 */ interface ImageInterface extends ExtensibleDataInterface { @@ -24,7 +24,7 @@ interface ImageInterface extends ExtensibleDataInterface * * @param string $url * @return void - * @since 2.2.0 + * @since 101.1.0 */ public function setUrl($url); @@ -32,7 +32,7 @@ public function setUrl($url); * Retrieve image url * * @return string - * @since 2.2.0 + * @since 101.1.0 */ public function getUrl(); @@ -43,7 +43,7 @@ public function getUrl(); * What size should this image have, etc... * * @return string - * @since 2.2.0 + * @since 101.1.0 */ public function getCode(); @@ -52,7 +52,7 @@ public function getCode(); * * @param string $code * @return void - * @since 2.2.0 + * @since 101.1.0 */ public function setCode($code); @@ -61,7 +61,7 @@ public function setCode($code); * * @param string $height * @return void - * @since 2.2.0 + * @since 101.1.0 */ public function setHeight($height); @@ -69,7 +69,7 @@ public function setHeight($height); * Retrieve image height * * @return float - * @since 2.2.0 + * @since 101.1.0 */ public function getHeight(); @@ -77,7 +77,7 @@ public function getHeight(); * Set image width in px * * @return float - * @since 2.2.0 + * @since 101.1.0 */ public function getWidth(); @@ -86,7 +86,7 @@ public function getWidth(); * * @param string $width * @return void - * @since 2.2.0 + * @since 101.1.0 */ public function setWidth($width); @@ -95,7 +95,7 @@ public function setWidth($width); * Image label is short description of this image * * @return string - * @since 2.2.0 + * @since 101.1.0 */ public function getLabel(); @@ -104,7 +104,7 @@ public function getLabel(); * * @param string $label * @return void - * @since 2.2.0 + * @since 101.1.0 */ public function setLabel($label); @@ -114,7 +114,7 @@ public function setLabel($label); * This width is image dimension, which represents the width, that can be used for perfomance improvements * * @return float - * @since 2.2.0 + * @since 101.1.0 */ public function getResizedWidth(); @@ -123,14 +123,14 @@ public function getResizedWidth(); * * @param string $width * @return void - * @since 2.2.0 + * @since 101.1.0 */ public function setResizedWidth($width); /** * @param string $height * @return void - * @since 2.2.0 + * @since 101.1.0 */ public function setResizedHeight($height); @@ -138,7 +138,7 @@ public function setResizedHeight($height); * Retrieve resize height * * @return float - * @since 2.2.0 + * @since 101.1.0 */ public function getResizedHeight(); @@ -146,7 +146,7 @@ public function getResizedHeight(); * Retrieve existing extension attributes object or create a new one. * * @return \Magento\Catalog\Api\Data\ProductRender\ImageExtensionInterface|null - * @since 2.2.0 + * @since 101.1.0 */ public function getExtensionAttributes(); @@ -155,7 +155,7 @@ public function getExtensionAttributes(); * * @param \Magento\Catalog\Api\Data\ProductRender\ImageExtensionInterface $extensionAttributes * @return $this - * @since 2.2.0 + * @since 101.1.0 */ public function setExtensionAttributes( \Magento\Catalog\Api\Data\ProductRender\ImageExtensionInterface $extensionAttributes diff --git a/app/code/Magento/Catalog/Api/Data/ProductRender/PriceInfoInterface.php b/app/code/Magento/Catalog/Api/Data/ProductRender/PriceInfoInterface.php index 7d1b654b95c02..fb3f4fd1e8366 100644 --- a/app/code/Magento/Catalog/Api/Data/ProductRender/PriceInfoInterface.php +++ b/app/code/Magento/Catalog/Api/Data/ProductRender/PriceInfoInterface.php @@ -9,7 +9,7 @@ /** * Price interface. * @api - * @since 2.2.0 + * @since 101.1.0 */ interface PriceInfoInterface extends \Magento\Framework\Api\ExtensibleDataInterface { @@ -17,7 +17,7 @@ interface PriceInfoInterface extends \Magento\Framework\Api\ExtensibleDataInterf * Retrieve final price * * @return float - * @since 2.2.0 + * @since 101.1.0 */ public function getFinalPrice(); @@ -27,7 +27,7 @@ public function getFinalPrice(); * * @param float $finalPrice * @return void - * @since 2.2.0 + * @since 101.1.0 */ public function setFinalPrice($finalPrice); @@ -36,7 +36,7 @@ public function setFinalPrice($finalPrice); * E.g. for product with custom options is price with the most expensive custom option * * @return float - * @since 2.2.0 + * @since 101.1.0 */ public function getMaxPrice(); @@ -45,7 +45,7 @@ public function getMaxPrice(); * * @param float $maxPrice * @return void - * @since 2.2.0 + * @since 101.1.0 */ public function setMaxPrice($maxPrice); @@ -56,7 +56,7 @@ public function setMaxPrice($maxPrice); * * @param float $maxRegularPrice * @return void - * @since 2.2.0 + * @since 101.1.0 */ public function setMaxRegularPrice($maxRegularPrice); @@ -64,7 +64,7 @@ public function setMaxRegularPrice($maxRegularPrice); * Retrieve max regular price * * @return float - * @since 2.2.0 + * @since 101.1.0 */ public function getMaxRegularPrice(); @@ -73,7 +73,7 @@ public function getMaxRegularPrice(); * * @param float $minRegularPrice * @return void - * @since 2.2.0 + * @since 101.1.0 */ public function setMinimalRegularPrice($minRegularPrice); @@ -81,7 +81,7 @@ public function setMinimalRegularPrice($minRegularPrice); * Retrieve minimal regular price * * @return float - * @since 2.2.0 + * @since 101.1.0 */ public function getMinimalRegularPrice(); @@ -92,7 +92,7 @@ public function getMinimalRegularPrice(); * * @param float $specialPrice * @return void - * @since 2.2.0 + * @since 101.1.0 */ public function setSpecialPrice($specialPrice); @@ -100,13 +100,13 @@ public function setSpecialPrice($specialPrice); * Retrieve special price * * @return float - * @since 2.2.0 + * @since 101.1.0 */ public function getSpecialPrice(); /** * @return float - * @since 2.2.0 + * @since 101.1.0 */ public function getMinimalPrice(); @@ -115,7 +115,7 @@ public function getMinimalPrice(); * * @param float $minimalPrice * @return void - * @since 2.2.0 + * @since 101.1.0 */ public function setMinimalPrice($minimalPrice); @@ -123,7 +123,7 @@ public function setMinimalPrice($minimalPrice); * Retrieve regular price * * @return float - * @since 2.2.0 + * @since 101.1.0 */ public function getRegularPrice(); @@ -133,7 +133,7 @@ public function getRegularPrice(); * * @param float $regularPrice * @return void - * @since 2.2.0 + * @since 101.1.0 */ public function setRegularPrice($regularPrice); @@ -141,7 +141,7 @@ public function setRegularPrice($regularPrice); * Retrieve dto with formatted prices * * @return \Magento\Catalog\Api\Data\ProductRender\FormattedPriceInfoInterface - * @since 2.2.0 + * @since 101.1.0 */ public function getFormattedPrices(); @@ -150,7 +150,7 @@ public function getFormattedPrices(); * * @param string[] $formattedPriceInfo * @return void - * @since 2.2.0 + * @since 101.1.0 */ public function setFormattedPrices(FormattedPriceInfoInterface $formattedPriceInfo); @@ -158,7 +158,7 @@ public function setFormattedPrices(FormattedPriceInfoInterface $formattedPriceIn * Retrieve existing extension attributes object or create a new one. * * @return \Magento\Catalog\Api\Data\ProductRender\PriceInfoExtensionInterface|null - * @since 2.2.0 + * @since 101.1.0 */ public function getExtensionAttributes(); @@ -167,7 +167,7 @@ public function getExtensionAttributes(); * * @param \Magento\Catalog\Api\Data\ProductRender\PriceInfoExtensionInterface $extensionAttributes * @return $this - * @since 2.2.0 + * @since 101.1.0 */ public function setExtensionAttributes( \Magento\Catalog\Api\Data\ProductRender\PriceInfoExtensionInterface $extensionAttributes diff --git a/app/code/Magento/Catalog/Api/Data/ProductRenderInterface.php b/app/code/Magento/Catalog/Api/Data/ProductRenderInterface.php index 55dda0c4b1994..910168d8854e7 100644 --- a/app/code/Magento/Catalog/Api/Data/ProductRenderInterface.php +++ b/app/code/Magento/Catalog/Api/Data/ProductRenderInterface.php @@ -15,7 +15,7 @@ * This information is put into part as Add To Cart or Add to Compare Data or Price Data * * @api - * @since 2.2.0 + * @since 101.1.0 */ interface ProductRenderInterface extends ExtensibleDataInterface { @@ -23,7 +23,7 @@ interface ProductRenderInterface extends ExtensibleDataInterface * Provide information needed for render "Add To Cart" button on front * * @return \Magento\Catalog\Api\Data\ProductRender\ButtonInterface - * @since 2.2.0 + * @since 101.1.0 */ public function getAddToCartButton(); @@ -32,7 +32,7 @@ public function getAddToCartButton(); * * @param \Magento\Catalog\Api\Data\ProductRender\ButtonInterface $addToCartData * @return void - * @since 2.2.0 + * @since 101.1.0 */ public function setAddToCartButton(ButtonInterface $cartAddToCartButton); @@ -40,7 +40,7 @@ public function setAddToCartButton(ButtonInterface $cartAddToCartButton); * Provide information needed for render "Add To Compare" button on front * * @return \Magento\Catalog\Api\Data\ProductRender\ButtonInterface - * @since 2.2.0 + * @since 101.1.0 */ public function getAddToCompareButton(); @@ -49,7 +49,7 @@ public function getAddToCompareButton(); * * @param ButtonInterface $compareUrlData * @return string - * @since 2.2.0 + * @since 101.1.0 */ public function setAddToCompareButton(ButtonInterface $compareButton); @@ -58,7 +58,7 @@ public function setAddToCompareButton(ButtonInterface $compareButton); * Prices are represented in raw format and in current currency * * @return \Magento\Catalog\Api\Data\ProductRender\PriceInfoInterface - * @since 2.2.0 + * @since 101.1.0 */ public function getPriceInfo(); @@ -67,7 +67,7 @@ public function getPriceInfo(); * * @param \Magento\Catalog\Api\Data\ProductRender\PriceInfoInterface $priceInfo * @return void - * @since 2.2.0 + * @since 101.1.0 */ public function setPriceInfo(PriceInfoInterface $priceInfo); @@ -76,7 +76,7 @@ public function setPriceInfo(PriceInfoInterface $priceInfo); * Images can be separated by image codes * * @return \Magento\Catalog\Api\Data\ProductRender\ImageInterface[] - * @since 2.2.0 + * @since 101.1.0 */ public function getImages(); @@ -85,7 +85,7 @@ public function getImages(); * * @param \Magento\Catalog\Api\Data\ProductRender\ImageInterface[] $images * @return void - * @since 2.2.0 + * @since 101.1.0 */ public function setImages(array $images); @@ -93,7 +93,7 @@ public function setImages(array $images); * Provide product url * * @return string - * @since 2.2.0 + * @since 101.1.0 */ public function getUrl(); @@ -102,7 +102,7 @@ public function getUrl(); * * @param string $url * @return void - * @since 2.2.0 + * @since 101.1.0 */ public function setUrl($url); @@ -110,7 +110,7 @@ public function setUrl($url); * Provide product identifier * * @return int - * @since 2.2.0 + * @since 101.1.0 */ public function getId(); @@ -119,7 +119,7 @@ public function getId(); * * @param int $id * @return void - * @since 2.2.0 + * @since 101.1.0 */ public function setId($id); @@ -127,7 +127,7 @@ public function setId($id); * Provide product name * * @return string - * @since 2.2.0 + * @since 101.1.0 */ public function getName(); @@ -136,7 +136,7 @@ public function getName(); * * @param string $name * @return void - * @since 2.2.0 + * @since 101.1.0 */ public function setName($name); @@ -144,7 +144,7 @@ public function setName($name); * Provide product type. Such as bundle, grouped, simple, etc... * * @return string - * @since 2.2.0 + * @since 101.1.0 */ public function getType(); @@ -153,7 +153,7 @@ public function getType(); * * @param string $productType * @return void - * @since 2.2.0 + * @since 101.1.0 */ public function setType($productType); @@ -161,7 +161,7 @@ public function setType($productType); * Provide information about product saleability (In Stock) * * @return string - * @since 2.2.0 + * @since 101.1.0 */ public function getIsSalable(); @@ -172,7 +172,7 @@ public function getIsSalable(); * * @param string $isSalable * @return void - * @since 2.2.0 + * @since 101.1.0 */ public function setIsSalable($isSalable); @@ -182,7 +182,7 @@ public function setIsSalable($isSalable); * This setting affect store scope attributes * * @return int - * @since 2.2.0 + * @since 101.1.0 */ public function getStoreId(); @@ -191,7 +191,7 @@ public function getStoreId(); * * @param int $storeId * @return void - * @since 2.2.0 + * @since 101.1.0 */ public function setStoreId($storeId); @@ -200,7 +200,7 @@ public function setStoreId($storeId); * This setting affect formatted prices* * * @return string - * @since 2.2.0 + * @since 101.1.0 */ public function getCurrencyCode(); @@ -209,7 +209,7 @@ public function getCurrencyCode(); * * @param string $currencyCode * @return void - * @since 2.2.0 + * @since 101.1.0 */ public function setCurrencyCode($currencyCode); @@ -217,7 +217,7 @@ public function setCurrencyCode($currencyCode); * Retrieve existing extension attributes object or create a new one. * * @return \Magento\Catalog\Api\Data\ProductRenderExtensionInterface - * @since 2.2.0 + * @since 101.1.0 */ public function getExtensionAttributes(); @@ -226,7 +226,7 @@ public function getExtensionAttributes(); * * @param \Magento\Catalog\Api\Data\ProductRenderExtensionInterface $extensionAttributes * @return $this - * @since 2.2.0 + * @since 101.1.0 */ public function setExtensionAttributes( \Magento\Catalog\Api\Data\ProductRenderExtensionInterface $extensionAttributes diff --git a/app/code/Magento/Catalog/Api/Data/ProductRenderSearchResultsInterface.php b/app/code/Magento/Catalog/Api/Data/ProductRenderSearchResultsInterface.php index ae5f49fde8d7e..aa05d59a75a57 100644 --- a/app/code/Magento/Catalog/Api/Data/ProductRenderSearchResultsInterface.php +++ b/app/code/Magento/Catalog/Api/Data/ProductRenderSearchResultsInterface.php @@ -9,7 +9,6 @@ /** * Dto that holds render information about products - * @since 2.2.0 */ interface ProductRenderSearchResultsInterface { @@ -17,7 +16,6 @@ interface ProductRenderSearchResultsInterface * Get list of products rendered information * * @return \Magento\Catalog\Api\Data\ProductRenderInterface[] - * @since 2.2.0 */ public function getItems(); @@ -27,7 +25,6 @@ public function getItems(); * @api * @param \Magento\Catalog\Api\Data\ProductRenderInterface[] $items * @return $this - * @since 2.2.0 */ public function setItems(array $items); } diff --git a/app/code/Magento/Catalog/Api/Data/SpecialPriceInterface.php b/app/code/Magento/Catalog/Api/Data/SpecialPriceInterface.php index 4d2127b806606..62028ed788dd5 100644 --- a/app/code/Magento/Catalog/Api/Data/SpecialPriceInterface.php +++ b/app/code/Magento/Catalog/Api/Data/SpecialPriceInterface.php @@ -9,7 +9,7 @@ /** * Product Special Price Interface is used to encapsulate data that can be processed by efficient price API. * @api - * @since 2.2.0 + * @since 101.1.0 */ interface SpecialPriceInterface extends \Magento\Framework\Api\ExtensibleDataInterface { @@ -28,7 +28,7 @@ interface SpecialPriceInterface extends \Magento\Framework\Api\ExtensibleDataInt * * @param float $price * @return $this - * @since 2.2.0 + * @since 101.1.0 */ public function setPrice($price); @@ -36,7 +36,7 @@ public function setPrice($price); * Get product special price value. * * @return float - * @since 2.2.0 + * @since 101.1.0 */ public function getPrice(); @@ -45,7 +45,7 @@ public function getPrice(); * * @param int $storeId * @return $this - * @since 2.2.0 + * @since 101.1.0 */ public function setStoreId($storeId); @@ -53,7 +53,7 @@ public function setStoreId($storeId); * Get ID of store, that contains special price value. * * @return int - * @since 2.2.0 + * @since 101.1.0 */ public function getStoreId(); @@ -62,7 +62,7 @@ public function getStoreId(); * * @param string $sku * @return $this - * @since 2.2.0 + * @since 101.1.0 */ public function setSku($sku); @@ -70,7 +70,7 @@ public function setSku($sku); * Get SKU of product, that contains special price value. * * @return string - * @since 2.2.0 + * @since 101.1.0 */ public function getSku(); @@ -79,7 +79,7 @@ public function getSku(); * * @param string $datetime * @return $this - * @since 2.2.0 + * @since 101.1.0 */ public function setPriceFrom($datetime); @@ -87,7 +87,7 @@ public function setPriceFrom($datetime); * Get start date for special price in Y-m-d H:i:s format. * * @return string - * @since 2.2.0 + * @since 101.1.0 */ public function getPriceFrom(); @@ -96,7 +96,7 @@ public function getPriceFrom(); * * @param string $datetime * @return $this - * @since 2.2.0 + * @since 101.1.0 */ public function setPriceTo($datetime); @@ -104,7 +104,7 @@ public function setPriceTo($datetime); * Get end date for special price in Y-m-d H:i:s format. * * @return string - * @since 2.2.0 + * @since 101.1.0 */ public function getPriceTo(); @@ -113,7 +113,7 @@ public function getPriceTo(); * If extension attributes do not exist return null. * * @return \Magento\Catalog\Api\Data\SpecialPriceExtensionInterface|null - * @since 2.2.0 + * @since 101.1.0 */ public function getExtensionAttributes(); @@ -122,7 +122,7 @@ public function getExtensionAttributes(); * * @param \Magento\Catalog\Api\Data\SpecialPriceExtensionInterface $extensionAttributes * @return $this - * @since 2.2.0 + * @since 101.1.0 */ public function setExtensionAttributes( \Magento\Catalog\Api\Data\SpecialPriceExtensionInterface $extensionAttributes diff --git a/app/code/Magento/Catalog/Api/Data/TierPriceInterface.php b/app/code/Magento/Catalog/Api/Data/TierPriceInterface.php index a797b7ed7b631..eaa1d22726d7c 100644 --- a/app/code/Magento/Catalog/Api/Data/TierPriceInterface.php +++ b/app/code/Magento/Catalog/Api/Data/TierPriceInterface.php @@ -9,7 +9,7 @@ /** * Tier price interface. * @api - * @since 2.2.0 + * @since 101.1.0 */ interface TierPriceInterface extends \Magento\Framework\Api\ExtensibleDataInterface { @@ -31,7 +31,7 @@ interface TierPriceInterface extends \Magento\Framework\Api\ExtensibleDataInterf * * @param float $price * @return $this - * @since 2.2.0 + * @since 101.1.0 */ public function setPrice($price); @@ -39,7 +39,7 @@ public function setPrice($price); * Get tier price. * * @return float - * @since 2.2.0 + * @since 101.1.0 */ public function getPrice(); @@ -48,7 +48,7 @@ public function getPrice(); * * @param string $type * @return $this - * @since 2.2.0 + * @since 101.1.0 */ public function setPriceType($type); @@ -56,7 +56,7 @@ public function setPriceType($type); * Get tier price type. * * @return string - * @since 2.2.0 + * @since 101.1.0 */ public function getPriceType(); @@ -65,7 +65,7 @@ public function getPriceType(); * * @param int $websiteId * @return $this - * @since 2.2.0 + * @since 101.1.0 */ public function setWebsiteId($websiteId); @@ -73,7 +73,7 @@ public function setWebsiteId($websiteId); * Get website id. * * @return int - * @since 2.2.0 + * @since 101.1.0 */ public function getWebsiteId(); @@ -82,7 +82,7 @@ public function getWebsiteId(); * * @param string $sku * @return $this - * @since 2.2.0 + * @since 101.1.0 */ public function setSku($sku); @@ -90,7 +90,7 @@ public function setSku($sku); * Get SKU. * * @return string - * @since 2.2.0 + * @since 101.1.0 */ public function getSku(); @@ -99,7 +99,7 @@ public function getSku(); * * @param string $group * @return $this - * @since 2.2.0 + * @since 101.1.0 */ public function setCustomerGroup($group); @@ -107,7 +107,7 @@ public function setCustomerGroup($group); * Get customer group. * * @return string - * @since 2.2.0 + * @since 101.1.0 */ public function getCustomerGroup(); @@ -116,7 +116,7 @@ public function getCustomerGroup(); * * @param float $quantity * @return $this - * @since 2.2.0 + * @since 101.1.0 */ public function setQuantity($quantity); @@ -124,7 +124,7 @@ public function setQuantity($quantity); * Get quantity. * * @return float - * @since 2.2.0 + * @since 101.1.0 */ public function getQuantity(); @@ -132,7 +132,7 @@ public function getQuantity(); * Retrieve existing extension attributes object or create a new one. * * @return \Magento\Catalog\Api\Data\TierPriceExtensionInterface|null - * @since 2.2.0 + * @since 101.1.0 */ public function getExtensionAttributes(); @@ -141,7 +141,7 @@ public function getExtensionAttributes(); * * @param \Magento\Catalog\Api\Data\TierPriceExtensionInterface $extensionAttributes * @return $this - * @since 2.2.0 + * @since 101.1.0 */ public function setExtensionAttributes( \Magento\Catalog\Api\Data\TierPriceExtensionInterface $extensionAttributes diff --git a/app/code/Magento/Catalog/Api/ProductCustomOptionRepositoryInterface.php b/app/code/Magento/Catalog/Api/ProductCustomOptionRepositoryInterface.php index 4367332224538..9a3dfe585d5f5 100644 --- a/app/code/Magento/Catalog/Api/ProductCustomOptionRepositoryInterface.php +++ b/app/code/Magento/Catalog/Api/ProductCustomOptionRepositoryInterface.php @@ -23,7 +23,7 @@ public function getList($sku); * @param \Magento\Catalog\Api\Data\ProductInterface $product * @param bool $requiredOnly * @return \Magento\Catalog\Api\Data\ProductCustomOptionInterface[] - * @since 2.1.0 + * @since 101.0.0 */ public function getProductOptions( \Magento\Catalog\Api\Data\ProductInterface $product, @@ -53,7 +53,7 @@ public function delete(\Magento\Catalog\Api\Data\ProductCustomOptionInterface $o * @param \Magento\Catalog\Api\Data\ProductInterface $product * @param \Magento\Catalog\Api\Data\ProductInterface $duplicate * @return mixed - * @since 2.1.0 + * @since 101.0.0 */ public function duplicate( \Magento\Catalog\Api\Data\ProductInterface $product, diff --git a/app/code/Magento/Catalog/Api/ProductLinkRepositoryInterface.php b/app/code/Magento/Catalog/Api/ProductLinkRepositoryInterface.php index 5d8f724a9197b..91b717b803d46 100644 --- a/app/code/Magento/Catalog/Api/ProductLinkRepositoryInterface.php +++ b/app/code/Magento/Catalog/Api/ProductLinkRepositoryInterface.php @@ -17,7 +17,7 @@ interface ProductLinkRepositoryInterface * * @param \Magento\Catalog\Api\Data\ProductInterface $product * @return \Magento\Catalog\Api\Data\ProductLinkInterface[] - * @since 2.1.0 + * @since 101.0.0 */ public function getList(\Magento\Catalog\Api\Data\ProductInterface $product); diff --git a/app/code/Magento/Catalog/Api/ProductRenderListInterface.php b/app/code/Magento/Catalog/Api/ProductRenderListInterface.php index 5799188f51920..f79efa4c814d7 100644 --- a/app/code/Magento/Catalog/Api/ProductRenderListInterface.php +++ b/app/code/Magento/Catalog/Api/ProductRenderListInterface.php @@ -9,7 +9,7 @@ /** * Interface which provides product renders information for products * @api - * @since 2.2.0 + * @since 101.1.0 */ interface ProductRenderListInterface { @@ -22,7 +22,7 @@ interface ProductRenderListInterface * @param int $storeId * @param string $currencyCode * @return \Magento\Catalog\Api\Data\ProductRenderSearchResultsInterface - * @since 2.2.0 + * @since 101.1.0 */ public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria, $storeId, $currencyCode); } diff --git a/app/code/Magento/Catalog/Api/ProductTierPriceManagementInterface.php b/app/code/Magento/Catalog/Api/ProductTierPriceManagementInterface.php index c6e4f4c8c88bb..26f12bbb94485 100644 --- a/app/code/Magento/Catalog/Api/ProductTierPriceManagementInterface.php +++ b/app/code/Magento/Catalog/Api/ProductTierPriceManagementInterface.php @@ -8,7 +8,7 @@ /** * @api - * @deprecated 2.2.0 use ScopedProductTierPriceManagementInterface instead + * @deprecated 101.1.0 use ScopedProductTierPriceManagementInterface instead */ interface ProductTierPriceManagementInterface { diff --git a/app/code/Magento/Catalog/Api/ScopedProductTierPriceManagementInterface.php b/app/code/Magento/Catalog/Api/ScopedProductTierPriceManagementInterface.php index 453d9fa64276c..1a3d05de5bcd1 100644 --- a/app/code/Magento/Catalog/Api/ScopedProductTierPriceManagementInterface.php +++ b/app/code/Magento/Catalog/Api/ScopedProductTierPriceManagementInterface.php @@ -8,7 +8,7 @@ /** * @api - * @since 2.2.0 + * @since 101.1.0 */ interface ScopedProductTierPriceManagementInterface { @@ -20,7 +20,7 @@ interface ScopedProductTierPriceManagementInterface * @return boolean * @throws \Magento\Framework\Exception\NoSuchEntityException * @throws \Magento\Framework\Exception\CouldNotSaveException - * @since 2.2.0 + * @since 101.1.0 */ public function add($sku, \Magento\Catalog\Api\Data\ProductTierPriceInterface $tierPrice); @@ -32,7 +32,7 @@ public function add($sku, \Magento\Catalog\Api\Data\ProductTierPriceInterface $t * @return boolean * @throws \Magento\Framework\Exception\NoSuchEntityException * @throws \Magento\Framework\Exception\CouldNotSaveException - * @since 2.2.0 + * @since 101.1.0 */ public function remove($sku, \Magento\Catalog\Api\Data\ProductTierPriceInterface $tierPrice); @@ -43,7 +43,7 @@ public function remove($sku, \Magento\Catalog\Api\Data\ProductTierPriceInterface * @param string $customerGroupId 'all' can be used to specify 'ALL GROUPS' * @return \Magento\Catalog\Api\Data\ProductTierPriceInterface[] * @throws \Magento\Framework\Exception\NoSuchEntityException - * @since 2.2.0 + * @since 101.1.0 */ public function getList($sku, $customerGroupId); } diff --git a/app/code/Magento/Catalog/Api/SpecialPriceInterface.php b/app/code/Magento/Catalog/Api/SpecialPriceInterface.php index 5494dcb5ac4ad..86dca59004132 100644 --- a/app/code/Magento/Catalog/Api/SpecialPriceInterface.php +++ b/app/code/Magento/Catalog/Api/SpecialPriceInterface.php @@ -9,7 +9,7 @@ /** * Special prices resource model. * @api - * @since 2.2.0 + * @since 101.1.0 */ interface SpecialPriceInterface { @@ -29,7 +29,7 @@ interface SpecialPriceInterface * 'price_from' => (string) Special price from date value in UTC. * 'price_to' => (string) Special price to date value in UTC. * ] - * @since 2.2.0 + * @since 101.1.0 */ public function get(array $skus); @@ -47,7 +47,7 @@ public function get(array $skus); * ]; * @return bool * @throws \Magento\Framework\Exception\CouldNotSaveException Thrown if error occurred during price save. - * @since 2.2.0 + * @since 101.1.0 */ public function update(array $prices); @@ -65,7 +65,7 @@ public function update(array $prices); * ]; * @return bool * @throws \Magento\Framework\Exception\CouldNotDeleteException Thrown if error occurred during price delete. - * @since 2.2.0 + * @since 101.1.0 */ public function delete(array $prices); } diff --git a/app/code/Magento/Catalog/Api/SpecialPriceStorageInterface.php b/app/code/Magento/Catalog/Api/SpecialPriceStorageInterface.php index fe7413b48219e..2442af103a4e9 100644 --- a/app/code/Magento/Catalog/Api/SpecialPriceStorageInterface.php +++ b/app/code/Magento/Catalog/Api/SpecialPriceStorageInterface.php @@ -9,7 +9,7 @@ /** * Special price storage presents efficient price API and is used to retrieve, update or delete special prices. * @api - * @since 2.2.0 + * @since 101.1.0 */ interface SpecialPriceStorageInterface { @@ -19,7 +19,7 @@ interface SpecialPriceStorageInterface * @param string[] $skus * @return \Magento\Catalog\Api\Data\SpecialPriceInterface[] * @throws \Magento\Framework\Exception\NoSuchEntityException - * @since 2.2.0 + * @since 101.1.0 */ public function get(array $skus); @@ -33,7 +33,7 @@ public function get(array $skus); * @param \Magento\Catalog\Api\Data\SpecialPriceInterface[] $prices * @return \Magento\Catalog\Api\Data\PriceUpdateResultInterface[] * @throws \Magento\Framework\Exception\CouldNotSaveException - * @since 2.2.0 + * @since 101.1.0 */ public function update(array $prices); @@ -47,7 +47,7 @@ public function update(array $prices); * @param \Magento\Catalog\Api\Data\SpecialPriceInterface[] $prices * @return \Magento\Catalog\Api\Data\PriceUpdateResultInterface[] * @throws \Magento\Framework\Exception\CouldNotDeleteException - * @since 2.2.0 + * @since 101.1.0 */ public function delete(array $prices); } diff --git a/app/code/Magento/Catalog/Api/TierPriceStorageInterface.php b/app/code/Magento/Catalog/Api/TierPriceStorageInterface.php index 27ba718e65bb8..584daa9864588 100644 --- a/app/code/Magento/Catalog/Api/TierPriceStorageInterface.php +++ b/app/code/Magento/Catalog/Api/TierPriceStorageInterface.php @@ -9,7 +9,7 @@ /** * Tier prices storage. * @api - * @since 2.2.0 + * @since 101.1.0 */ interface TierPriceStorageInterface { @@ -19,7 +19,7 @@ interface TierPriceStorageInterface * @param string[] $skus * @return \Magento\Catalog\Api\Data\TierPriceInterface[] * @throws \Magento\Framework\Exception\NoSuchEntityException - * @since 2.2.0 + * @since 101.1.0 */ public function get(array $skus); @@ -33,7 +33,7 @@ public function get(array $skus); * * @param \Magento\Catalog\Api\Data\TierPriceInterface[] $prices * @return \Magento\Catalog\Api\Data\PriceUpdateResultInterface[] - * @since 2.2.0 + * @since 101.1.0 */ public function update(array $prices); @@ -47,7 +47,7 @@ public function update(array $prices); * * @param \Magento\Catalog\Api\Data\TierPriceInterface[] $prices * @return \Magento\Catalog\Api\Data\PriceUpdateResultInterface[] - * @since 2.2.0 + * @since 101.1.0 */ public function replace(array $prices); @@ -61,7 +61,7 @@ public function replace(array $prices); * * @param \Magento\Catalog\Api\Data\TierPriceInterface[] $prices * @return \Magento\Catalog\Api\Data\PriceUpdateResultInterface[] - * @since 2.2.0 + * @since 101.1.0 */ public function delete(array $prices); } diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Category/AssignProducts.php b/app/code/Magento/Catalog/Block/Adminhtml/Category/AssignProducts.php index f93d91ebcefeb..ddaff29195453 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Category/AssignProducts.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Category/AssignProducts.php @@ -9,7 +9,6 @@ /** * Class \Magento\Catalog\Block\Adminhtml\Category\AssignProducts * - * @since 2.1.0 */ class AssignProducts extends \Magento\Backend\Block\Template { @@ -17,25 +16,21 @@ class AssignProducts extends \Magento\Backend\Block\Template * Block template * * @var string - * @since 2.1.0 */ protected $_template = 'catalog/category/edit/assign_products.phtml'; /** * @var \Magento\Catalog\Block\Adminhtml\Category\Tab\Product - * @since 2.1.0 */ protected $blockGrid; /** * @var \Magento\Framework\Registry - * @since 2.1.0 */ protected $registry; /** * @var \Magento\Framework\Json\EncoderInterface - * @since 2.1.0 */ protected $jsonEncoder; @@ -46,7 +41,6 @@ class AssignProducts extends \Magento\Backend\Block\Template * @param \Magento\Framework\Registry $registry * @param \Magento\Framework\Json\EncoderInterface $jsonEncoder * @param array $data - * @since 2.1.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -64,7 +58,6 @@ public function __construct( * * @return \Magento\Framework\View\Element\BlockInterface * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.1.0 */ public function getBlockGrid() { @@ -81,7 +74,6 @@ public function getBlockGrid() * Return HTML of grid block * * @return string - * @since 2.1.0 */ public function getGridHtml() { @@ -90,7 +82,6 @@ public function getGridHtml() /** * @return string - * @since 2.1.0 */ public function getProductsJson() { @@ -105,7 +96,6 @@ public function getProductsJson() * Retrieve current category instance * * @return array|null - * @since 2.1.0 */ public function getCategory() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Category/Edit.php b/app/code/Magento/Catalog/Block/Adminhtml/Category/Edit.php index 412cf64fac270..d0ba9cd63d134 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Category/Edit.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Category/Edit.php @@ -14,7 +14,7 @@ class Edit extends \Magento\Framework\View\Element\Template * Return URL for refresh input element 'path' in form * * @return string - * @since 2.1.0 + * @since 101.0.0 */ public function getRefreshPathUrl() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Category/Edit/DeleteButton.php b/app/code/Magento/Catalog/Block/Adminhtml/Category/Edit/DeleteButton.php index aeddd628ac8cf..20411a4c4d767 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Category/Edit/DeleteButton.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Category/Edit/DeleteButton.php @@ -10,7 +10,6 @@ /** * Class DeleteButton - * @since 2.1.0 */ class DeleteButton extends AbstractCategory implements ButtonProviderInterface { @@ -18,7 +17,6 @@ class DeleteButton extends AbstractCategory implements ButtonProviderInterface * Delete button * * @return array - * @since 2.1.0 */ public function getButtonData() { @@ -41,7 +39,6 @@ public function getButtonData() /** * @param array $args * @return string - * @since 2.1.0 */ public function getDeleteUrl(array $args = []) { @@ -51,7 +48,6 @@ public function getDeleteUrl(array $args = []) /** * @return array - * @since 2.1.0 */ protected function getDefaultUrlParams() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Category/Edit/SaveButton.php b/app/code/Magento/Catalog/Block/Adminhtml/Category/Edit/SaveButton.php index 67a1fbf945ef7..937b6e2a8ac77 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Category/Edit/SaveButton.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Category/Edit/SaveButton.php @@ -10,7 +10,6 @@ /** * Class SaveButton - * @since 2.1.0 */ class SaveButton extends AbstractCategory implements ButtonProviderInterface { @@ -18,7 +17,6 @@ class SaveButton extends AbstractCategory implements ButtonProviderInterface * Save button * * @return array - * @since 2.1.0 */ public function getButtonData() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Helper/Form/Wysiwyg/Content.php b/app/code/Magento/Catalog/Block/Adminhtml/Helper/Form/Wysiwyg/Content.php index 154d040740f68..0787a42f93f19 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Helper/Form/Wysiwyg/Content.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Helper/Form/Wysiwyg/Content.php @@ -17,7 +17,7 @@ /** * Class Content * - * @deprecated 2.2.0 + * @deprecated 101.1.0 * @see \Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\Eav */ class Content extends Generic diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Button/Cancel.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Button/Cancel.php index d162f59040199..93ee66e67a05e 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Button/Cancel.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Button/Cancel.php @@ -7,7 +7,6 @@ /** * Class Cancel - * @since 2.1.0 */ class Cancel extends Generic { @@ -15,7 +14,6 @@ class Cancel extends Generic * Get button data * * @return array - * @since 2.1.0 */ public function getButtonData() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Button/Generic.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Button/Generic.php index 89d0095aa42a7..2361a21f38826 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Button/Generic.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Button/Generic.php @@ -12,7 +12,6 @@ /** * Class Generic - * @since 2.1.0 */ class Generic implements ButtonProviderInterface { @@ -20,7 +19,6 @@ class Generic implements ButtonProviderInterface * Url Builder * * @var Context - * @since 2.1.0 */ protected $context; @@ -28,7 +26,6 @@ class Generic implements ButtonProviderInterface * Registry * * @var Registry - * @since 2.1.0 */ protected $registry; @@ -37,7 +34,6 @@ class Generic implements ButtonProviderInterface * * @param Context $context * @param Registry $registry - * @since 2.1.0 */ public function __construct( Context $context, @@ -53,7 +49,6 @@ public function __construct( * @param string $route * @param array $params * @return string - * @since 2.1.0 */ public function getUrl($route = '', $params = []) { @@ -62,7 +57,6 @@ public function getUrl($route = '', $params = []) /** * {@inheritdoc} - * @since 2.1.0 */ public function getButtonData() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Button/Save.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Button/Save.php index 0fac0e1cec068..7508025138248 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Button/Save.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Button/Save.php @@ -8,7 +8,6 @@ /** * Class \Magento\Catalog\Block\Adminhtml\Product\Attribute\Button\Save * - * @since 2.1.0 */ class Save extends Generic { @@ -16,7 +15,6 @@ class Save extends Generic * Get button data * * @return array - * @since 2.1.0 */ public function getButtonData() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Button/SaveInNewAttributeSet.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Button/SaveInNewAttributeSet.php index 1bab2b8835f74..8813e2c3d485c 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Button/SaveInNewAttributeSet.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Button/SaveInNewAttributeSet.php @@ -8,7 +8,6 @@ /** * Class \Magento\Catalog\Block\Adminhtml\Product\Attribute\Button\SaveInNewAttributeSet * - * @since 2.1.0 */ class SaveInNewAttributeSet extends Generic { @@ -16,7 +15,6 @@ class SaveInNewAttributeSet extends Generic * Get button data * * @return array - * @since 2.1.0 */ public function getButtonData() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tab/Advanced.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tab/Advanced.php index 3a0427e45e42e..b26b6a407f22b 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tab/Advanced.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tab/Advanced.php @@ -43,7 +43,6 @@ class Advanced extends Generic /** * @var PropertyLocker - * @since 2.1.0 */ private $propertyLocker; @@ -281,7 +280,6 @@ private function getAttributeObject() * Get property locker * * @return PropertyLocker - * @since 2.1.0 */ private function getPropertyLocker() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit.php index d9d8943181951..c1dd6c51f3dac 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit.php @@ -253,7 +253,7 @@ public function getDuplicateUrl() } /** - * @deprecated 2.2.0 + * @deprecated 101.1.0 * @return string */ public function getHeader() diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Action/Attribute/Tab/Inventory.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Action/Attribute/Tab/Inventory.php index d847dc38539a7..36e3ca9a2a077 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Action/Attribute/Tab/Inventory.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Action/Attribute/Tab/Inventory.php @@ -24,7 +24,7 @@ class Inventory extends \Magento\Backend\Block\Widget implements \Magento\Backen /** * @var array - * @since 2.1.0 + * @since 101.0.0 */ protected $disabledFields = []; @@ -125,7 +125,7 @@ public function isHidden() * @param string $fieldName * @return bool * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.1.0 + * @since 101.0.0 */ public function isAvailable($fieldName) { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Button/AddAttribute.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Button/AddAttribute.php index 6cd5f7d7c5424..fa94ca5839448 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Button/AddAttribute.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Button/AddAttribute.php @@ -7,13 +7,11 @@ /** * Class AddAttribute - * @since 2.1.0 */ class AddAttribute extends Generic { /** * {@inheritdoc} - * @since 2.1.0 */ public function getButtonData() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Button/Back.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Button/Back.php index 1bb13570f185e..db42bb66c9bd1 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Button/Back.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Button/Back.php @@ -7,13 +7,11 @@ /** * Class Back - * @since 2.1.0 */ class Back extends Generic { /** * @return array - * @since 2.1.0 */ public function getButtonData() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Button/CreateCategory.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Button/CreateCategory.php index 5e217338b1507..e74ea580b306d 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Button/CreateCategory.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Button/CreateCategory.php @@ -7,13 +7,11 @@ /** * Button "Create Category" in "New Category" slide-out panel of a product page - * @since 2.1.0 */ class CreateCategory extends Generic { /** * @return array - * @since 2.1.0 */ public function getButtonData() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Button/Generic.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Button/Generic.php index f856eade6d3f3..089e4d6e5cb97 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Button/Generic.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Button/Generic.php @@ -12,7 +12,6 @@ /** * Class Generic - * @since 2.1.0 */ class Generic implements ButtonProviderInterface { @@ -20,7 +19,6 @@ class Generic implements ButtonProviderInterface * Url Builder * * @var Context - * @since 2.1.0 */ protected $context; @@ -28,7 +26,6 @@ class Generic implements ButtonProviderInterface * Registry * * @var Registry - * @since 2.1.0 */ protected $registry; @@ -37,7 +34,6 @@ class Generic implements ButtonProviderInterface * * @param Context $context * @param Registry $registry - * @since 2.1.0 */ public function __construct( Context $context, @@ -53,7 +49,6 @@ public function __construct( * @param string $route * @param array $params * @return string - * @since 2.1.0 */ public function getUrl($route = '', $params = []) { @@ -64,7 +59,6 @@ public function getUrl($route = '', $params = []) * Get product * * @return ProductInterface - * @since 2.1.0 */ public function getProduct() { @@ -73,7 +67,6 @@ public function getProduct() /** * {@inheritdoc} - * @since 2.1.0 */ public function getButtonData() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Button/Save.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Button/Save.php index a00c9a8ffe3c4..7aba4c3e6993f 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Button/Save.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Button/Save.php @@ -9,13 +9,11 @@ /** * Class Save - * @since 2.1.0 */ class Save extends Generic { /** * {@inheritdoc} - * @since 2.1.0 */ public function getButtonData() { @@ -50,7 +48,6 @@ public function getButtonData() * Retrieve options * * @return array - * @since 2.1.0 */ protected function getOptions() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Ajax/Serializer.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Ajax/Serializer.php index 5640a94bf2dcc..a7129f509316b 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Ajax/Serializer.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Ajax/Serializer.php @@ -10,13 +10,12 @@ /** * Class Serializer * @package Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Ajax - * @deprecated 2.2.0 + * @deprecated 101.1.0 */ class Serializer extends \Magento\Framework\View\Element\Template { /** * @var \Magento\Framework\Serialize\Serializer\Json - * @since 2.2.0 */ private $serializer; @@ -25,7 +24,6 @@ class Serializer extends \Magento\Framework\View\Element\Template * @param \Magento\Framework\Serialize\Serializer\Json|null $serializer * @param array $data * @throws \RuntimeException - * @since 2.2.0 */ public function __construct( Template\Context $context, @@ -49,7 +47,7 @@ public function _construct() /** * @return string - * @deprecated 2.2.0 + * @deprecated 101.1.0 */ public function getProductsJSON() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/Gallery.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/Gallery.php index f7970ba7b617d..a60bda0b737d3 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/Gallery.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/Gallery.php @@ -28,7 +28,6 @@ class Gallery extends \Magento\Framework\View\Element\AbstractBlock * Gallery field name suffix * * @var string - * @since 2.1.0 */ protected $fieldNameSuffix = 'product'; @@ -36,7 +35,6 @@ class Gallery extends \Magento\Framework\View\Element\AbstractBlock * Gallery html id * * @var string - * @since 2.1.0 */ protected $htmlId = 'media_gallery'; @@ -44,7 +42,6 @@ class Gallery extends \Magento\Framework\View\Element\AbstractBlock * Gallery name * * @var string - * @since 2.1.0 */ protected $name = 'product[media_gallery]'; @@ -52,31 +49,26 @@ class Gallery extends \Magento\Framework\View\Element\AbstractBlock * Html id for data scope * * @var string - * @since 2.1.0 */ protected $image = 'image'; /** * @var string - * @since 2.1.0 */ protected $formName = 'product_form'; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.1.0 */ protected $storeManager; /** * @var \Magento\Framework\Data\Form - * @since 2.1.0 */ protected $form; /** * @var Registry - * @since 2.1.0 */ protected $registry; @@ -113,7 +105,6 @@ public function getElementHtml() * Get product images * * @return array|null - * @since 2.1.0 */ public function getImages() { @@ -138,7 +129,6 @@ public function getContentHtml() /** * @return string - * @since 2.1.0 */ protected function getHtmlId() { @@ -147,7 +137,6 @@ protected function getHtmlId() /** * @return string - * @since 2.1.0 */ public function getName() { @@ -156,7 +145,6 @@ public function getName() /** * @return string - * @since 2.1.0 */ public function getFieldNameSuffix() { @@ -165,7 +153,6 @@ public function getFieldNameSuffix() /** * @return string - * @since 2.1.0 */ public function getDataScopeHtmlId() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/Gallery/Content.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/Gallery/Content.php index 95366ab7db383..1628aff60267b 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/Gallery/Content.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/Gallery/Content.php @@ -41,7 +41,6 @@ class Content extends \Magento\Backend\Block\Widget /** * @var \Magento\Catalog\Helper\Image - * @since 2.1.3 */ private $imageHelper; @@ -162,7 +161,6 @@ public function getImagesJson() * * @param array $images * @return array - * @since 2.1.0 */ private function sortImagesByPosition($images) { @@ -248,8 +246,7 @@ public function getImageTypesJson() /** * @return \Magento\Catalog\Helper\Image - * @deprecated 2.1.3 - * @since 2.1.3 + * @deprecated 101.0.3 */ private function getImageHelper() { diff --git a/app/code/Magento/Catalog/Block/Category/Plugin/PriceBoxTags.php b/app/code/Magento/Catalog/Block/Category/Plugin/PriceBoxTags.php index fe4354ac42837..bf1d1affb0ada 100644 --- a/app/code/Magento/Catalog/Block/Category/Plugin/PriceBoxTags.php +++ b/app/code/Magento/Catalog/Block/Category/Plugin/PriceBoxTags.php @@ -17,37 +17,31 @@ /** * Class \Magento\Catalog\Block\Category\Plugin\PriceBoxTags * - * @since 2.1.0 */ class PriceBoxTags { /** * @var TimezoneInterface - * @since 2.1.0 */ protected $dateTime; /** * @var \Magento\Customer\Model\Session - * @since 2.1.0 */ protected $customerSession; /** * @var PriceCurrencyInterface - * @since 2.1.0 */ private $priceCurrency; /** * @var ScopeResolverInterface - * @since 2.1.0 */ private $scopeResolver; /** * @var TaxCalculation - * @since 2.1.0 */ private $taxCalculation; @@ -57,7 +51,6 @@ class PriceBoxTags * @param TimezoneInterface $dateTime * @param ScopeResolverInterface $scopeResolver * @param Session $customerSession - * @since 2.1.0 */ public function __construct( PriceCurrencyInterface $priceCurrency, @@ -75,7 +68,6 @@ public function __construct( * @param PriceBox $subject * @param string $result * @return string - * @since 2.1.0 */ public function afterGetCacheKey(PriceBox $subject, $result) { @@ -95,7 +87,6 @@ public function afterGetCacheKey(PriceBox $subject, $result) /** * @param PriceBox $subject * @return string - * @since 2.1.0 */ private function getTaxRateIds(PriceBox $subject) { @@ -134,8 +125,7 @@ private function getTaxRateIds(PriceBox $subject) * * @return \Magento\Tax\Model\Calculation * - * @deprecated 2.1.0 - * @since 2.1.0 + * @deprecated 101.0.0 */ private function getTaxCalculation() { diff --git a/app/code/Magento/Catalog/Block/FrontendStorageManager.php b/app/code/Magento/Catalog/Block/FrontendStorageManager.php index 953a3bb47c66d..626cd425d17de 100644 --- a/app/code/Magento/Catalog/Block/FrontendStorageManager.php +++ b/app/code/Magento/Catalog/Block/FrontendStorageManager.php @@ -15,19 +15,17 @@ * Provide information to frontend storage manager * * @api - * @since 2.2.0 + * @since 101.1.0 */ class FrontendStorageManager extends \Magento\Framework\View\Element\Template { /** * @var FrontendStorageConfigurationPool - * @since 2.2.0 */ private $storageConfigurationPool; /** * @var Config - * @since 2.2.0 */ private $appConfig; @@ -36,7 +34,7 @@ class FrontendStorageManager extends \Magento\Framework\View\Element\Template * @param FrontendStorageConfigurationPool $storageConfigurationPool * @param Config $appConfig * @param array $data - * @since 2.2.0 + * @since 101.1.0 */ public function __construct( Context $context, @@ -54,7 +52,7 @@ public function __construct( * in json format * * @return string - * @since 2.2.0 + * @since 101.1.0 */ public function getConfigurationJson() { diff --git a/app/code/Magento/Catalog/Block/Product/AbstractProduct.php b/app/code/Magento/Catalog/Block/Product/AbstractProduct.php index 6e56878c00287..82bc8181080d2 100644 --- a/app/code/Magento/Catalog/Block/Product/AbstractProduct.php +++ b/app/code/Magento/Catalog/Block/Product/AbstractProduct.php @@ -8,7 +8,7 @@ /** * Class AbstractProduct * @api - * @deprecated 2.2.0 + * @deprecated 101.1.0 * @SuppressWarnings(PHPMD.NumberOfChildren) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ @@ -98,7 +98,7 @@ class AbstractProduct extends \Magento\Framework\View\Element\Template /** * @var ImageBuilder - * @since 2.2.0 + * @since 101.1.0 */ protected $imageBuilder; diff --git a/app/code/Magento/Catalog/Block/Product/AwareInterface.php b/app/code/Magento/Catalog/Block/Product/AwareInterface.php index 6c0646daa910d..cd1475d029cc6 100644 --- a/app/code/Magento/Catalog/Block/Product/AwareInterface.php +++ b/app/code/Magento/Catalog/Block/Product/AwareInterface.php @@ -7,7 +7,6 @@ /** * Class Product Aware interface - * @since 2.1.1 */ interface AwareInterface { @@ -16,7 +15,6 @@ interface AwareInterface * * @param \Magento\Catalog\Api\Data\ProductInterface $product * @return $this - * @since 2.1.1 */ public function setProduct(\Magento\Catalog\Api\Data\ProductInterface $product); } diff --git a/app/code/Magento/Catalog/Block/Product/Context.php b/app/code/Magento/Catalog/Block/Product/Context.php index a1d53ec7ad969..4ca9e6b290bb5 100644 --- a/app/code/Magento/Catalog/Block/Product/Context.php +++ b/app/code/Magento/Catalog/Block/Product/Context.php @@ -16,7 +16,7 @@ * As Magento moves from inheritance-based APIs all such classes will be deprecated together with * the classes they were introduced for. * - * @deprecated 2.2.0 + * @deprecated 101.1.0 * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ class Context extends \Magento\Framework\View\Element\Template\Context diff --git a/app/code/Magento/Catalog/Block/Product/ListProduct.php b/app/code/Magento/Catalog/Block/Product/ListProduct.php index 6f95dd676d186..c0d342afdbf04 100644 --- a/app/code/Magento/Catalog/Block/Product/ListProduct.php +++ b/app/code/Magento/Catalog/Block/Product/ListProduct.php @@ -343,7 +343,6 @@ protected function getPriceRender() * when product collection initialized. * * @return Collection - * @since 2.2.0 */ private function initializeProductCollection() { @@ -408,7 +407,6 @@ private function initializeProductCollection() * @param ProductList\Toolbar $toolbar * @param Collection $collection * @return void - * @since 2.2.0 */ private function configureToolbar(Toolbar $toolbar, Collection $collection) { diff --git a/app/code/Magento/Catalog/Block/Product/ProductList/Item/AddTo/Compare.php b/app/code/Magento/Catalog/Block/Product/ProductList/Item/AddTo/Compare.php index b73e30080b07f..4ad50e0c0c5e4 100644 --- a/app/code/Magento/Catalog/Block/Product/ProductList/Item/AddTo/Compare.php +++ b/app/code/Magento/Catalog/Block/Product/ProductList/Item/AddTo/Compare.php @@ -9,13 +9,13 @@ * Add product to compare * * @api - * @since 2.1.1 + * @since 101.0.1 */ class Compare extends \Magento\Catalog\Block\Product\ProductList\Item\Block { /** * @return \Magento\Catalog\Helper\Product\Compare - * @since 2.1.1 + * @since 101.0.1 */ public function getCompareHelper() { diff --git a/app/code/Magento/Catalog/Block/Product/ProductList/Item/Block.php b/app/code/Magento/Catalog/Block/Product/ProductList/Item/Block.php index 9fb8fbbb0ab1f..1bcf8a1d258d3 100644 --- a/app/code/Magento/Catalog/Block/Product/ProductList/Item/Block.php +++ b/app/code/Magento/Catalog/Block/Product/ProductList/Item/Block.php @@ -11,19 +11,16 @@ /** * Class List Item Block - * @since 2.1.1 */ class Block extends AbstractProduct implements ProductAwareInterface { /** * @var ProductInterface - * @since 2.1.1 */ private $product; /** * {@inheritdoc} - * @since 2.1.1 */ public function setProduct(ProductInterface $product) { @@ -33,7 +30,6 @@ public function setProduct(ProductInterface $product) /** * {@inheritdoc} - * @since 2.1.1 */ public function getProduct() { diff --git a/app/code/Magento/Catalog/Block/Product/ProductList/Item/Container.php b/app/code/Magento/Catalog/Block/Product/ProductList/Item/Container.php index d2951f2b0dd13..af302de5641a4 100644 --- a/app/code/Magento/Catalog/Block/Product/ProductList/Item/Container.php +++ b/app/code/Magento/Catalog/Block/Product/ProductList/Item/Container.php @@ -11,13 +11,13 @@ * Class List Item Block Container * * @api - * @since 2.1.1 + * @since 101.0.1 */ class Container extends Block { /** * {@inheritdoc} - * @since 2.1.1 + * @since 101.0.1 */ public function getChildHtml($alias = '', $useCache = false) { diff --git a/app/code/Magento/Catalog/Block/Product/View.php b/app/code/Magento/Catalog/Block/Product/View.php index aaac3787d0332..efd5b84ae8c66 100644 --- a/app/code/Magento/Catalog/Block/Product/View.php +++ b/app/code/Magento/Catalog/Block/Product/View.php @@ -29,7 +29,7 @@ class View extends AbstractProduct implements \Magento\Framework\DataObject\Iden /** * @var \Magento\Framework\Pricing\PriceCurrencyInterface - * @deprecated 2.2.0 + * @deprecated 101.1.0 */ protected $priceCurrency; @@ -112,7 +112,7 @@ public function __construct( * Return wishlist widget options * * @return array - * @deprecated 2.1.1 + * @deprecated 101.0.1 */ public function getWishlistOptions() { diff --git a/app/code/Magento/Catalog/Block/Product/View/AbstractView.php b/app/code/Magento/Catalog/Block/Product/View/AbstractView.php index b89db5092227e..cda564e636576 100644 --- a/app/code/Magento/Catalog/Block/Product/View/AbstractView.php +++ b/app/code/Magento/Catalog/Block/Product/View/AbstractView.php @@ -9,7 +9,7 @@ * Product view abstract block * * @api - * @deprecated 2.2.0 + * @deprecated 101.1.0 */ abstract class AbstractView extends \Magento\Catalog\Block\Product\AbstractProduct { diff --git a/app/code/Magento/Catalog/Block/Product/View/AddTo/Compare.php b/app/code/Magento/Catalog/Block/Product/View/AddTo/Compare.php index 9e52d822ba360..09726dbe0f299 100644 --- a/app/code/Magento/Catalog/Block/Product/View/AddTo/Compare.php +++ b/app/code/Magento/Catalog/Block/Product/View/AddTo/Compare.php @@ -10,7 +10,7 @@ * Product view compare block * * @api - * @since 2.1.1 + * @since 101.0.1 */ class Compare extends \Magento\Catalog\Block\Product\View { @@ -18,7 +18,7 @@ class Compare extends \Magento\Catalog\Block\Product\View * Return compare params * * @return string - * @since 2.1.1 + * @since 101.0.1 */ public function getPostDataParams() { diff --git a/app/code/Magento/Catalog/Block/Product/Widget/NewWidget.php b/app/code/Magento/Catalog/Block/Product/Widget/NewWidget.php index 5d942626a0370..704271b58f483 100644 --- a/app/code/Magento/Catalog/Block/Product/Widget/NewWidget.php +++ b/app/code/Magento/Catalog/Block/Product/Widget/NewWidget.php @@ -46,7 +46,6 @@ class NewWidget extends \Magento\Catalog\Block\Product\NewProduct implements \Ma /** * @var \Magento\Framework\Serialize\Serializer\Json - * @since 2.2.0 */ private $serializer; @@ -59,7 +58,6 @@ class NewWidget extends \Magento\Catalog\Block\Product\NewProduct implements \Ma * @param \Magento\Framework\App\Http\Context $httpContext * @param array $data * @param \Magento\Framework\Serialize\Serializer\Json|null $serializer - * @since 2.2.0 */ public function __construct( \Magento\Catalog\Block\Product\Context $context, diff --git a/app/code/Magento/Catalog/Block/Ui/ProductViewCounter.php b/app/code/Magento/Catalog/Block/Ui/ProductViewCounter.php index a3489d17b6145..a12545e2dad05 100644 --- a/app/code/Magento/Catalog/Block/Ui/ProductViewCounter.php +++ b/app/code/Magento/Catalog/Block/Ui/ProductViewCounter.php @@ -24,55 +24,47 @@ * by customer on frontend and data to synchornize this tracks with backend * * @api - * @since 2.2.0 + * @since 101.1.0 */ class ProductViewCounter extends Template { /** * @var ProductRepository - * @since 2.2.0 */ private $productRepository; /** * @var ProductRenderCollectorComposite - * @since 2.2.0 */ private $productRenderCollectorComposite; /** * @var StoreManager - * @since 2.2.0 */ private $storeManager; /** * @var ProductRenderFactory - * @since 2.2.0 */ private $productRenderFactory; /** * @var Hydrator - * @since 2.2.0 */ private $hydrator; /** * @var SerializerInterface - * @since 2.2.0 */ private $serialize; /** * @var Url - * @since 2.2.0 */ private $url; /** * @var Registry - * @since 2.2.0 */ private $registry; @@ -86,7 +78,7 @@ class ProductViewCounter extends Template * @param SerializerInterface $serialize * @param Url $url * @param Registry $registry - * @since 2.2.0 + * @since 101.1.0 */ public function __construct( Template\Context $context, @@ -117,7 +109,7 @@ public function __construct( * requests and will be flushed with full page cache * * @return string {JSON encoded data} - * @since 2.2.0 + * @since 101.1.0 */ public function getCurrentProductData() { diff --git a/app/code/Magento/Catalog/Block/Widget/RecentlyCompared.php b/app/code/Magento/Catalog/Block/Widget/RecentlyCompared.php index 4a931ab3f358e..1f0d6728561f0 100644 --- a/app/code/Magento/Catalog/Block/Widget/RecentlyCompared.php +++ b/app/code/Magento/Catalog/Block/Widget/RecentlyCompared.php @@ -10,7 +10,6 @@ /** * Dynamicly creates recently compared widget ui component, using information * from widget instance and Catalog/widget.xml - * @since 2.2.0 */ class RecentlyCompared extends Wrapper implements \Magento\Widget\Block\BlockInterface { diff --git a/app/code/Magento/Catalog/Block/Widget/RecentlyViewed.php b/app/code/Magento/Catalog/Block/Widget/RecentlyViewed.php index eed10837c5fda..57cce42470ebe 100644 --- a/app/code/Magento/Catalog/Block/Widget/RecentlyViewed.php +++ b/app/code/Magento/Catalog/Block/Widget/RecentlyViewed.php @@ -10,7 +10,6 @@ /** * Dynamicly creates recently viewed widget ui component, using information * from widget instance and Catalog/widget.xml - * @since 2.2.0 */ class RecentlyViewed extends Wrapper implements \Magento\Widget\Block\BlockInterface { diff --git a/app/code/Magento/Catalog/Console/Command/ProductAttributesCleanUp.php b/app/code/Magento/Catalog/Console/Command/ProductAttributesCleanUp.php index cdc03a07ca15e..4fc63d1d662c0 100644 --- a/app/code/Magento/Catalog/Console/Command/ProductAttributesCleanUp.php +++ b/app/code/Magento/Catalog/Console/Command/ProductAttributesCleanUp.php @@ -13,37 +13,31 @@ /** * Class ProductAttributesCleanUp * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.1.0 */ class ProductAttributesCleanUp extends \Symfony\Component\Console\Command\Command { /** * @var \Magento\Catalog\Api\ProductAttributeRepositoryInterface - * @since 2.1.0 */ protected $productAttributeRepository; /** * @var \Magento\Framework\Api\SearchCriteriaBuilder - * @since 2.1.0 */ protected $searchCriteriaBuilder; /** * @var \Magento\Catalog\Model\ResourceModel\Attribute - * @since 2.1.0 */ protected $attributeResource; /** * @var \Magento\Framework\App\State - * @since 2.1.0 */ protected $appState; /** * @var \Magento\Framework\EntityManager\EntityMetadata - * @since 2.1.0 */ protected $metadata; @@ -53,7 +47,6 @@ class ProductAttributesCleanUp extends \Symfony\Component\Console\Command\Comman * @param \Magento\Framework\Api\SearchCriteriaBuilder $searchCriteriaBuilder * @param \Magento\Framework\App\State $appState * @param \Magento\Framework\EntityManager\MetadataPool $metadataPool - * @since 2.1.0 */ public function __construct( \Magento\Catalog\Api\ProductAttributeRepositoryInterface $productAttributeRepository, @@ -72,7 +65,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.1.0 */ protected function configure() { @@ -82,7 +74,6 @@ protected function configure() /** * {@inheritdoc} - * @since 2.1.0 */ protected function execute(InputInterface $input, OutputInterface $output) { @@ -124,7 +115,6 @@ protected function execute(InputInterface $input, OutputInterface $output) /** * @return array * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.1.0 */ private function getAttributeTables() { @@ -148,7 +138,6 @@ private function getAttributeTables() * @param string $attributeTableName * @return array * @throws \Zend_Db_Statement_Exception - * @since 2.1.0 */ private function getAffectedAttributeIds(AdapterInterface $connection, $attributeTableName) { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Category.php b/app/code/Magento/Catalog/Controller/Adminhtml/Category.php index 53e18faf9ddd4..5da3cba49bf9e 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Category.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Category.php @@ -19,7 +19,6 @@ abstract class Category extends \Magento\Backend\App\Action /** * @var \Magento\Framework\Stdlib\DateTime\Filter\DateTime - * @since 2.1.0 */ private $dateTimeFilter; @@ -67,7 +66,6 @@ protected function _initCategory($getRootInstead = false) * Resolve Category Id (from get or from post) * * @return int - * @since 2.2.0 */ private function resolveCategoryId() { @@ -84,8 +82,7 @@ private function resolveCategoryId() * * @return \Magento\Framework\Controller\Result\Json * - * @deprecated 2.1.0 - * @since 2.1.0 + * @deprecated 101.0.0 */ protected function ajaxRequestResponse($category, $resultPage) { @@ -131,8 +128,7 @@ protected function ajaxRequestResponse($category, $resultPage) /** * @return \Magento\Framework\Stdlib\DateTime\Filter\DateTime * - * @deprecated 2.1.0 - * @since 2.1.0 + * @deprecated 101.0.0 */ private function getDateTimeFilter() { @@ -150,7 +146,6 @@ private function getDateTimeFilter() * @param array $postData * * @return array - * @since 2.1.0 */ protected function dateTimePreprocessing($category, $postData) { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Category/Edit.php b/app/code/Magento/Catalog/Controller/Adminhtml/Category/Edit.php index de43d788608b4..2fbe1f727365e 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Category/Edit.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Category/Edit.php @@ -24,7 +24,6 @@ class Edit extends \Magento\Catalog\Controller\Adminhtml\Category /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.1.0 */ protected $storeManager; @@ -120,7 +119,6 @@ public function execute() /** * @return \Magento\Store\Model\StoreManagerInterface - * @since 2.1.0 */ private function getStoreManager() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Category/Image/Upload.php b/app/code/Magento/Catalog/Controller/Adminhtml/Category/Image/Upload.php index f68e742053570..4cc0f2d89d179 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Category/Image/Upload.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Category/Image/Upload.php @@ -9,7 +9,6 @@ /** * Class Upload - * @since 2.1.0 */ class Upload extends \Magento\Backend\App\Action { @@ -17,7 +16,6 @@ class Upload extends \Magento\Backend\App\Action * Image uploader * * @var \Magento\Catalog\Model\ImageUploader - * @since 2.1.0 */ protected $imageUploader; @@ -26,7 +24,6 @@ class Upload extends \Magento\Backend\App\Action * * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Catalog\Model\ImageUploader $imageUploader - * @since 2.1.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -40,7 +37,6 @@ public function __construct( * Check admin permissions for this controller * * @return boolean - * @since 2.1.0 */ protected function _isAllowed() { @@ -51,7 +47,6 @@ protected function _isAllowed() * Upload file controller action * * @return \Magento\Framework\Controller\ResultInterface - * @since 2.1.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Category/Save.php b/app/code/Magento/Catalog/Controller/Adminhtml/Category/Save.php index 78595d5e6600a..2ed40c5703957 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Category/Save.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Category/Save.php @@ -33,7 +33,6 @@ class Save extends \Magento\Catalog\Controller\Adminhtml\Category /** * The list of inputs that need to convert from string to boolean * @var array - * @since 2.1.0 */ protected $stringToBoolInputs = [ 'custom_use_parent_settings', @@ -47,13 +46,11 @@ class Save extends \Magento\Catalog\Controller\Adminhtml\Category /** * @var StoreManagerInterface - * @since 2.0.12 */ private $storeManager; /** * @var \Magento\Eav\Model\Config - * @since 2.2.0 */ private $eavConfig; @@ -87,7 +84,7 @@ public function __construct( /** * Filter category data * - * @deprecated 2.2.0 + * @deprecated 101.1.0 * @param array $rawData * @return array */ @@ -261,7 +258,6 @@ public function execute() * * @param array $data * @return array - * @since 2.1.0 */ public function imagePreprocessing($data) { @@ -292,7 +288,6 @@ public function imagePreprocessing($data) * @param array $stringToBoolInputs * * @return array - * @since 2.1.0 */ public function stringToBoolConverting($data, $stringToBoolInputs = null) { @@ -325,7 +320,6 @@ public function stringToBoolConverting($data, $stringToBoolInputs = null) * @param int $storeId * * @return \Magento\Catalog\Model\Category - * @since 2.1.0 */ protected function getParentCategory($parentId, $storeId) { @@ -353,7 +347,6 @@ protected function getParentCategory($parentId, $storeId) * @param int $storeId * * @return array - * @since 2.1.0 */ protected function getRedirectParams($isNewCategory, $hasError, $categoryId, $parentId, $storeId) { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Category/Validate.php b/app/code/Magento/Catalog/Controller/Adminhtml/Category/Validate.php index 585a7dc828a02..921fdb6198d4e 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Category/Validate.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Category/Validate.php @@ -7,13 +7,11 @@ /** * Catalog category validate - * @since 2.1.0 */ class Validate extends \Magento\Catalog\Controller\Adminhtml\Category { /** * @var \Magento\Framework\Controller\Result\JsonFactory - * @since 2.1.0 */ protected $resultJsonFactory; @@ -22,7 +20,6 @@ class Validate extends \Magento\Catalog\Controller\Adminhtml\Category * @param \Magento\Framework\Controller\Result\JsonFactory $resultJsonFactory * * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.1.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -36,7 +33,6 @@ public function __construct( * AJAX category validation action * * @return \Magento\Framework\Controller\Result\Json - * @since 2.1.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/AddAttributeToTemplate.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/AddAttributeToTemplate.php index af44fab9d69af..174f06c2ea030 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/AddAttributeToTemplate.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/AddAttributeToTemplate.php @@ -33,49 +33,41 @@ class AddAttributeToTemplate extends \Magento\Catalog\Controller\Adminhtml\Produ /** * @var AttributeRepositoryInterface - * @since 2.1.0 */ protected $attributeRepository; /** * @var AttributeSetRepositoryInterface - * @since 2.1.0 */ protected $attributeSetRepository; /** * @var AttributeGroupRepositoryInterface - * @since 2.1.0 */ protected $attributeGroupRepository; /** * @var SearchCriteriaBuilder - * @since 2.1.0 */ protected $searchCriteriaBuilder; /** * @var AttributeGroupInterfaceFactory - * @since 2.1.0 */ protected $attributeGroupFactory; /** * @var AttributeManagementInterface - * @since 2.1.0 */ protected $attributeManagement; /** * @var LoggerInterface - * @since 2.1.0 */ protected $logger; /** * @var ExtensionAttributesFactory - * @since 2.1.0 */ protected $extensionAttributesFactory; @@ -184,7 +176,6 @@ public function execute() * * @return SearchCriteriaBuilder * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.1.0 */ private function getBasicAttributeSearchCriteriaBuilder() { @@ -201,7 +192,6 @@ private function getBasicAttributeSearchCriteriaBuilder() /** * @return AttributeRepositoryInterface - * @since 2.1.0 */ private function getAttributeRepository() { @@ -214,7 +204,6 @@ private function getAttributeRepository() /** * @return AttributeSetRepositoryInterface - * @since 2.1.0 */ private function getAttributeSetRepository() { @@ -227,7 +216,6 @@ private function getAttributeSetRepository() /** * @return AttributeGroupRepositoryInterface - * @since 2.1.0 */ private function getAttributeGroupRepository() { @@ -240,7 +228,6 @@ private function getAttributeGroupRepository() /** * @return SearchCriteriaBuilder - * @since 2.1.0 */ private function getSearchCriteriaBuilder() { @@ -253,7 +240,6 @@ private function getSearchCriteriaBuilder() /** * @return AttributeManagementInterface - * @since 2.1.0 */ private function getAttributeManagement() { @@ -266,7 +252,6 @@ private function getAttributeManagement() /** * @return LoggerInterface - * @since 2.1.0 */ private function getLogger() { @@ -279,7 +264,6 @@ private function getLogger() /** * @return ExtensionAttributesFactory - * @since 2.1.0 */ private function getExtensionAttributesFactory() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Attribute/Save.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Attribute/Save.php index e252cef138696..8eb13af6f96f2 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Attribute/Save.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Attribute/Save.php @@ -49,7 +49,6 @@ class Save extends \Magento\Catalog\Controller\Adminhtml\Product\Attribute /** * @var \Magento\Framework\View\LayoutFactory - * @since 2.1.0 */ private $layoutFactory; @@ -283,7 +282,6 @@ public function execute() * @param array $params * @param array $response * @return \Magento\Framework\Controller\Result\Json|\Magento\Backend\Model\View\Result\Redirect - * @since 2.1.0 */ private function returnResult($path = '', array $params = [], array $response = []) { @@ -302,7 +300,6 @@ private function returnResult($path = '', array $params = [], array $response = * Define whether request is Ajax * * @return boolean - * @since 2.1.0 */ private function isAjax() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Attribute/Validate.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Attribute/Validate.php index 30b1ca7755ecb..dca58ebd4dc1d 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Attribute/Validate.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Attribute/Validate.php @@ -28,7 +28,6 @@ class Validate extends \Magento\Catalog\Controller\Adminhtml\Product\Attribute /** * @var array - * @since 2.1.3 */ private $multipleAttributeList; @@ -126,7 +125,6 @@ public function execute() * @param array $optionsValues * @param array $deletedOptions * @return bool - * @since 2.1.3 */ private function isUniqueAdminValues(array $optionsValues, array $deletedOptions) { @@ -146,7 +144,6 @@ private function isUniqueAdminValues(array $optionsValues, array $deletedOptions * @param DataObject $response * @param string[] $messages * @return DataObject - * @since 2.1.0 */ private function setMessageToResponse($response, $messages) { @@ -161,7 +158,6 @@ private function setMessageToResponse($response, $messages) * @param DataObject $response * @param array|null $options * @return $this - * @since 2.1.3 */ private function checkUniqueOption(DataObject $response, array $options = null) { @@ -182,7 +178,6 @@ private function checkUniqueOption(DataObject $response, array $options = null) * @param DataObject $response * @param array $optionsForCheck * @return void - * @since 2.2.0 */ private function checkEmptyOption(DataObject $response, array $optionsForCheck = null) { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Builder.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Builder.php index ce582a49625e3..8364326102e32 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Builder.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Builder.php @@ -40,7 +40,6 @@ class Builder /** * @var StoreFactory - * @since 2.1.0 */ protected $storeFactory; diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Initialization/Helper.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Initialization/Helper.php index f7458fb13b229..9fab9d539c264 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Initialization/Helper.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Initialization/Helper.php @@ -41,25 +41,25 @@ class Helper /** * @var \Magento\Framework\Stdlib\DateTime\Filter\Date - * @deprecated 2.1.0 + * @deprecated 101.0.0 */ protected $dateFilter; /** * @var CustomOptionFactory - * @since 2.1.0 + * @since 101.0.0 */ protected $customOptionFactory; /** * @var ProductLinkFactory - * @since 2.1.0 + * @since 101.0.0 */ protected $productLinkFactory; /** * @var ProductRepository - * @since 2.1.0 + * @since 101.0.0 */ protected $productRepository; @@ -70,19 +70,16 @@ class Helper /** * @var LinkResolver - * @since 2.1.0 */ private $linkResolver; /** * @var \Magento\Framework\Stdlib\DateTime\Filter\DateTime - * @since 2.1.0 */ private $dateTimeFilter; /** * @var \Magento\Catalog\Model\Product\LinkTypeProvider - * @since 2.2.0 */ private $linkTypeProvider; @@ -138,7 +135,7 @@ public function __construct( * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.1.0 + * @since 101.0.0 */ public function initializeFromData(\Magento\Catalog\Model\Product $product, array $productData) { @@ -238,7 +235,7 @@ public function initialize(\Magento\Catalog\Model\Product $product) * @param \Magento\Catalog\Model\Product $product * @return \Magento\Catalog\Model\Product * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.1.0 + * @since 101.0.0 */ protected function setProductLinks(\Magento\Catalog\Model\Product $product) { @@ -287,7 +284,7 @@ protected function setProductLinks(\Magento\Catalog\Model\Product $product) * @param array $productData * @return array * @todo Remove this method - * @since 2.1.0 + * @since 101.0.0 */ protected function normalize(array $productData) { @@ -350,7 +347,6 @@ public function mergeProductOptions($productOptions, $overwriteOptions) * @param array $option * @param array $overwriteOptions * @return array - * @since 2.2.0 */ private function overwriteValue($optionId, $option, $overwriteOptions) { @@ -370,8 +366,7 @@ private function overwriteValue($optionId, $option, $overwriteOptions) /** * @return LinkResolver - * @deprecated 2.1.0 - * @since 2.1.0 + * @deprecated 101.0.0 */ private function getLinkResolver() { @@ -383,8 +378,7 @@ private function getLinkResolver() /** * @return \Magento\Framework\Stdlib\DateTime\Filter\DateTime - * @deprecated 2.1.0 - * @since 2.1.0 + * @deprecated 101.0.0 */ private function getDateTimeFilter() { @@ -402,7 +396,6 @@ private function getDateTimeFilter() * * @param array $websiteIds * @return array - * @since 2.2.0 */ private function filterWebsiteIds($websiteIds) { @@ -421,7 +414,6 @@ private function filterWebsiteIds($websiteIds) * @param Product $product * @param array $productOptions * @return Product - * @since 2.2.0 */ private function fillProductOptions(Product $product, array $productOptions) { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/NewAction.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/NewAction.php index 09aaaf719ba80..1d05c2d464570 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/NewAction.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/NewAction.php @@ -18,7 +18,7 @@ class NewAction extends \Magento\Catalog\Controller\Adminhtml\Product { /** * @var Initialization\StockDataFilter - * @deprecated 2.1.0 + * @deprecated 101.0.0 */ protected $stockFilter; diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Reload.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Reload.php index 8978eefe4a322..ff87e7f57413f 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Reload.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Reload.php @@ -9,13 +9,11 @@ /** * Backend reload of product create/edit form - * @since 2.1.0 */ class Reload extends \Magento\Catalog\Controller\Adminhtml\Product { /** * {@inheritdoc} - * @since 2.1.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Save.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Save.php index 93d5d92a40a14..d34f4bedd80e4 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Save.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Save.php @@ -34,7 +34,6 @@ class Save extends \Magento\Catalog\Controller\Adminhtml\Product /** * @var \Magento\Catalog\Api\CategoryLinkManagementInterface - * @since 2.1.0 */ protected $categoryLinkManagement; @@ -45,13 +44,11 @@ class Save extends \Magento\Catalog\Controller\Adminhtml\Product /** * @var DataPersistorInterface - * @since 2.1.0 */ protected $dataPersistor; /** * @var StoreManagerInterface - * @since 2.1.0 */ private $storeManager; @@ -219,7 +216,6 @@ private function handleImageRemoveError($postData, $productId) * @param array $data * @param int $productId * @return void - * @since 2.1.0 */ protected function copyToStores($data, $productId) { @@ -246,7 +242,6 @@ protected function copyToStores($data, $productId) /** * @return \Magento\Catalog\Api\CategoryLinkManagementInterface - * @since 2.1.0 */ private function getCategoryLinkManagement() { @@ -259,8 +254,7 @@ private function getCategoryLinkManagement() /** * @return StoreManagerInterface - * @deprecated 2.1.0 - * @since 2.1.0 + * @deprecated 101.0.0 */ private function getStoreManager() { @@ -275,8 +269,7 @@ private function getStoreManager() * Retrieve data persistor * * @return DataPersistorInterface|mixed - * @deprecated 2.1.0 - * @since 2.1.0 + * @deprecated 101.0.0 */ protected function getDataPersistor() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Validate.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Validate.php index 6b1c33876415a..63f46fd32e6f7 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Validate.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Validate.php @@ -21,7 +21,7 @@ class Validate extends \Magento\Catalog\Controller\Adminhtml\Product /** * @var \Magento\Framework\Stdlib\DateTime\Filter\Date * - * @deprecated 2.1.0 + * @deprecated 101.0.0 */ protected $_dateFilter; @@ -47,13 +47,11 @@ class Validate extends \Magento\Catalog\Controller\Adminhtml\Product /** * @var Initialization\Helper - * @since 2.1.0 */ protected $initializationHelper; /** * @var StoreManagerInterface - * @since 2.1.0 */ private $storeManager; @@ -151,8 +149,7 @@ public function execute() /** * @return StoreManagerInterface - * @deprecated 2.1.0 - * @since 2.1.0 + * @deprecated 101.0.0 */ private function getStoreManager() { @@ -165,8 +162,7 @@ private function getStoreManager() /** * @return Initialization\Helper - * @deprecated 2.1.0 - * @since 2.1.0 + * @deprecated 101.0.0 */ protected function getInitializationHelper() { diff --git a/app/code/Magento/Catalog/Controller/Product/Frontend/Action/Synchronize.php b/app/code/Magento/Catalog/Controller/Product/Frontend/Action/Synchronize.php index ad9278c983141..58f4b9a4bb51e 100644 --- a/app/code/Magento/Catalog/Controller/Product/Frontend/Action/Synchronize.php +++ b/app/code/Magento/Catalog/Controller/Product/Frontend/Action/Synchronize.php @@ -11,25 +11,21 @@ /** * Synchronizes Product Frontend Actions with database - * @since 2.2.0 */ class Synchronize extends \Magento\Framework\App\Action\Action { /** * @var Context - * @since 2.2.0 */ private $context; /** * @var Synchronizer - * @since 2.2.0 */ private $synchronizer; /** * @var JsonFactory - * @since 2.2.0 */ private $jsonFactory; @@ -37,7 +33,6 @@ class Synchronize extends \Magento\Framework\App\Action\Action * @param Context $context * @param Synchronizer $synchronizer * @param JsonFactory $jsonFactory - * @since 2.2.0 */ public function __construct( Context $context, @@ -65,7 +60,6 @@ public function __construct( * * * @inheritdoc - * @since 2.2.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Cron/DeleteOutdatedPriceValues.php b/app/code/Magento/Catalog/Cron/DeleteOutdatedPriceValues.php index 8db874e04ece6..de8b6f06afbea 100644 --- a/app/code/Magento/Catalog/Cron/DeleteOutdatedPriceValues.php +++ b/app/code/Magento/Catalog/Cron/DeleteOutdatedPriceValues.php @@ -14,25 +14,21 @@ /** * Cron operation is responsible for deleting all product prices on WEBSITE level * in case 'Catalog Price Scope' configuratoin parameter is set to GLOBAL. - * @since 2.1.3 */ class DeleteOutdatedPriceValues { /** * @var ResourceConnection - * @since 2.1.3 */ private $resource; /** * @var AttributeRepository - * @since 2.1.3 */ private $attributeRepository; /** * @var ScopeConfig - * @since 2.1.3 */ private $scopeConfig; @@ -40,7 +36,6 @@ class DeleteOutdatedPriceValues * @param ResourceConnection $resource * @param AttributeRepository $attributeRepository * @param ScopeConfig $scopeConfig - * @since 2.1.3 */ public function __construct( ResourceConnection $resource, @@ -56,7 +51,6 @@ public function __construct( * Delete all price values for non-admin stores if PRICE_SCOPE is global * * @return void - * @since 2.1.3 */ public function execute() { diff --git a/app/code/Magento/Catalog/Cron/FrontendActionsFlush.php b/app/code/Magento/Catalog/Cron/FrontendActionsFlush.php index a5586c7a53c51..6e7699abb4776 100644 --- a/app/code/Magento/Catalog/Cron/FrontendActionsFlush.php +++ b/app/code/Magento/Catalog/Cron/FrontendActionsFlush.php @@ -13,26 +13,22 @@ * Find deprecated frontend actions (@see \Magento\Catalog\Api\Data\ProductFrontendActionInterface) * Frontend actions deprecates by lifetime. * For each scope we have own lifetime. - * @since 2.2.0 */ class FrontendActionsFlush { /** * @var ProductFrontendAction - * @since 2.2.0 */ private $productFrontendActionResource; /** * @var FrontendStorageConfigurationPool - * @since 2.2.0 */ private $frontendStorageConfigurationPool; /** * @param ProductFrontendAction $productFrontendActionResource * @param FrontendStorageConfigurationPool $frontendStorageConfigurationPool - * @since 2.2.0 */ public function __construct( ProductFrontendAction $productFrontendActionResource, @@ -49,7 +45,6 @@ public function __construct( * * @param string $namespace * @return int - * @since 2.2.0 */ private function getLifeTimeByNamespace($namespace) { @@ -71,7 +66,6 @@ private function getLifeTimeByNamespace($namespace) * recently_viewed_product, recently_compared_product, etc... * * @return array - * @since 2.2.0 */ private function getUniqueNamespaces() { @@ -85,7 +79,6 @@ private function getUniqueNamespaces() /** * @inheritdoc - * @since 2.2.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Cron/RefreshSpecialPrices.php b/app/code/Magento/Catalog/Cron/RefreshSpecialPrices.php index 08c869282837c..f6e74d2f43775 100644 --- a/app/code/Magento/Catalog/Cron/RefreshSpecialPrices.php +++ b/app/code/Magento/Catalog/Cron/RefreshSpecialPrices.php @@ -53,7 +53,6 @@ class RefreshSpecialPrices /** * @var MetadataPool - * @since 2.1.0 */ private $metadataPool; @@ -180,8 +179,7 @@ protected function _refreshSpecialPriceByStore($storeId, $attrCode, $attrConditi * Get MetadataPool instance * @return MetadataPool * - * @deprecated 2.1.0 - * @since 2.1.0 + * @deprecated 101.0.0 */ private function getMetadataPool() { diff --git a/app/code/Magento/Catalog/Cron/SynchronizeWebsiteAttributes.php b/app/code/Magento/Catalog/Cron/SynchronizeWebsiteAttributes.php index 2dd416d600418..3e9f4164cb49c 100644 --- a/app/code/Magento/Catalog/Cron/SynchronizeWebsiteAttributes.php +++ b/app/code/Magento/Catalog/Cron/SynchronizeWebsiteAttributes.php @@ -11,20 +11,17 @@ /** * Class SynchronizeWebsiteAttributes * @package Magento\Catalog\Cron - * @since 2.2.0 */ class SynchronizeWebsiteAttributes { /** * @var WebsiteAttributesSynchronizer - * @since 2.2.0 */ private $synchronizer; /** * SynchronizeWebsiteAttributes constructor. * @param WebsiteAttributesSynchronizer $synchronizer - * @since 2.2.0 */ public function __construct(WebsiteAttributesSynchronizer $synchronizer) { @@ -34,7 +31,6 @@ public function __construct(WebsiteAttributesSynchronizer $synchronizer) /** * Synchronizes website attribute values if needed * @return void - * @since 2.2.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/CustomerData/ProductFrontendActionSection.php b/app/code/Magento/Catalog/CustomerData/ProductFrontendActionSection.php index 8bfea8e9c666a..461c34896089b 100644 --- a/app/code/Magento/Catalog/CustomerData/ProductFrontendActionSection.php +++ b/app/code/Magento/Catalog/CustomerData/ProductFrontendActionSection.php @@ -13,7 +13,6 @@ /** * Generates Product Frontend Action Section in Customer Data - * @since 2.2.0 */ class ProductFrontendActionSection implements SectionSourceInterface { @@ -21,25 +20,21 @@ class ProductFrontendActionSection implements SectionSourceInterface * Identification of Type of a Product Frontend Action * * @var string - * @since 2.2.0 */ private $typeId; /** * @var Synchronizer - * @since 2.2.0 */ private $synchronizer; /** * @var LoggerInterface - * @since 2.2.0 */ private $logger; /** * @var Config - * @since 2.2.0 */ private $appConfig; @@ -48,7 +43,6 @@ class ProductFrontendActionSection implements SectionSourceInterface * @param string $typeId Identification of Type of a Product Frontend Action * @param LoggerInterface $logger * @param Config $appConfig - * @since 2.2.0 */ public function __construct( Synchronizer $synchronizer, @@ -66,7 +60,6 @@ public function __construct( * Post Process collection data in order to eject all customer sensitive information * * {@inheritdoc} - * @since 2.2.0 */ public function getSectionData() { diff --git a/app/code/Magento/Catalog/CustomerData/ProductsRenderInfoSection.php b/app/code/Magento/Catalog/CustomerData/ProductsRenderInfoSection.php index 1a41ce89af7c5..3caae4424163d 100644 --- a/app/code/Magento/Catalog/CustomerData/ProductsRenderInfoSection.php +++ b/app/code/Magento/Catalog/CustomerData/ProductsRenderInfoSection.php @@ -18,43 +18,36 @@ /** * Section which provide information about products to customer data (private cache storage) - * @since 2.2.0 */ class ProductsRenderInfoSection implements SectionSourceInterface { /** * @var StoreManager - * @since 2.2.0 */ private $storeManager; /** * @var Hydrator - * @since 2.2.0 */ private $hydrator; /** * @var SearchCriteriaBuilder - * @since 2.2.0 */ private $searchCriteriaBuilder; /** * @var FilterBuilder - * @since 2.2.0 */ private $filterBuilder; /** * @var ProductRenderList - * @since 2.2.0 */ private $productRenderList; /** * @var Synchronizer - * @since 2.2.0 */ private $actionsSynchronizer; @@ -66,7 +59,6 @@ class ProductsRenderInfoSection implements SectionSourceInterface * @param ProductRenderList $productRenderList * @param Synchronizer $actionsSynchronizer * @param Hydrator $hydrator - * @since 2.2.0 */ public function __construct( StoreManager $storeManager, @@ -88,7 +80,6 @@ public function __construct( * Aggregate by actions (recently_viewed or recently_compared) desired product ids * * @return array - * @since 2.2.0 */ private function getProductIds() { @@ -106,7 +97,6 @@ private function getProductIds() /** * @inheritdoc - * @since 2.2.0 */ public function getSectionData() { diff --git a/app/code/Magento/Catalog/Helper/DefaultCategory.php b/app/code/Magento/Catalog/Helper/DefaultCategory.php index 902ff6e0ac844..3197f2d300575 100644 --- a/app/code/Magento/Catalog/Helper/DefaultCategory.php +++ b/app/code/Magento/Catalog/Helper/DefaultCategory.php @@ -8,7 +8,6 @@ /** * Default Category helper - * @since 2.1.0 */ class DefaultCategory { @@ -16,13 +15,11 @@ class DefaultCategory * Default Category ID * * @var int - * @since 2.1.0 */ private $defaultCategoryId = 2; /** * @return int - * @since 2.1.0 */ public function getId() { diff --git a/app/code/Magento/Catalog/Helper/Image.php b/app/code/Magento/Catalog/Helper/Image.php index 37ffc27ef92a0..7a3c7c68b4358 100644 --- a/app/code/Magento/Catalog/Helper/Image.php +++ b/app/code/Magento/Catalog/Helper/Image.php @@ -128,7 +128,6 @@ class Image extends AbstractHelper /** * @var \Magento\Catalog\Model\View\Asset\PlaceholderFactory - * @since 2.2.0 */ private $viewAssetPlaceholderFactory; @@ -445,7 +444,7 @@ public function placeholder($fileName) * @param null|string $placeholder * @return string * - * @deprecated 2.2.0 Returns only default placeholder. + * @deprecated 101.1.0 Returns only default placeholder. * Does not take into account custom placeholders set in Configuration. */ public function getPlaceholder($placeholder = null) diff --git a/app/code/Magento/Catalog/Helper/Product/Configuration.php b/app/code/Magento/Catalog/Helper/Product/Configuration.php index a88a27f1e7fbe..f732f9a4371cc 100644 --- a/app/code/Magento/Catalog/Helper/Product/Configuration.php +++ b/app/code/Magento/Catalog/Helper/Product/Configuration.php @@ -40,7 +40,6 @@ class Configuration extends AbstractHelper implements ConfigurationInterface /** * @var Json - * @since 2.2.0 */ private $serializer; diff --git a/app/code/Magento/Catalog/Model/AbstractModel.php b/app/code/Magento/Catalog/Model/AbstractModel.php index 252073024820f..3a75b91e9440d 100644 --- a/app/code/Magento/Catalog/Model/AbstractModel.php +++ b/app/code/Magento/Catalog/Model/AbstractModel.php @@ -62,7 +62,6 @@ abstract class AbstractModel extends \Magento\Framework\Model\AbstractExtensible /** * @var \Magento\Catalog\Model\Attribute\ScopeOverriddenValue - * @since 2.1.0 */ private $scopeOverriddenValue; @@ -285,7 +284,7 @@ public function getWebsiteStoreIds() * @param mixed $value * @return $this * - * @deprecated 2.1.0 + * @deprecated 101.0.0 */ public function setAttributeDefaultValue($attributeCode, $value) { @@ -298,8 +297,7 @@ public function setAttributeDefaultValue($attributeCode, $value) * * @return \Magento\Catalog\Model\Attribute\ScopeOverriddenValue * - * @deprecated 2.1.0 - * @since 2.1.0 + * @deprecated 101.0.0 */ private function getAttributeScopeOverriddenValue() { @@ -316,7 +314,7 @@ private function getAttributeScopeOverriddenValue() * @param string $attributeCode * @return array|boolean * - * @deprecated 2.1.0 + * @deprecated 101.0.0 */ public function getAttributeDefaultValue($attributeCode) { @@ -338,7 +336,7 @@ public function getAttributeDefaultValue($attributeCode) * @param string $attributeCode * @return $this * - * @deprecated 2.1.0 + * @deprecated 101.0.0 */ public function setExistsStoreValueFlag($attributeCode) { @@ -353,7 +351,7 @@ public function setExistsStoreValueFlag($attributeCode) * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) * - * @deprecated 2.1.0 + * @deprecated 101.0.0 */ public function getExistsStoreValueFlag($attributeCode) { diff --git a/app/code/Magento/Catalog/Model/Api/SearchCriteria/CollectionProcessor/FilterProcessor/ProductCategoryFilter.php b/app/code/Magento/Catalog/Model/Api/SearchCriteria/CollectionProcessor/FilterProcessor/ProductCategoryFilter.php index 9e69a20eeaddf..606e6590d734d 100644 --- a/app/code/Magento/Catalog/Model/Api/SearchCriteria/CollectionProcessor/FilterProcessor/ProductCategoryFilter.php +++ b/app/code/Magento/Catalog/Model/Api/SearchCriteria/CollectionProcessor/FilterProcessor/ProductCategoryFilter.php @@ -13,7 +13,6 @@ /** * Class \Magento\Catalog\Model\Api\SearchCriteria\CollectionProcessor\FilterProcessor\ProductCategoryFilter * - * @since 2.2.0 */ class ProductCategoryFilter implements CustomFilterInterface { @@ -23,7 +22,6 @@ class ProductCategoryFilter implements CustomFilterInterface * @param Filter $filter * @param AbstractDb $collection * @return bool Whether the filter is applied - * @since 2.2.0 */ public function apply(Filter $filter, AbstractDb $collection) { diff --git a/app/code/Magento/Catalog/Model/Api/SearchCriteria/CollectionProcessor/FilterProcessor/ProductStoreFilter.php b/app/code/Magento/Catalog/Model/Api/SearchCriteria/CollectionProcessor/FilterProcessor/ProductStoreFilter.php index afc104d5a3a00..bedcfbd9402bb 100644 --- a/app/code/Magento/Catalog/Model/Api/SearchCriteria/CollectionProcessor/FilterProcessor/ProductStoreFilter.php +++ b/app/code/Magento/Catalog/Model/Api/SearchCriteria/CollectionProcessor/FilterProcessor/ProductStoreFilter.php @@ -13,7 +13,6 @@ /** * Class \Magento\Catalog\Model\Api\SearchCriteria\CollectionProcessor\FilterProcessor\ProductStoreFilter * - * @since 2.2.0 */ class ProductStoreFilter implements CustomFilterInterface { @@ -23,7 +22,6 @@ class ProductStoreFilter implements CustomFilterInterface * @param Filter $filter * @param AbstractDb $collection * @return bool Whether the filter is applied - * @since 2.2.0 */ public function apply(Filter $filter, AbstractDb $collection) { diff --git a/app/code/Magento/Catalog/Model/Api/SearchCriteria/CollectionProcessor/FilterProcessor/ProductWebsiteFilter.php b/app/code/Magento/Catalog/Model/Api/SearchCriteria/CollectionProcessor/FilterProcessor/ProductWebsiteFilter.php index 6ea8a9d4f14e7..d2a4c8c087ab9 100644 --- a/app/code/Magento/Catalog/Model/Api/SearchCriteria/CollectionProcessor/FilterProcessor/ProductWebsiteFilter.php +++ b/app/code/Magento/Catalog/Model/Api/SearchCriteria/CollectionProcessor/FilterProcessor/ProductWebsiteFilter.php @@ -13,7 +13,6 @@ /** * Class \Magento\Catalog\Model\Api\SearchCriteria\CollectionProcessor\FilterProcessor\ProductWebsiteFilter * - * @since 2.2.0 */ class ProductWebsiteFilter implements CustomFilterInterface { @@ -23,7 +22,6 @@ class ProductWebsiteFilter implements CustomFilterInterface * @param Filter $filter * @param AbstractDb $collection * @return bool Whether the filter is applied - * @since 2.2.0 */ public function apply(Filter $filter, AbstractDb $collection) { diff --git a/app/code/Magento/Catalog/Model/Attribute/ScopeOverriddenValue.php b/app/code/Magento/Catalog/Model/Attribute/ScopeOverriddenValue.php index de9605892a106..0940ca7a234a3 100644 --- a/app/code/Magento/Catalog/Model/Attribute/ScopeOverriddenValue.php +++ b/app/code/Magento/Catalog/Model/Attribute/ScopeOverriddenValue.php @@ -17,37 +17,31 @@ /** * Class ScopeOverriddenValue * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.1.0 */ class ScopeOverriddenValue { /** * @var AttributeRepository - * @since 2.1.0 */ private $attributeRepository; /** * @var MetadataPool - * @since 2.1.0 */ private $metadataPool; /** * @var SearchCriteriaBuilder - * @since 2.1.0 */ private $searchCriteriaBuilder; /** * @var array - * @since 2.1.0 */ private $attributesValues; /** * @var ResourceConnection - * @since 2.1.0 */ private $resourceConnection; @@ -58,7 +52,6 @@ class ScopeOverriddenValue * @param SearchCriteriaBuilder $searchCriteriaBuilder * @param FilterBuilder $filterBuilder * @param ResourceConnection $resourceConnection - * @since 2.1.0 */ public function __construct( AttributeRepository $attributeRepository, @@ -82,7 +75,6 @@ public function __construct( * @param string $attributeCode * @param int|string $storeId * @return bool - * @since 2.1.0 */ public function containsValue($entityType, $entity, $attributeCode, $storeId) { @@ -104,8 +96,7 @@ public function containsValue($entityType, $entity, $attributeCode, $storeId) * @param \Magento\Catalog\Model\AbstractModel $entity * @return array * - * @deprecated 2.1.0 - * @since 2.1.0 + * @deprecated 101.0.0 */ public function getDefaultValues($entityType, $entity) { @@ -124,7 +115,6 @@ public function getDefaultValues($entityType, $entity) * @param int $storeId * @throws \Magento\Framework\Exception\LocalizedException * @return void - * @since 2.1.0 */ private function initAttributeValues($entityType, $entity, $storeId) { @@ -170,7 +160,6 @@ private function initAttributeValues($entityType, $entity, $storeId) /** * @param string $entityType * @return \Magento\Eav\Api\Data\AttributeInterface[] - * @since 2.1.0 */ private function getAttributes($entityType) { diff --git a/app/code/Magento/Catalog/Model/Category.php b/app/code/Magento/Catalog/Model/Category.php index a5349b59bdee9..0af9e0176c1bc 100644 --- a/app/code/Magento/Catalog/Model/Category.php +++ b/app/code/Magento/Catalog/Model/Category.php @@ -113,7 +113,7 @@ class Category extends \Magento\Catalog\Model\AbstractModel implements * URL rewrite model * * @var \Magento\UrlRewrite\Model\UrlRewrite - * @deprecated 2.2.0 since 2.2.0 + * @deprecated 101.1.0 */ protected $_urlRewrite; diff --git a/app/code/Magento/Catalog/Model/Category/Attribute.php b/app/code/Magento/Catalog/Model/Category/Attribute.php index e950bf0ad1377..968db224c01f5 100644 --- a/app/code/Magento/Catalog/Model/Category/Attribute.php +++ b/app/code/Magento/Catalog/Model/Category/Attribute.php @@ -364,7 +364,6 @@ public function setScope($scope) /** * @inheritdoc - * @since 2.2.0 */ public function setIsUsedInGrid($isUsedInGrid) { @@ -374,7 +373,6 @@ public function setIsUsedInGrid($isUsedInGrid) /** * @inheritdoc - * @since 2.2.0 */ public function setIsVisibleInGrid($isVisibleInGrid) { @@ -384,7 +382,6 @@ public function setIsVisibleInGrid($isVisibleInGrid) /** * @inheritdoc - * @since 2.2.0 */ public function setIsFilterableInGrid($isFilterableInGrid) { diff --git a/app/code/Magento/Catalog/Model/Category/Attribute/Backend/Image.php b/app/code/Magento/Catalog/Model/Category/Attribute/Backend/Image.php index 80fe54c09685e..cafc31c74c5bb 100644 --- a/app/code/Magento/Catalog/Model/Category/Attribute/Backend/Image.php +++ b/app/code/Magento/Catalog/Model/Category/Attribute/Backend/Image.php @@ -15,40 +15,38 @@ class Image extends \Magento\Eav\Model\Entity\Attribute\Backend\AbstractBackend /** * @var \Magento\MediaStorage\Model\File\UploaderFactory * - * @deprecated 2.1.0 + * @deprecated 101.0.0 */ protected $_uploaderFactory; /** * @var \Magento\Framework\Filesystem * - * @deprecated 2.1.0 + * @deprecated 101.0.0 */ protected $_filesystem; /** * @var \Magento\MediaStorage\Model\File\UploaderFactory * - * @deprecated 2.1.0 + * @deprecated 101.0.0 */ protected $_fileUploaderFactory; /** * @var \Psr\Log\LoggerInterface * - * @deprecated 2.1.0 + * @deprecated 101.0.0 */ protected $_logger; /** * @var \Magento\Catalog\Model\ImageUploader - * @since 2.1.0 */ private $imageUploader; /** * @var string - * @since 2.2.0 */ private $additionalData = '_additional_data_'; @@ -73,7 +71,6 @@ public function __construct( * * @param array $value Attribute value * @return string - * @since 2.2.0 */ private function getUploadedImageName($value) { @@ -90,7 +87,7 @@ private function getUploadedImageName($value) * * @param \Magento\Framework\DataObject $object * @return $this - * @since 2.2.0 + * @since 101.1.0 */ public function beforeSave($object) { @@ -110,8 +107,7 @@ public function beforeSave($object) /** * @return \Magento\Catalog\Model\ImageUploader * - * @deprecated 2.1.0 - * @since 2.1.0 + * @deprecated 101.0.0 */ private function getImageUploader() { @@ -128,7 +124,6 @@ private function getImageUploader() * * @param array $value * @return bool - * @since 2.2.0 */ private function isTmpFileAvailable($value) { diff --git a/app/code/Magento/Catalog/Model/Category/DataProvider.php b/app/code/Magento/Catalog/Model/Category/DataProvider.php index a5342a3088a08..7115a8d4f4c0f 100644 --- a/app/code/Magento/Catalog/Model/Category/DataProvider.php +++ b/app/code/Magento/Catalog/Model/Category/DataProvider.php @@ -31,26 +31,26 @@ * @api * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.1.0 + * @since 101.0.0 */ class DataProvider extends \Magento\Ui\DataProvider\AbstractDataProvider { /** * @var string - * @since 2.1.0 + * @since 101.0.0 */ protected $requestScopeFieldName = 'store'; /** * @var array - * @since 2.1.0 + * @since 101.0.0 */ protected $loadedData; /** * EAV attribute properties to fetch from meta storage * @var array - * @since 2.1.0 + * @since 101.0.0 */ protected $metaProperties = [ 'dataType' => 'frontend_input', @@ -67,7 +67,7 @@ class DataProvider extends \Magento\Ui\DataProvider\AbstractDataProvider * Form element mapping * * @var array - * @since 2.1.0 + * @since 101.0.0 */ protected $formElement = [ 'text' => 'input', @@ -78,7 +78,7 @@ class DataProvider extends \Magento\Ui\DataProvider\AbstractDataProvider * Elements with use config setting * * @var array - * @since 2.1.0 + * @since 101.0.0 */ protected $elementsWithUseConfigSetting = [ 'available_sort_by', @@ -90,7 +90,7 @@ class DataProvider extends \Magento\Ui\DataProvider\AbstractDataProvider * List of fields that should not be added into the form * * @var array - * @since 2.1.0 + * @since 101.0.0 */ protected $ignoreFields = [ 'products_position', @@ -99,55 +99,49 @@ class DataProvider extends \Magento\Ui\DataProvider\AbstractDataProvider /** * @var EavValidationRules - * @since 2.1.0 + * @since 101.0.0 */ protected $eavValidationRules; /** * @var \Magento\Framework\Registry - * @since 2.1.0 + * @since 101.0.0 */ protected $registry; /** * @var \Magento\Framework\App\RequestInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $request; /** * @var Config - * @since 2.1.0 */ private $eavConfig; /** * @var StoreManagerInterface - * @since 2.1.0 */ private $storeManager; /** * @var CategoryFactory - * @since 2.1.0 */ private $categoryFactory; /** * @var ScopeOverriddenValue - * @since 2.2.0 */ private $scopeOverriddenValue; /** * @var ArrayManager - * @since 2.2.0 */ private $arrayManager; /** * @var Filesystem - * @since 2.2.0 */ private $fileInfo; @@ -167,7 +161,7 @@ class DataProvider extends \Magento\Ui\DataProvider\AbstractDataProvider * @param array $meta * @param array $data * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.1.0 + * @since 101.0.0 */ public function __construct( $name, @@ -197,7 +191,7 @@ public function __construct( /** * @inheritdoc - * @since 2.2.0 + * @since 101.1.0 */ public function getMeta() { @@ -217,7 +211,6 @@ public function getMeta() * @param Category $category * @param array $meta * @return array - * @since 2.2.0 */ private function addUseDefaultValueCheckbox(Category $category, array $meta) { @@ -261,7 +254,7 @@ private function addUseDefaultValueCheckbox(Category $category, array $meta) * * @param array $meta * @return array - * @since 2.1.0 + * @since 101.0.0 */ public function prepareMeta($meta) { @@ -279,7 +272,6 @@ public function prepareMeta($meta) * @param array $fieldsMap * @param array $fieldsMeta * @return array - * @since 2.1.0 */ private function prepareFieldsMeta($fieldsMap, $fieldsMeta) { @@ -298,7 +290,7 @@ private function prepareFieldsMeta($fieldsMap, $fieldsMeta) * Get data * * @return array - * @since 2.1.0 + * @since 101.0.0 */ public function getData() { @@ -325,7 +317,7 @@ public function getData() * @throws \Magento\Framework\Exception\LocalizedException * @SuppressWarnings(PHPMD.NPathComplexity) * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.1.0 + * @since 101.0.0 */ public function getAttributesMeta(Type $entityType) { @@ -373,7 +365,7 @@ public function getAttributesMeta(Type $entityType) * * @param array $categoryData * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function addUseConfigSettings($categoryData) { @@ -397,8 +389,8 @@ protected function addUseConfigSettings($categoryData) * @param \Magento\Catalog\Model\Category $category * @param array $categoryData * @return array - * @deprecated 2.2.0 - * @since 2.1.0 + * @deprecated 101.1.0 + * @since 101.0.0 */ protected function addUseDefaultSettings($category, $categoryData) { @@ -418,7 +410,7 @@ protected function addUseDefaultSettings($category, $categoryData) * * @return Category * @throws NoSuchEntityException - * @since 2.1.0 + * @since 101.0.0 */ public function getCurrentCategory() { @@ -446,7 +438,7 @@ public function getCurrentCategory() * * @param EavAttribute $attribute * @return string - * @since 2.1.0 + * @since 101.0.0 */ public function getScopeLabel(EavAttribute $attribute) { @@ -472,7 +464,7 @@ public function getScopeLabel(EavAttribute $attribute) * * @param array $categoryData * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function filterFields($categoryData) { @@ -485,7 +477,6 @@ protected function filterFields($categoryData) * @param \Magento\Catalog\Model\Category $category * @param array $categoryData * @return array - * @since 2.2.0 */ private function convertValues($category, $categoryData) { @@ -518,7 +509,7 @@ private function convertValues($category, $categoryData) * * @param array $result * @return array - * @since 2.1.0 + * @since 101.0.0 */ public function getDefaultMetaData($result) { @@ -532,7 +523,7 @@ public function getDefaultMetaData($result) /** * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function getFieldsMap() { @@ -591,8 +582,7 @@ protected function getFieldsMap() * Retrieve scope overridden value * * @return ScopeOverriddenValue - * @deprecated 2.2.0 - * @since 2.2.0 + * @deprecated 101.1.0 */ private function getScopeOverriddenValue() { @@ -609,8 +599,7 @@ private function getScopeOverriddenValue() * Retrieve array manager * * @return ArrayManager - * @deprecated 2.2.0 - * @since 2.2.0 + * @deprecated 101.1.0 */ private function getArrayManager() { @@ -628,8 +617,7 @@ private function getArrayManager() * * @return FileInfo * - * @deprecated 2.2.0 - * @since 2.2.0 + * @deprecated 101.1.0 */ private function getFileInfo() { diff --git a/app/code/Magento/Catalog/Model/Category/FileInfo.php b/app/code/Magento/Catalog/Model/Category/FileInfo.php index 236f8c5ad7c48..b26036ff9832c 100644 --- a/app/code/Magento/Catalog/Model/Category/FileInfo.php +++ b/app/code/Magento/Catalog/Model/Category/FileInfo.php @@ -14,7 +14,6 @@ * Class FileInfo * * Provides information about requested file - * @since 2.2.0 */ class FileInfo { @@ -25,26 +24,22 @@ class FileInfo /** * @var Filesystem - * @since 2.2.0 */ private $filesystem; /** * @var Mime - * @since 2.2.0 */ private $mime; /** * @var WriteInterface - * @since 2.2.0 */ private $mediaDirectory; /** * @param Filesystem $filesystem * @param Mime $mime - * @since 2.2.0 */ public function __construct( Filesystem $filesystem, @@ -58,7 +53,6 @@ public function __construct( * Get WriteInterface instance * * @return WriteInterface - * @since 2.2.0 */ private function getMediaDirectory() { @@ -73,7 +67,6 @@ private function getMediaDirectory() * * @param string $fileName * @return string - * @since 2.2.0 */ public function getMimeType($fileName) { @@ -89,7 +82,6 @@ public function getMimeType($fileName) * * @param string $fileName * @return array - * @since 2.2.0 */ public function getStat($fileName) { @@ -104,7 +96,6 @@ public function getStat($fileName) * * @param string $fileName * @return bool - * @since 2.2.0 */ public function isExist($fileName) { diff --git a/app/code/Magento/Catalog/Model/Category/Link/ReadHandler.php b/app/code/Magento/Catalog/Model/Category/Link/ReadHandler.php index f4520e65f9ebb..53932c8b7bfe7 100644 --- a/app/code/Magento/Catalog/Model/Category/Link/ReadHandler.php +++ b/app/code/Magento/Catalog/Model/Category/Link/ReadHandler.php @@ -9,25 +9,21 @@ /** * Read handler for catalog product link. - * @since 2.2.0 */ class ReadHandler implements ExtensionInterface { /** * @var \Magento\Catalog\Api\Data\CategoryLinkInterfaceFactory - * @since 2.2.0 */ private $categoryLinkFactory; /** * @var \Magento\Catalog\Model\ResourceModel\Product\CategoryLink - * @since 2.2.0 */ private $productCategoryLink; /** * @var \Magento\Framework\Api\DataObjectHelper - * @since 2.2.0 */ private $dataObjectHelper; @@ -37,7 +33,6 @@ class ReadHandler implements ExtensionInterface * @param \Magento\Catalog\Api\Data\CategoryLinkInterfaceFactory $categoryLinkFactory * @param \Magento\Framework\Api\DataObjectHelper $dataObjectHelper * @param \Magento\Catalog\Model\ResourceModel\Product\CategoryLink $productCategoryLink - * @since 2.2.0 */ public function __construct( \Magento\Catalog\Api\Data\CategoryLinkInterfaceFactory $categoryLinkFactory, @@ -54,7 +49,6 @@ public function __construct( * @param array $arguments * @return object * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.2.0 */ public function execute($entity, $arguments = []) { diff --git a/app/code/Magento/Catalog/Model/Category/Link/SaveHandler.php b/app/code/Magento/Catalog/Model/Category/Link/SaveHandler.php index 2643dd77bd2b1..29a1ef60a43de 100644 --- a/app/code/Magento/Catalog/Model/Category/Link/SaveHandler.php +++ b/app/code/Magento/Catalog/Model/Category/Link/SaveHandler.php @@ -11,20 +11,17 @@ /** * Save handler for catalog product link. - * @since 2.2.0 */ class SaveHandler implements ExtensionInterface { /** * @var \Magento\Catalog\Model\ResourceModel\Product\CategoryLink - * @since 2.2.0 */ private $productCategoryLink; /** * @var \Magento\Framework\EntityManager\HydratorPool - * @since 2.2.0 */ private $hydratorPool; @@ -33,7 +30,6 @@ class SaveHandler implements ExtensionInterface * * @param \Magento\Catalog\Model\ResourceModel\Product\CategoryLink $productCategoryLink * @param \Magento\Framework\EntityManager\HydratorPool $hydratorPool - * @since 2.2.0 */ public function __construct( \Magento\Catalog\Model\ResourceModel\Product\CategoryLink $productCategoryLink, @@ -48,7 +44,6 @@ public function __construct( * @param array $arguments * @return object * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.2.0 */ public function execute($entity, $arguments = []) { @@ -85,7 +80,6 @@ public function execute($entity, $arguments = []) /** * @param object $entity * @return array - * @since 2.2.0 */ private function getCategoryLinksPositions($entity) { @@ -109,7 +103,6 @@ private function getCategoryLinksPositions($entity) * @param array $newCategoryPositions * @param array $oldCategoryPositions * @return array - * @since 2.2.0 */ private function mergeCategoryLinks($newCategoryPositions, $oldCategoryPositions) { diff --git a/app/code/Magento/Catalog/Model/CategoryLink.php b/app/code/Magento/Catalog/Model/CategoryLink.php index 5c7342a7f2a95..fe640a72d0b6d 100644 --- a/app/code/Magento/Catalog/Model/CategoryLink.php +++ b/app/code/Magento/Catalog/Model/CategoryLink.php @@ -8,7 +8,6 @@ /** * @codeCoverageIgnore - * @since 2.2.0 */ class CategoryLink extends \Magento\Framework\Api\AbstractExtensibleObject implements \Magento\Catalog\Api\Data\CategoryLinkInterface @@ -22,7 +21,6 @@ class CategoryLink extends \Magento\Framework\Api\AbstractExtensibleObject imple /** * {@inheritdoc} - * @since 2.2.0 */ public function getPosition() { @@ -31,7 +29,6 @@ public function getPosition() /** * {@inheritdoc} - * @since 2.2.0 */ public function getCategoryId() { @@ -41,7 +38,6 @@ public function getCategoryId() /** * @param int $position * @return $this - * @since 2.2.0 */ public function setPosition($position) { @@ -53,7 +49,6 @@ public function setPosition($position) * * @param string $categoryId * @return $this - * @since 2.2.0 */ public function setCategoryId($categoryId) { @@ -64,7 +59,6 @@ public function setCategoryId($categoryId) * {@inheritdoc} * * @return \Magento\Catalog\Api\Data\CategoryLinkExtensionInterface|null - * @since 2.2.0 */ public function getExtensionAttributes() { @@ -76,7 +70,6 @@ public function getExtensionAttributes() * * @param \Magento\Catalog\Api\Data\CategoryLinkExtensionInterface $extensionAttributes * @return $this - * @since 2.2.0 */ public function setExtensionAttributes( \Magento\Catalog\Api\Data\CategoryLinkExtensionInterface $extensionAttributes diff --git a/app/code/Magento/Catalog/Model/CategoryLinkManagement.php b/app/code/Magento/Catalog/Model/CategoryLinkManagement.php index cbb0a1b475462..8966848a6d036 100644 --- a/app/code/Magento/Catalog/Model/CategoryLinkManagement.php +++ b/app/code/Magento/Catalog/Model/CategoryLinkManagement.php @@ -18,19 +18,16 @@ class CategoryLinkManagement implements \Magento\Catalog\Api\CategoryLinkManagem /** * @var \Magento\Catalog\Api\ProductRepositoryInterface - * @since 2.1.0 */ protected $productRepository; /** * @var ResourceModel\Product - * @since 2.1.0 */ protected $productResource; /** * @var \Magento\Catalog\Api\CategoryLinkRepositoryInterface - * @since 2.1.0 */ protected $categoryLinkRepository; @@ -41,7 +38,6 @@ class CategoryLinkManagement implements \Magento\Catalog\Api\CategoryLinkManagem /** * @var \Magento\Framework\Indexer\IndexerRegistry - * @since 2.1.0 */ protected $indexerRegistry; @@ -91,7 +87,6 @@ public function getAssignedProducts($categoryId) * @param string $productSku * @param \int[] $categoryIds * @return bool - * @since 2.1.0 */ public function assignProductToCategories($productSku, array $categoryIds) { @@ -120,7 +115,6 @@ public function assignProductToCategories($productSku, array $categoryIds) * Retrieve product repository instance * * @return \Magento\Catalog\Api\ProductRepositoryInterface - * @since 2.1.0 */ private function getProductRepository() { @@ -135,7 +129,6 @@ private function getProductRepository() * Retrieve product resource instance * * @return ResourceModel\Product - * @since 2.1.0 */ private function getProductResource() { @@ -150,7 +143,6 @@ private function getProductResource() * Retrieve category link repository instance * * @return \Magento\Catalog\Api\CategoryLinkRepositoryInterface - * @since 2.1.0 */ private function getCategoryLinkRepository() { @@ -165,7 +157,6 @@ private function getCategoryLinkRepository() * Retrieve indexer registry instance * * @return \Magento\Framework\Indexer\IndexerRegistry - * @since 2.1.0 */ private function getIndexerRegistry() { diff --git a/app/code/Magento/Catalog/Model/CategoryList.php b/app/code/Magento/Catalog/Model/CategoryList.php index faced0852408a..401aa615d6bcd 100644 --- a/app/code/Magento/Catalog/Model/CategoryList.php +++ b/app/code/Magento/Catalog/Model/CategoryList.php @@ -18,37 +18,31 @@ /** * Class \Magento\Catalog\Model\CategoryList * - * @since 2.2.0 */ class CategoryList implements CategoryListInterface { /** * @var CollectionFactory - * @since 2.2.0 */ private $categoryCollectionFactory; /** * @var JoinProcessorInterface - * @since 2.2.0 */ private $extensionAttributesJoinProcessor; /** * @var CategorySearchResultsInterfaceFactory - * @since 2.2.0 */ private $categorySearchResultsFactory; /** * @var CategoryRepositoryInterface - * @since 2.2.0 */ private $categoryRepository; /** * @var CollectionProcessorInterface - * @since 2.2.0 */ private $collectionProcessor; @@ -58,7 +52,6 @@ class CategoryList implements CategoryListInterface * @param CategorySearchResultsInterfaceFactory $categorySearchResultsFactory * @param CategoryRepositoryInterface $categoryRepository * @param CollectionProcessorInterface $collectionProcessor - * @since 2.2.0 */ public function __construct( CollectionFactory $categoryCollectionFactory, @@ -76,7 +69,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.2.0 */ public function getList(SearchCriteriaInterface $searchCriteria) { @@ -102,9 +94,8 @@ public function getList(SearchCriteriaInterface $searchCriteria) /** * Retrieve collection processor * - * @deprecated 2.2.0 + * @deprecated 101.1.0 * @return CollectionProcessorInterface - * @since 2.2.0 */ private function getCollectionProcessor() { diff --git a/app/code/Magento/Catalog/Model/CategoryManagement.php b/app/code/Magento/Catalog/Model/CategoryManagement.php index 9c815cdfa94bb..2e8a9d9e5b6fe 100644 --- a/app/code/Magento/Catalog/Model/CategoryManagement.php +++ b/app/code/Magento/Catalog/Model/CategoryManagement.php @@ -27,13 +27,11 @@ class CategoryManagement implements \Magento\Catalog\Api\CategoryManagementInter /** * @var \Magento\Framework\App\ScopeResolverInterface - * @since 2.1.0 */ private $scopeResolver; /** * @var \Magento\Catalog\Model\ResourceModel\Category\CollectionFactory - * @since 2.1.0 */ private $categoriesFactory; @@ -72,7 +70,6 @@ public function getTree($rootCategoryId = null, $depth = null) * Check is request use default scope * * @return bool - * @since 2.1.0 */ private function isAdminStore() { @@ -83,7 +80,6 @@ private function isAdminStore() * Get store manager for operations with admin code * * @return \Magento\Framework\App\ScopeResolverInterface - * @since 2.1.0 */ private function getScopeResolver() { @@ -99,7 +95,6 @@ private function getScopeResolver() * Get top level hidden root category * * @return \Magento\Catalog\Model\Category - * @since 2.1.0 */ private function getTopLevelCategory() { diff --git a/app/code/Magento/Catalog/Model/CategoryRepository.php b/app/code/Magento/Catalog/Model/CategoryRepository.php index 9891026165712..505c729ac1001 100644 --- a/app/code/Magento/Catalog/Model/CategoryRepository.php +++ b/app/code/Magento/Catalog/Model/CategoryRepository.php @@ -39,13 +39,11 @@ class CategoryRepository implements \Magento\Catalog\Api\CategoryRepositoryInter /** * @var \Magento\Framework\EntityManager\MetadataPool - * @since 2.1.0 */ protected $metadataPool; /** * @var \Magento\Framework\Api\ExtensibleDataObjectConverter - * @since 2.1.0 */ private $extensibleDataObjectConverter; @@ -212,8 +210,7 @@ protected function validateCategory(Category $category) /** * @return \Magento\Framework\Api\ExtensibleDataObjectConverter * - * @deprecated 2.1.0 - * @since 2.1.0 + * @deprecated 101.0.0 */ private function getExtensibleDataObjectConverter() { @@ -226,7 +223,6 @@ private function getExtensibleDataObjectConverter() /** * @return \Magento\Framework\EntityManager\MetadataPool - * @since 2.1.0 */ private function getMetadataPool() { diff --git a/app/code/Magento/Catalog/Model/Config/Source/Product/Options/TierPrice.php b/app/code/Magento/Catalog/Model/Config/Source/Product/Options/TierPrice.php index 2fc2de98e4eeb..40ace39acd650 100644 --- a/app/code/Magento/Catalog/Model/Config/Source/Product/Options/TierPrice.php +++ b/app/code/Magento/Catalog/Model/Config/Source/Product/Options/TierPrice.php @@ -9,7 +9,6 @@ /** * TierPrice types mode source. - * @since 2.2.0 */ class TierPrice implements ProductPriceOptionsInterface { @@ -17,7 +16,6 @@ class TierPrice implements ProductPriceOptionsInterface * {@inheritdoc} * * @codeCoverageIgnore - * @since 2.2.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Catalog/Model/Config/Source/ProductPriceOptionsInterface.php b/app/code/Magento/Catalog/Model/Config/Source/ProductPriceOptionsInterface.php index d8e49db2d391f..1d31b8e1f7cee 100644 --- a/app/code/Magento/Catalog/Model/Config/Source/ProductPriceOptionsInterface.php +++ b/app/code/Magento/Catalog/Model/Config/Source/ProductPriceOptionsInterface.php @@ -9,7 +9,6 @@ /** * Interface ProductPriceOptionsInterface - * @since 2.2.0 */ interface ProductPriceOptionsInterface extends OptionSourceInterface { diff --git a/app/code/Magento/Catalog/Model/CustomOptions/CustomOptionProcessor.php b/app/code/Magento/Catalog/Model/CustomOptions/CustomOptionProcessor.php index 8364db4645aeb..dba7194ba3142 100644 --- a/app/code/Magento/Catalog/Model/CustomOptions/CustomOptionProcessor.php +++ b/app/code/Magento/Catalog/Model/CustomOptions/CustomOptionProcessor.php @@ -39,7 +39,6 @@ class CustomOptionProcessor implements CartItemProcessorInterface /** * @var \Magento\Catalog\Model\Product\Option\UrlBuilder - * @since 2.1.0 */ private $urlBuilder; @@ -47,7 +46,6 @@ class CustomOptionProcessor implements CartItemProcessorInterface * Serializer interface instance. * * @var \Magento\Framework\Serialize\Serializer\Json - * @since 2.2.0 */ private $serializer; @@ -160,7 +158,6 @@ protected function updateOptionsValues(array &$options) * * @param array $optionValue * @return array - * @since 2.1.0 */ private function processFileOptionValue(array $optionValue) { @@ -181,7 +178,6 @@ private function processFileOptionValue(array $optionValue) * * @param array $optionValue * @return array - * @since 2.2.0 */ private function processDateOptionValue(array $optionValue) { @@ -198,8 +194,7 @@ private function processDateOptionValue(array $optionValue) /** * @return \Magento\Catalog\Model\Product\Option\UrlBuilder * - * @deprecated 2.1.0 - * @since 2.1.0 + * @deprecated 101.0.0 */ private function getUrlBuilder() { diff --git a/app/code/Magento/Catalog/Model/EntityInterface.php b/app/code/Magento/Catalog/Model/EntityInterface.php index adb9aa9b9b2b9..f377719d4e116 100644 --- a/app/code/Magento/Catalog/Model/EntityInterface.php +++ b/app/code/Magento/Catalog/Model/EntityInterface.php @@ -8,13 +8,11 @@ /** * Interface EntityInterface - * @since 2.1.0 */ interface EntityInterface { /** * @return string - * @since 2.1.0 */ public function getEntityId(); } diff --git a/app/code/Magento/Catalog/Model/FrontendStorageConfigurationInterface.php b/app/code/Magento/Catalog/Model/FrontendStorageConfigurationInterface.php index 987072e5b5ee2..14fa9e8935535 100644 --- a/app/code/Magento/Catalog/Model/FrontendStorageConfigurationInterface.php +++ b/app/code/Magento/Catalog/Model/FrontendStorageConfigurationInterface.php @@ -9,7 +9,7 @@ /** * @api * Storage, which provide information for frontend storages, as priduct-storage, ids-storag - * @since 2.2.0 + * @since 101.1.0 */ interface FrontendStorageConfigurationInterface { @@ -23,7 +23,7 @@ interface FrontendStorageConfigurationInterface * Prepare dynamic data which will be used in Storage Configuration (e.g. data from App/Config) * * @return array - * @since 2.2.0 + * @since 101.1.0 */ public function get(); } diff --git a/app/code/Magento/Catalog/Model/FrontendStorageConfigurationPool.php b/app/code/Magento/Catalog/Model/FrontendStorageConfigurationPool.php index 8b39be5ed2d39..55f040fdac7f1 100644 --- a/app/code/Magento/Catalog/Model/FrontendStorageConfigurationPool.php +++ b/app/code/Magento/Catalog/Model/FrontendStorageConfigurationPool.php @@ -14,20 +14,17 @@ * Each configuration object should have \Magento\Catalog\Model\FrontendStorageConfigurationInterface interface * Each configuration object provide only dynamic settings. For example, from Stores Configurations * All configurations will be used in front - * @since 2.2.0 */ class FrontendStorageConfigurationPool { /** * @var array - * @since 2.2.0 */ private $storageConfigurations; /** * StorageConfigurationPool constructor. * @param array $storageConfigurations - * @since 2.2.0 */ public function __construct(array $storageConfigurations = []) { @@ -40,7 +37,6 @@ public function __construct(array $storageConfigurations = []) * @param string $namespace * @return FrontendStorageConfigurationInterface | bool * @throws LocalizedException - * @since 2.2.0 */ public function get($namespace) { diff --git a/app/code/Magento/Catalog/Model/ImageExtractor.php b/app/code/Magento/Catalog/Model/ImageExtractor.php index 8df0155753ac4..be39726fd67ea 100644 --- a/app/code/Magento/Catalog/Model/ImageExtractor.php +++ b/app/code/Magento/Catalog/Model/ImageExtractor.php @@ -52,7 +52,6 @@ public function process(\DOMElement $mediaNode, $mediaParentTag) * * @param string $backgroundString * @return int[] - * @since 2.1.0 */ private function processImageBackground($backgroundString) { diff --git a/app/code/Magento/Catalog/Model/ImageUploader.php b/app/code/Magento/Catalog/Model/ImageUploader.php index 3a55e0c5f67dc..ad8fb4ecde0b1 100644 --- a/app/code/Magento/Catalog/Model/ImageUploader.php +++ b/app/code/Magento/Catalog/Model/ImageUploader.php @@ -7,7 +7,6 @@ /** * Catalog image uploader - * @since 2.1.0 */ class ImageUploader { @@ -15,7 +14,6 @@ class ImageUploader * Core file storage database * * @var \Magento\MediaStorage\Helper\File\Storage\Database - * @since 2.1.0 */ protected $coreFileStorageDatabase; @@ -23,7 +21,6 @@ class ImageUploader * Media directory object (writable). * * @var \Magento\Framework\Filesystem\Directory\WriteInterface - * @since 2.1.0 */ protected $mediaDirectory; @@ -31,7 +28,6 @@ class ImageUploader * Uploader factory * * @var \Magento\MediaStorage\Model\File\UploaderFactory - * @since 2.1.0 */ private $uploaderFactory; @@ -39,13 +35,11 @@ class ImageUploader * Store manager * * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.1.0 */ protected $storeManager; /** * @var \Psr\Log\LoggerInterface - * @since 2.1.0 */ protected $logger; @@ -53,7 +47,6 @@ class ImageUploader * Base tmp path * * @var string - * @since 2.1.0 */ protected $baseTmpPath; @@ -61,7 +54,6 @@ class ImageUploader * Base path * * @var string - * @since 2.1.0 */ protected $basePath; @@ -69,7 +61,6 @@ class ImageUploader * Allowed extensions * * @var string - * @since 2.1.0 */ protected $allowedExtensions; @@ -84,7 +75,6 @@ class ImageUploader * @param string $baseTmpPath * @param string $basePath * @param string[] $allowedExtensions - * @since 2.1.0 */ public function __construct( \Magento\MediaStorage\Helper\File\Storage\Database $coreFileStorageDatabase, @@ -112,7 +102,6 @@ public function __construct( * @param string $baseTmpPath * * @return void - * @since 2.1.0 */ public function setBaseTmpPath($baseTmpPath) { @@ -125,7 +114,6 @@ public function setBaseTmpPath($baseTmpPath) * @param string $basePath * * @return void - * @since 2.1.0 */ public function setBasePath($basePath) { @@ -138,7 +126,6 @@ public function setBasePath($basePath) * @param string[] $allowedExtensions * * @return void - * @since 2.1.0 */ public function setAllowedExtensions($allowedExtensions) { @@ -149,7 +136,6 @@ public function setAllowedExtensions($allowedExtensions) * Retrieve base tmp path * * @return string - * @since 2.1.0 */ public function getBaseTmpPath() { @@ -160,7 +146,6 @@ public function getBaseTmpPath() * Retrieve base path * * @return string - * @since 2.1.0 */ public function getBasePath() { @@ -171,7 +156,6 @@ public function getBasePath() * Retrieve base path * * @return string[] - * @since 2.1.0 */ public function getAllowedExtensions() { @@ -185,7 +169,6 @@ public function getAllowedExtensions() * @param string $imageName * * @return string - * @since 2.1.0 */ public function getFilePath($path, $imageName) { @@ -200,7 +183,6 @@ public function getFilePath($path, $imageName) * @return string * * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.1.0 */ public function moveFileFromTmp($imageName) { @@ -236,7 +218,6 @@ public function moveFileFromTmp($imageName) * @return string[] * * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.1.0 */ public function saveFileToTmpDir($fileId) { diff --git a/app/code/Magento/Catalog/Model/Indexer/Category/Flat.php b/app/code/Magento/Catalog/Model/Indexer/Category/Flat.php index 7a1e4be468423..d3a4c70e9acf9 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Category/Flat.php +++ b/app/code/Magento/Catalog/Model/Indexer/Category/Flat.php @@ -31,7 +31,6 @@ class Flat implements \Magento\Framework\Indexer\ActionInterface, \Magento\Frame /** * @var \Magento\Framework\Indexer\CacheContext - * @since 2.0.11 */ private $cacheContext; @@ -109,8 +108,8 @@ public function executeRow($id) * Get cache context * * @return \Magento\Framework\Indexer\CacheContext - * @deprecated 2.0.11 - * @since 2.0.11 + * @deprecated 100.0.11 + * @since 100.0.11 */ protected function getCacheContext() { diff --git a/app/code/Magento/Catalog/Model/Indexer/Category/Flat/AbstractAction.php b/app/code/Magento/Catalog/Model/Indexer/Category/Flat/AbstractAction.php index 582e1f0fbb871..dcd665806bedb 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Category/Flat/AbstractAction.php +++ b/app/code/Magento/Catalog/Model/Indexer/Category/Flat/AbstractAction.php @@ -60,7 +60,6 @@ class AbstractAction /** * @var \Magento\Framework\EntityManager\EntityMetadata - * @since 2.1.0 */ protected $categoryMetadata; @@ -68,7 +67,6 @@ class AbstractAction * Static columns to skip * * @var array - * @since 2.1.0 */ protected $skipStaticColumns = []; @@ -474,7 +472,6 @@ protected function getTableName($name) /** * @return \Magento\Framework\EntityManager\EntityMetadata - * @since 2.1.0 */ private function getCategoryMetadata() { @@ -488,7 +485,6 @@ private function getCategoryMetadata() /** * @return array - * @since 2.1.0 */ private function getSkipStaticColumns() { diff --git a/app/code/Magento/Catalog/Model/Indexer/Category/Flat/Plugin/IndexerConfigData.php b/app/code/Magento/Catalog/Model/Indexer/Category/Flat/Plugin/IndexerConfigData.php index 1507cdc05ba1c..0927f29c2b737 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Category/Flat/Plugin/IndexerConfigData.php +++ b/app/code/Magento/Catalog/Model/Indexer/Category/Flat/Plugin/IndexerConfigData.php @@ -37,7 +37,6 @@ public function __construct(State $state) * * @return mixed * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.2.0 */ public function afterGet(Data $subject, $data, $path = null, $default = null) { diff --git a/app/code/Magento/Catalog/Model/Indexer/Category/Flat/Plugin/StoreGroup.php b/app/code/Magento/Catalog/Model/Indexer/Category/Flat/Plugin/StoreGroup.php index d359d88bf41b9..ab64f9b02699a 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Category/Flat/Plugin/StoreGroup.php +++ b/app/code/Magento/Catalog/Model/Indexer/Category/Flat/Plugin/StoreGroup.php @@ -18,7 +18,6 @@ class StoreGroup { /** * @var bool - * @since 2.2.0 */ private $needInvalidating; @@ -61,7 +60,6 @@ protected function validate(AbstractModel $group) * * @return void * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.2.0 */ public function beforeSave(AbstractDb $subject, AbstractModel $group) { @@ -76,7 +74,6 @@ public function beforeSave(AbstractDb $subject, AbstractModel $group) * * @return AbstractDb * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.2.0 */ public function afterSave(AbstractDb $subject, AbstractDb $objectResource) { diff --git a/app/code/Magento/Catalog/Model/Indexer/Category/Flat/SkipStaticColumnsProvider.php b/app/code/Magento/Catalog/Model/Indexer/Category/Flat/SkipStaticColumnsProvider.php index 3f91354699ddd..d00b33f4e4472 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Category/Flat/SkipStaticColumnsProvider.php +++ b/app/code/Magento/Catalog/Model/Indexer/Category/Flat/SkipStaticColumnsProvider.php @@ -10,20 +10,19 @@ * Static columns provider * * @api - * @since 2.1.0 + * @since 101.0.0 */ class SkipStaticColumnsProvider { /** * @var array - * @since 2.1.0 */ private $skipStaticColumns; /** * SkipStaticColumnsProvider constructor. * @param array $skipStaticColumns - * @since 2.1.0 + * @since 101.0.0 */ public function __construct($skipStaticColumns = []) { @@ -32,7 +31,7 @@ public function __construct($skipStaticColumns = []) /** * @return array - * @since 2.1.0 + * @since 101.0.0 */ public function get() { diff --git a/app/code/Magento/Catalog/Model/Indexer/Category/Product.php b/app/code/Magento/Catalog/Model/Indexer/Category/Product.php index fd115c427d31c..8e5f180692e6f 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Category/Product.php +++ b/app/code/Magento/Catalog/Model/Indexer/Category/Product.php @@ -36,7 +36,7 @@ class Product implements \Magento\Framework\Indexer\ActionInterface, \Magento\Fr /** * @var \Magento\Framework\Indexer\CacheContext - * @since 2.0.11 + * @since 100.0.11 */ protected $cacheContext; @@ -72,7 +72,7 @@ public function execute($ids) * * @param int[] $ids * @return void - * @since 2.0.11 + * @since 100.0.11 */ protected function registerEntities($ids) { @@ -94,7 +94,7 @@ public function executeFull() * Add tags to cache context * * @return void - * @since 2.0.11 + * @since 100.0.11 */ protected function registerTags() { @@ -148,8 +148,8 @@ protected function executeAction($ids) * Get cache context * * @return \Magento\Framework\Indexer\CacheContext - * @deprecated 2.0.11 - * @since 2.0.11 + * @deprecated 100.0.11 + * @since 100.0.11 */ protected function getCacheContext() { diff --git a/app/code/Magento/Catalog/Model/Indexer/Category/Product/AbstractAction.php b/app/code/Magento/Catalog/Model/Indexer/Category/Product/AbstractAction.php index 1036889dfa969..5f95fd2cb0c78 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Category/Product/AbstractAction.php +++ b/app/code/Magento/Catalog/Model/Indexer/Category/Product/AbstractAction.php @@ -98,19 +98,18 @@ abstract class AbstractAction /** * @var MetadataPool - * @since 2.1.0 + * @since 101.0.0 */ protected $metadataPool; /** * @var string - * @since 2.1.0 + * @since 101.0.0 */ protected $tempTreeIndexTableName; /** * @var QueryGenerator - * @since 2.2.0 */ private $queryGenerator; @@ -499,7 +498,7 @@ protected function createAnchorSelect(\Magento\Store\Model\Store $store) * Temp table name is NOT shared between action instances and each action has it's own temp tree index * * @return string - * @since 2.1.0 + * @since 101.0.0 */ protected function getTemporaryTreeIndexTableName() { @@ -518,7 +517,7 @@ protected function getTemporaryTreeIndexTableName() * Returns the name of the temporary table to use in queries. * * @return string - * @since 2.1.0 + * @since 101.0.0 */ protected function makeTempCategoryTreeIndex() { @@ -558,7 +557,7 @@ protected function makeTempCategoryTreeIndex() * Populate the temporary category tree index table * * @param string $temporaryName - * @since 2.1.0 + * @since 101.0.0 */ protected function fillTempCategoryTreeIndex($temporaryName) { @@ -753,7 +752,6 @@ protected function reindexRootCategory(\Magento\Store\Model\Store $store) /** * @return \Magento\Framework\EntityManager\MetadataPool - * @since 2.1.0 */ private function getMetadataPool() { diff --git a/app/code/Magento/Catalog/Model/Indexer/Category/Product/Action/Full.php b/app/code/Magento/Catalog/Model/Indexer/Category/Product/Action/Full.php index ea89f88772f2a..ae0c3554c0d32 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Category/Product/Action/Full.php +++ b/app/code/Magento/Catalog/Model/Indexer/Category/Product/Action/Full.php @@ -19,19 +19,16 @@ class Full extends \Magento\Catalog\Model\Indexer\Category\Product\AbstractActio { /** * @var \Magento\Framework\Indexer\BatchSizeManagementInterface - * @since 2.2.0 */ private $batchSizeManagement; /** * @var \Magento\Framework\Indexer\BatchProviderInterface - * @since 2.2.0 */ private $batchProvider; /** * @var \Magento\Framework\EntityManager\MetadataPool - * @since 2.2.0 */ protected $metadataPool; @@ -39,13 +36,11 @@ class Full extends \Magento\Catalog\Model\Indexer\Category\Product\AbstractActio * Row count to process in a batch * * @var int - * @since 2.2.0 */ private $batchRowsCount; /** * @var ActiveTableSwitcher - * @since 2.2.0 */ private $activeTableSwitcher; @@ -60,7 +55,6 @@ class Full extends \Magento\Catalog\Model\Indexer\Category\Product\AbstractActio * @param \Magento\Indexer\Model\Indexer\StateFactory|null $stateFactory * @param int|null $batchRowsCount * @param ActiveTableSwitcher|null $activeTableSwitcher - * @since 2.2.0 */ public function __construct( \Magento\Framework\App\ResourceConnection $resource, @@ -174,7 +168,6 @@ protected function clearTmpData() /** * {@inheritdoc} - * @since 2.2.0 */ protected function reindexRootCategory(\Magento\Store\Model\Store $store) { @@ -188,7 +181,6 @@ protected function reindexRootCategory(\Magento\Store\Model\Store $store) * * @param \Magento\Store\Model\Store $store * @return void - * @since 2.2.0 */ protected function reindexAnchorCategories(\Magento\Store\Model\Store $store) { @@ -200,7 +192,6 @@ protected function reindexAnchorCategories(\Magento\Store\Model\Store $store) * * @param \Magento\Store\Model\Store $store * @return void - * @since 2.2.0 */ protected function reindexNonAnchorCategories(\Magento\Store\Model\Store $store) { @@ -213,7 +204,6 @@ protected function reindexNonAnchorCategories(\Magento\Store\Model\Store $store) * @param \Magento\Framework\DB\Select $basicSelect * @param string $whereCondition * @return void - * @since 2.2.0 */ private function reindexCategoriesBySelect(\Magento\Framework\DB\Select $basicSelect, $whereCondition) { diff --git a/app/code/Magento/Catalog/Model/Indexer/Category/Product/Plugin/StoreGroup.php b/app/code/Magento/Catalog/Model/Indexer/Category/Product/Plugin/StoreGroup.php index c6196226f5aab..57104cfb2377b 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Category/Product/Plugin/StoreGroup.php +++ b/app/code/Magento/Catalog/Model/Indexer/Category/Product/Plugin/StoreGroup.php @@ -18,7 +18,6 @@ class StoreGroup { /** * @var bool - * @since 2.2.0 */ private $needInvalidating; @@ -43,7 +42,6 @@ public function __construct(IndexerRegistry $indexerRegistry) * * @return void * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.2.0 */ public function beforeSave(AbstractDb $subject, AbstractModel $group) { @@ -58,7 +56,6 @@ public function beforeSave(AbstractDb $subject, AbstractModel $group) * * @return AbstractDb * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.2.0 */ public function afterSave(AbstractDb $subject, AbstractDb $objectResource) { diff --git a/app/code/Magento/Catalog/Model/Indexer/Category/Product/RowSizeEstimator.php b/app/code/Magento/Catalog/Model/Indexer/Category/Product/RowSizeEstimator.php index 9c22f4df06a03..7057d1c066703 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Category/Product/RowSizeEstimator.php +++ b/app/code/Magento/Catalog/Model/Indexer/Category/Product/RowSizeEstimator.php @@ -12,7 +12,6 @@ * Class RowSizeEstimator * Intended to estimate amount of memory necessary for saving the biggest category in the DB * @package Magento\Catalog\Model\Indexer\Category\Product - * @since 2.2.0 */ class RowSizeEstimator implements IndexTableRowSizeEstimatorInterface { @@ -23,13 +22,11 @@ class RowSizeEstimator implements IndexTableRowSizeEstimatorInterface /** * @var \Magento\Framework\App\ResourceConnection - * @since 2.2.0 */ private $resourceConnection; /** * @param \Magento\Framework\App\ResourceConnection $resourceConnection - * @since 2.2.0 */ public function __construct( \Magento\Framework\App\ResourceConnection $resourceConnection @@ -46,7 +43,6 @@ public function __construct( * c) memory amount per each index row in DB table * * {@inheritdoc} - * @since 2.2.0 */ public function estimateRowSize() { diff --git a/app/code/Magento/Catalog/Model/Indexer/Product/Category.php b/app/code/Magento/Catalog/Model/Indexer/Product/Category.php index c7ccbc996ed71..e9d751c92e87b 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Category.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Category.php @@ -32,7 +32,7 @@ public function __construct( * Add tags to cache context * * @return void - * @since 2.0.11 + * @since 100.0.11 */ protected function registerTags() { @@ -49,7 +49,7 @@ protected function registerTags() * * @param int[] $ids * @return void - * @since 2.0.11 + * @since 100.0.11 */ protected function registerEntities($ids) { diff --git a/app/code/Magento/Catalog/Model/Indexer/Product/Category/Action/Rows.php b/app/code/Magento/Catalog/Model/Indexer/Product/Category/Action/Rows.php index 848dab5204e95..49e1e76545384 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Category/Action/Rows.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Category/Action/Rows.php @@ -24,7 +24,6 @@ class Rows extends \Magento\Catalog\Model\Indexer\Category\Product\AbstractActio /** * @var \Magento\Framework\Indexer\CacheContext - * @since 2.1.0 */ private $cacheContext; @@ -55,7 +54,6 @@ public function execute(array $entityIds = [], $useTempTable = false) * * @param array $entityIds * @return void - * @since 2.1.0 */ private function registerProducts($entityIds) { @@ -67,7 +65,6 @@ private function registerProducts($entityIds) * * @param array $entityIds * @return void - * @since 2.1.0 */ private function registerCategories($entityIds) { @@ -146,8 +143,7 @@ protected function isRangingNeeded() * Get cache context * * @return \Magento\Framework\Indexer\CacheContext - * @deprecated 2.1.0 - * @since 2.1.0 + * @deprecated 101.0.0 */ private function getCacheContext() { diff --git a/app/code/Magento/Catalog/Model/Indexer/Product/Eav.php b/app/code/Magento/Catalog/Model/Indexer/Product/Eav.php index 10455c8af940d..4828fb24af948 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Eav.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Eav.php @@ -30,7 +30,6 @@ class Eav implements \Magento\Framework\Indexer\ActionInterface, \Magento\Framew /** * @var \Magento\Framework\Indexer\CacheContext - * @since 2.0.11 */ private $cacheContext; @@ -103,8 +102,7 @@ public function executeRow($id) * Get cache context * * @return \Magento\Framework\Indexer\CacheContext - * @deprecated 2.0.11 - * @since 2.0.11 + * @deprecated 100.0.11 */ protected function getCacheContext() { diff --git a/app/code/Magento/Catalog/Model/Indexer/Product/Eav/AbstractAction.php b/app/code/Magento/Catalog/Model/Indexer/Product/Eav/AbstractAction.php index a44adef593f98..cd40cddebea15 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Eav/AbstractAction.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Eav/AbstractAction.php @@ -113,7 +113,6 @@ public function reindex($ids = null) * @param array $ids * @throws \Exception * @return void - * @since 2.2.0 */ protected function syncData($indexer, $destinationTable, $ids) { @@ -140,7 +139,6 @@ protected function syncData($indexer, $destinationTable, $ids) * * @param bool $onlyParents * @return array $ids - * @since 2.2.0 */ protected function processRelations($indexer, $ids, $onlyParents = false) { diff --git a/app/code/Magento/Catalog/Model/Indexer/Product/Eav/Action/Full.php b/app/code/Magento/Catalog/Model/Indexer/Product/Eav/Action/Full.php index 9fae4d9865301..bc747e62f641e 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Eav/Action/Full.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Eav/Action/Full.php @@ -14,25 +14,21 @@ class Full extends \Magento\Catalog\Model\Indexer\Product\Eav\AbstractAction { /** * @var \Magento\Framework\EntityManager\MetadataPool - * @since 2.2.0 */ private $metadataPool; /** * @var \Magento\Framework\Indexer\BatchProviderInterface - * @since 2.2.0 */ private $batchProvider; /** * @var \Magento\Catalog\Model\ResourceModel\Product\Indexer\Eav\BatchSizeCalculator - * @since 2.2.0 */ private $batchSizeCalculator; /** * @var ActiveTableSwitcher - * @since 2.2.0 */ private $activeTableSwitcher; @@ -43,7 +39,6 @@ class Full extends \Magento\Catalog\Model\Indexer\Product\Eav\AbstractAction * @param \Magento\Framework\Indexer\BatchProviderInterface|null $batchProvider * @param \Magento\Catalog\Model\ResourceModel\Product\Indexer\Eav\BatchSizeCalculator $batchSizeCalculator * @param ActiveTableSwitcher|null $activeTableSwitcher - * @since 2.2.0 */ public function __construct( \Magento\Catalog\Model\ResourceModel\Product\Indexer\Eav\DecimalFactory $eavDecimalFactory, @@ -111,7 +106,6 @@ public function execute($ids = null) /** * @inheritdoc - * @since 2.2.0 */ protected function syncData($indexer, $destinationTable, $ids = null) { diff --git a/app/code/Magento/Catalog/Model/Indexer/Product/Eav/Plugin/AttributeSet.php b/app/code/Magento/Catalog/Model/Indexer/Product/Eav/Plugin/AttributeSet.php index d337fe8ce679d..81600036b5955 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Eav/Plugin/AttributeSet.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Eav/Plugin/AttributeSet.php @@ -18,13 +18,11 @@ class AttributeSet { /** * @var bool - * @since 2.2.0 */ private $requiresReindex; /** * @var SetFactory - * @since 2.2.0 */ private $attributeSetFactory; @@ -61,7 +59,6 @@ public function __construct( * @param EavAttributeSet $subject * * @return void - * @since 2.2.0 */ public function beforeSave(EavAttributeSet $subject) { @@ -89,7 +86,6 @@ public function beforeSave(EavAttributeSet $subject) * @return EavAttributeSet * * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.2.0 */ public function afterSave(EavAttributeSet $subject, EavAttributeSet $result) { diff --git a/app/code/Magento/Catalog/Model/Indexer/Product/Flat.php b/app/code/Magento/Catalog/Model/Indexer/Product/Flat.php index b617a681aeb24..bf67dbfdca21d 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Flat.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Flat.php @@ -30,7 +30,6 @@ class Flat implements \Magento\Framework\Indexer\ActionInterface, \Magento\Frame /** * @var \Magento\Framework\Indexer\CacheContext - * @since 2.0.11 */ private $cacheContext; @@ -103,8 +102,7 @@ public function executeRow($id) * Get cache context * * @return \Magento\Framework\Indexer\CacheContext - * @deprecated 2.0.11 - * @since 2.0.11 + * @deprecated 100.0.11 */ protected function getCacheContext() { diff --git a/app/code/Magento/Catalog/Model/Indexer/Product/Flat/AbstractAction.php b/app/code/Magento/Catalog/Model/Indexer/Product/Flat/AbstractAction.php index d4abc8ab6661e..3b63a90d4c3ae 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Flat/AbstractAction.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Flat/AbstractAction.php @@ -75,7 +75,6 @@ abstract class AbstractAction /** * @var MetadataPool - * @since 2.1.0 */ private $metadataPool; @@ -337,7 +336,6 @@ protected function _isFlatTableExists($storeId) /** * @return \Magento\Framework\EntityManager\MetadataPool - * @since 2.1.0 */ private function getMetadataPool() { diff --git a/app/code/Magento/Catalog/Model/Indexer/Product/Flat/Action/Indexer.php b/app/code/Magento/Catalog/Model/Indexer/Product/Flat/Action/Indexer.php index 7e20919e6cce2..9dd312e9da801 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Flat/Action/Indexer.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Flat/Action/Indexer.php @@ -17,7 +17,6 @@ class Indexer { /** * @var MetadataPool - * @since 2.1.0 */ protected $metadataPool; @@ -188,7 +187,6 @@ public function write($storeId, $productId, $valueFieldSuffix = '') /** * @return \Magento\Framework\EntityManager\MetadataPool - * @since 2.1.0 */ private function getMetadataPool() { diff --git a/app/code/Magento/Catalog/Model/Indexer/Product/Flat/FlatTableBuilder.php b/app/code/Magento/Catalog/Model/Indexer/Product/Flat/FlatTableBuilder.php index 08089d5437e94..05dd94dbe6e57 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Flat/FlatTableBuilder.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Flat/FlatTableBuilder.php @@ -17,7 +17,6 @@ class FlatTableBuilder { /** * @var MetadataPool - * @since 2.1.0 */ protected $metadataPool; @@ -53,7 +52,6 @@ class FlatTableBuilder /** * @var \Magento\Framework\App\ResourceConnection - * @since 2.1.0 */ protected $resource; @@ -372,7 +370,6 @@ protected function _getTemporaryTableName($tableName) /** * @return \Magento\Framework\EntityManager\MetadataPool - * @since 2.1.0 */ private function getMetadataPool() { diff --git a/app/code/Magento/Catalog/Model/Indexer/Product/Flat/Plugin/IndexerConfigData.php b/app/code/Magento/Catalog/Model/Indexer/Product/Flat/Plugin/IndexerConfigData.php index c58dd58333c3e..ff3f069a84db0 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Flat/Plugin/IndexerConfigData.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Flat/Plugin/IndexerConfigData.php @@ -16,7 +16,6 @@ class IndexerConfigData { /** * @var ProductFlatIndexerState - * @since 2.2.0 */ protected $state; @@ -39,7 +38,6 @@ public function __construct(ProductFlatIndexerState $state) * * @SuppressWarnings(PHPMD.UnusedFormalParameter) * - * @since 2.2.0 */ public function afterGet(ConfigData $subject, $data, $path = null, $default = null) { diff --git a/app/code/Magento/Catalog/Model/Indexer/Product/Flat/Table/Builder.php b/app/code/Magento/Catalog/Model/Indexer/Product/Flat/Table/Builder.php index 91ab1d0915ea7..fb9c8aace8d7d 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Flat/Table/Builder.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Flat/Table/Builder.php @@ -7,13 +7,11 @@ /** * Class Builder - * @since 2.1.4 */ class Builder implements BuilderInterface { /** * @var \Magento\Framework\DB\Ddl\Table - * @since 2.1.4 */ private $tableInstance; @@ -22,7 +20,6 @@ class Builder implements BuilderInterface * * @param \Magento\Framework\DB\Adapter\AdapterInterface $connection * @param string $tableName - * @since 2.1.4 */ public function __construct(\Magento\Framework\DB\Adapter\AdapterInterface $connection, $tableName) { @@ -31,7 +28,6 @@ public function __construct(\Magento\Framework\DB\Adapter\AdapterInterface $conn /** * @inheritdoc - * @since 2.1.4 */ public function addColumn($name, $type, $size = null, $options = [], $comment = null) { @@ -41,7 +37,6 @@ public function addColumn($name, $type, $size = null, $options = [], $comment = /** * @inheritdoc - * @since 2.1.4 */ public function getTable() { diff --git a/app/code/Magento/Catalog/Model/Indexer/Product/Flat/Table/BuilderInterface.php b/app/code/Magento/Catalog/Model/Indexer/Product/Flat/Table/BuilderInterface.php index f0bd3b1348828..caf136f72573c 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Flat/Table/BuilderInterface.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Flat/Table/BuilderInterface.php @@ -9,7 +9,7 @@ * Interface BuilderInterface * * @api - * @since 2.1.4 + * @since 101.0.4 */ interface BuilderInterface { @@ -33,13 +33,13 @@ interface BuilderInterface * @param string $comment column description * @return $this * @throws \Zend_Db_Exception - * @since 2.1.4 + * @since 101.0.4 */ public function addColumn($name, $type, $size = null, $options = [], $comment = null); /** * @return \Magento\Framework\DB\Ddl\Table - * @since 2.1.4 + * @since 101.0.4 */ public function getTable(); } diff --git a/app/code/Magento/Catalog/Model/Indexer/Product/Flat/TableBuilder.php b/app/code/Magento/Catalog/Model/Indexer/Product/Flat/TableBuilder.php index b63e83c1d3382..9f6728d51bd77 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Flat/TableBuilder.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Flat/TableBuilder.php @@ -25,19 +25,16 @@ class TableBuilder /** * @var \Magento\Framework\EntityManager\MetadataPool - * @since 2.1.0 */ protected $metadataPool; /** * @var \Magento\Framework\App\ResourceConnection - * @since 2.1.0 */ protected $resource; /** * @var BuilderInterfaceFactory - * @since 2.1.4 */ private $tableBuilderFactory; @@ -364,8 +361,7 @@ protected function _fillTemporaryTable( /** * @return \Magento\Framework\EntityManager\MetadataPool - * @deprecated 2.2.0 - * @since 2.1.0 + * @deprecated 101.1.0 */ private function getMetadataPool() { diff --git a/app/code/Magento/Catalog/Model/Indexer/Product/Price.php b/app/code/Magento/Catalog/Model/Indexer/Product/Price.php index 25bda35762d53..edd7fa27b2556 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Price.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Price.php @@ -30,7 +30,6 @@ class Price implements \Magento\Framework\Indexer\ActionInterface, \Magento\Fram /** * @var \Magento\Framework\Indexer\CacheContext - * @since 2.0.11 */ private $cacheContext; @@ -103,8 +102,7 @@ public function executeRow($id) * Get cache context * * @return \Magento\Framework\Indexer\CacheContext - * @deprecated 2.0.11 - * @since 2.0.11 + * @deprecated 100.0.11 */ protected function getCacheContext() { diff --git a/app/code/Magento/Catalog/Model/Indexer/Product/Price/AbstractAction.php b/app/code/Magento/Catalog/Model/Indexer/Product/Price/AbstractAction.php index b44ea5ec79ec4..6db52f969d273 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Price/AbstractAction.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Price/AbstractAction.php @@ -72,7 +72,6 @@ abstract class AbstractAction /** * @var \Magento\Catalog\Model\ResourceModel\Product - * @since 2.2.0 */ private $productResource; @@ -508,7 +507,6 @@ protected function _copyRelationIndexData($parentIds, $excludeIds = null) * This method is used during both partial and full reindex to identify the table. * * @return string - * @since 2.2.0 */ protected function getIndexTargetTable() { @@ -517,7 +515,6 @@ protected function getIndexTargetTable() /** * @return string - * @since 2.1.0 */ protected function getProductIdFieldName() { @@ -528,8 +525,7 @@ protected function getProductIdFieldName() /** * @return \Magento\Catalog\Model\ResourceModel\Product - * @deprecated 2.2.0 - * @since 2.2.0 + * @deprecated 101.1.0 */ private function getProductResource() { diff --git a/app/code/Magento/Catalog/Model/Indexer/Product/Price/Action/Full.php b/app/code/Magento/Catalog/Model/Indexer/Product/Price/Action/Full.php index 1c86ac7cfe6c5..88dba03def001 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Price/Action/Full.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Price/Action/Full.php @@ -15,25 +15,21 @@ class Full extends \Magento\Catalog\Model\Indexer\Product\Price\AbstractAction { /** * @var \Magento\Framework\EntityManager\MetadataPool - * @since 2.2.0 */ private $metadataPool; /** * @var \Magento\Catalog\Model\ResourceModel\Product\Indexer\Price\BatchSizeCalculator - * @since 2.2.0 */ private $batchSizeCalculator; /** * @var \Magento\Framework\Indexer\BatchProviderInterface - * @since 2.2.0 */ private $batchProvider; /** * @var \Magento\Catalog\Model\ResourceModel\Indexer\ActiveTableSwitcher - * @since 2.2.0 */ private $activeTableSwitcher; @@ -52,7 +48,6 @@ class Full extends \Magento\Catalog\Model\Indexer\Product\Price\AbstractAction * @param \Magento\Catalog\Model\ResourceModel\Indexer\ActiveTableSwitcher|null $activeTableSwitcher * * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.2.0 */ public function __construct( \Magento\Framework\App\Config\ScopeConfigInterface $config, @@ -164,7 +159,6 @@ public function execute($ids = null) /** * @inheritdoc - * @since 2.2.0 */ protected function getIndexTargetTable() { diff --git a/app/code/Magento/Catalog/Model/Locator/LocatorInterface.php b/app/code/Magento/Catalog/Model/Locator/LocatorInterface.php index 73d9e15095031..9f83b2c0203bb 100644 --- a/app/code/Magento/Catalog/Model/Locator/LocatorInterface.php +++ b/app/code/Magento/Catalog/Model/Locator/LocatorInterface.php @@ -12,31 +12,31 @@ * Interface LocatorInterface * * @api - * @since 2.1.0 + * @since 101.0.0 */ interface LocatorInterface { /** * @return ProductInterface - * @since 2.1.0 + * @since 101.0.0 */ public function getProduct(); /** * @return StoreInterface - * @since 2.1.0 + * @since 101.0.0 */ public function getStore(); /** * @return array - * @since 2.1.0 + * @since 101.0.0 */ public function getWebsiteIds(); /** * @return string - * @since 2.1.0 + * @since 101.0.0 */ public function getBaseCurrencyCode(); } diff --git a/app/code/Magento/Catalog/Model/Locator/RegistryLocator.php b/app/code/Magento/Catalog/Model/Locator/RegistryLocator.php index 6a1e30d7f08f4..9770c8b39398c 100644 --- a/app/code/Magento/Catalog/Model/Locator/RegistryLocator.php +++ b/app/code/Magento/Catalog/Model/Locator/RegistryLocator.php @@ -12,31 +12,26 @@ /** * Class RegistryLocator - * @since 2.1.0 */ class RegistryLocator implements LocatorInterface { /** * @var Registry - * @since 2.1.0 */ private $registry; /** * @var ProductInterface - * @since 2.1.0 */ private $product; /** * @var StoreInterface - * @since 2.1.0 */ private $store; /** * @param Registry $registry - * @since 2.1.0 */ public function __construct(Registry $registry) { @@ -46,7 +41,6 @@ public function __construct(Registry $registry) /** * {@inheritdoc} * @throws NotFoundException - * @since 2.1.0 */ public function getProduct() { @@ -64,7 +58,6 @@ public function getProduct() /** * {@inheritdoc} * @throws NotFoundException - * @since 2.1.0 */ public function getStore() { @@ -81,7 +74,6 @@ public function getStore() /** * {@inheritdoc} - * @since 2.1.0 */ public function getWebsiteIds() { @@ -90,7 +82,6 @@ public function getWebsiteIds() /** * {@inheritdoc} - * @since 2.1.0 */ public function getBaseCurrencyCode() { diff --git a/app/code/Magento/Catalog/Model/Plugin/QuoteItemProductOption.php b/app/code/Magento/Catalog/Model/Plugin/QuoteItemProductOption.php index 2c40bdb9da1ee..516dfebe93481 100644 --- a/app/code/Magento/Catalog/Model/Plugin/QuoteItemProductOption.php +++ b/app/code/Magento/Catalog/Model/Plugin/QuoteItemProductOption.php @@ -23,7 +23,6 @@ class QuoteItemProductOption * @return void * * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.2.0 */ public function beforeConvert( QuoteToOrderItem $subject, diff --git a/app/code/Magento/Catalog/Model/Product.php b/app/code/Magento/Catalog/Model/Product.php index c454b3cb8c6fa..bb37c509fd3c0 100644 --- a/app/code/Magento/Catalog/Model/Product.php +++ b/app/code/Magento/Catalog/Model/Product.php @@ -45,7 +45,7 @@ class Product extends \Magento\Catalog\Model\AbstractModel implements { /** * @var ProductLinkRepositoryInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $linkRepository; @@ -337,13 +337,13 @@ class Product extends \Magento\Catalog\Model\AbstractModel implements /** * @var \Magento\Catalog\Model\Product\Gallery\Processor - * @since 2.1.0 + * @since 101.0.0 */ protected $mediaGalleryProcessor; /** * @var Product\LinkTypeProvider - * @since 2.1.0 + * @since 101.0.0 */ protected $linkTypeProvider; @@ -1495,7 +1495,7 @@ public function getMediaGalleryImages() * Checks whether product has Media Gallery attribute. * * @return bool - * @since 2.1.0 + * @since 101.0.0 */ public function hasGalleryAttribute() { @@ -2310,7 +2310,6 @@ public function getIdentities() * Check whether stock status changed * * @return bool - * @since 2.1.0 */ private function isStockStatusChanged() { @@ -2596,7 +2595,7 @@ public function setMediaGalleryEntries(array $mediaGalleryEntries = null) * Identifier getter * * @return int - * @since 2.1.0 + * @since 101.0.0 */ public function getId() { @@ -2608,7 +2607,7 @@ public function getId() * * @param int $value * @return $this - * @since 2.1.0 + * @since 101.0.0 */ public function setId($value) { @@ -2617,7 +2616,6 @@ public function setId($value) /** * @return ProductLinkRepositoryInterface - * @since 2.1.0 */ private function getLinkRepository() { @@ -2630,7 +2628,6 @@ private function getLinkRepository() /** * @return Product\Gallery\Processor - * @since 2.1.0 */ private function getMediaGalleryProcessor() { @@ -2646,7 +2643,7 @@ private function getMediaGalleryProcessor() * * @param array $productIds * @return $this - * @since 2.1.2 + * @since 101.0.2 */ public function setAssociatedProductIds(array $productIds) { @@ -2659,11 +2656,11 @@ public function setAssociatedProductIds(array $productIds) * * @return array|null * - * @deprecated 2.2.0 as Product model shouldn't be responsible for stock status + * @deprecated 101.1.0 as Product model shouldn't be responsible for stock status * @see StockItemInterface when you want to change the stock data * @see StockStatusInterface when you want to read the stock data for representation layer (storefront) * @see StockItemRepositoryInterface::save as extension point for customization of saving process - * @since 2.2.0 + * @since 101.1.0 */ public function getQuantityAndStockStatus() { @@ -2676,11 +2673,11 @@ public function getQuantityAndStockStatus() * @param array $quantityAndStockStatusData * @return $this * - * @deprecated 2.2.0 as Product model shouldn't be responsible for stock status + * @deprecated 101.1.0 as Product model shouldn't be responsible for stock status * @see StockItemInterface when you want to change the stock data * @see StockStatusInterface when you want to read the stock data for representation layer (storefront) * @see StockItemRepositoryInterface::save as extension point for customization of saving process - * @since 2.2.0 + * @since 101.1.0 */ public function setQuantityAndStockStatus($quantityAndStockStatusData) { @@ -2693,11 +2690,11 @@ public function setQuantityAndStockStatus($quantityAndStockStatusData) * * @return array|null * - * @deprecated 2.2.0 as Product model shouldn't be responsible for stock status + * @deprecated 101.1.0 as Product model shouldn't be responsible for stock status * @see StockItemInterface when you want to change the stock data * @see StockStatusInterface when you want to read the stock data for representation layer (storefront) * @see StockItemRepositoryInterface::save as extension point for customization of saving process - * @since 2.2.0 + * @since 101.1.0 */ public function getStockData() { @@ -2710,11 +2707,11 @@ public function getStockData() * @param array $stockData * @return $this * - * @deprecated 2.2.0 as Product model shouldn't be responsible for stock status + * @deprecated 101.1.0 as Product model shouldn't be responsible for stock status * @see StockItemInterface when you want to change the stock data * @see StockStatusInterface when you want to read the stock data for representation layer (storefront) * @see StockItemRepositoryInterface::save as extension point for customization of saving process - * @since 2.2.0 + * @since 101.1.0 */ public function setStockData($stockData) { diff --git a/app/code/Magento/Catalog/Model/Product/Attribute/AttributeSetFinder.php b/app/code/Magento/Catalog/Model/Product/Attribute/AttributeSetFinder.php index a1c3caea7631b..3b793fc9e0c6c 100644 --- a/app/code/Magento/Catalog/Model/Product/Attribute/AttributeSetFinder.php +++ b/app/code/Magento/Catalog/Model/Product/Attribute/AttributeSetFinder.php @@ -14,19 +14,16 @@ /** * Class \Magento\Catalog\Model\Product\Attribute\AttributeSetFinder * - * @since 2.1.0 */ class AttributeSetFinder implements AttributeSetFinderInterface { /** * @var CollectionFactory - * @since 2.1.0 */ private $productCollectionFactory; /** * @param CollectionFactory $productCollectionFactory - * @since 2.1.0 */ public function __construct(CollectionFactory $productCollectionFactory) { @@ -35,7 +32,6 @@ public function __construct(CollectionFactory $productCollectionFactory) /** * {@inheritdoc} - * @since 2.1.0 */ public function findAttributeSetIdsByProductIds(array $productIds) { diff --git a/app/code/Magento/Catalog/Model/Product/Attribute/Backend/GroupPrice/AbstractGroupPrice.php b/app/code/Magento/Catalog/Model/Product/Attribute/Backend/GroupPrice/AbstractGroupPrice.php index 023f518211fed..0bd090b823266 100644 --- a/app/code/Magento/Catalog/Model/Product/Attribute/Backend/GroupPrice/AbstractGroupPrice.php +++ b/app/code/Magento/Catalog/Model/Product/Attribute/Backend/GroupPrice/AbstractGroupPrice.php @@ -22,7 +22,6 @@ abstract class AbstractGroupPrice extends Price { /** * @var \Magento\Framework\EntityManager\MetadataPool - * @since 2.1.0 */ protected $metadataPool; @@ -146,7 +145,6 @@ protected function _getAdditionalUniqueFields($objectArray) * @param array $objectArray * @return array * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.2.0 */ protected function getAdditionalFields($objectArray) { @@ -254,7 +252,6 @@ public function validate($object) * @param array $priceRow * @return void * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.2.0 */ protected function validatePrice(array $priceRow) { @@ -319,7 +316,6 @@ public function afterLoad($object) /** * @param int $storeId * @return int|null - * @since 2.2.0 */ private function getWebsiteId($storeId) { @@ -335,7 +331,6 @@ private function getWebsiteId($storeId) /** * @param \Magento\Catalog\Model\Product $object * @param array $priceData - * @since 2.2.0 */ public function setPriceData($object, $priceData) { @@ -360,7 +355,6 @@ public function setPriceData($object, $priceData) * @param array $data * @return array * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.2.0 */ protected function modifyPriceData($object, $data) { @@ -500,7 +494,6 @@ public function afterSave($object) * @param array $valuesToUpdate * @param array $oldValues * @return boolean - * @since 2.2.0 */ protected function updateValues(array $valuesToUpdate, array $oldValues) { @@ -554,7 +547,6 @@ public function getResource() /** * @return \Magento\Framework\EntityManager\MetadataPool - * @since 2.1.0 */ private function getMetadataPool() { diff --git a/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Price.php b/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Price.php index a725087e7a6fe..a3a448508e487 100644 --- a/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Price.php +++ b/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Price.php @@ -52,7 +52,6 @@ class Price extends \Magento\Eav\Model\Entity\Attribute\Backend\AbstractBackend /** * @var \Magento\Catalog\Model\Attribute\ScopeOverriddenValue - * @since 2.2.0 */ private $scopeOverriddenValue; @@ -147,7 +146,6 @@ public function afterSave($object) * Check whether product uses default attribute's value in selected scope * @param \Magento\Catalog\Model\Product $object * @return bool - * @since 2.2.0 */ private function isUseDefault($object) { diff --git a/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Stock.php b/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Stock.php index 17960a09b899d..994ff98dee217 100644 --- a/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Stock.php +++ b/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Stock.php @@ -10,7 +10,7 @@ /** * Quantity and Stock Status attribute processing * - * @deprecated 2.2.0 as this attribute should be removed + * @deprecated 101.1.0 as this attribute should be removed * @see StockItemInterface when you want to change the stock data * @see StockStatusInterface when you want to read the stock data for representation layer (storefront) * @see StockItemRepositoryInterface::save as extension point for customization of saving process diff --git a/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Tierprice.php b/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Tierprice.php index 93975178e5df3..20d5de6d4fab0 100644 --- a/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Tierprice.php +++ b/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Tierprice.php @@ -86,7 +86,6 @@ protected function _getAdditionalUniqueFields($objectArray) /** * @inheritdoc - * @since 2.2.0 */ protected function getAdditionalFields($objectArray) { @@ -130,7 +129,6 @@ public function isScalar() /** * @inheritdoc - * @since 2.2.0 */ public function validate($object) { @@ -152,7 +150,6 @@ public function validate($object) /** * @inheritdoc - * @since 2.2.0 */ protected function validatePrice(array $priceRow) { @@ -163,7 +160,6 @@ protected function validatePrice(array $priceRow) /** * @inheritdoc - * @since 2.2.0 */ protected function modifyPriceData($object, $data) { @@ -183,7 +179,6 @@ protected function modifyPriceData($object, $data) * @param array $valuesToUpdate * @param array $oldValues * @return boolean - * @since 2.2.0 */ protected function updateValues(array $valuesToUpdate, array $oldValues) { @@ -212,7 +207,6 @@ protected function updateValues(array $valuesToUpdate, array $oldValues) * * @param array $priceRow * @return null - * @since 2.2.0 */ private function getPercentage($priceRow) { diff --git a/app/code/Magento/Catalog/Model/Product/Attribute/DataProvider.php b/app/code/Magento/Catalog/Model/Product/Attribute/DataProvider.php index 3acc41126bb20..2bb10d3b31a24 100644 --- a/app/code/Magento/Catalog/Model/Product/Attribute/DataProvider.php +++ b/app/code/Magento/Catalog/Model/Product/Attribute/DataProvider.php @@ -16,19 +16,16 @@ /** * Data provider for the form of adding new product attribute. - * @since 2.1.0 */ class DataProvider extends \Magento\Ui\DataProvider\AbstractDataProvider { /** * @var StoreRepositoryInterface - * @since 2.1.0 */ private $storeRepository; /** * @var ArrayManager - * @since 2.1.0 */ private $arrayManager; @@ -41,7 +38,6 @@ class DataProvider extends \Magento\Ui\DataProvider\AbstractDataProvider * @param ArrayManager $arrayManager * @param array $meta * @param array $data - * @since 2.1.0 */ public function __construct( $name, @@ -63,7 +59,6 @@ public function __construct( * Get data * * @return array - * @since 2.1.0 */ public function getData() { @@ -74,7 +69,6 @@ public function getData() * Get meta information * * @return array - * @since 2.1.0 */ public function getMeta() { @@ -92,7 +86,6 @@ public function getMeta() * * @param array $meta * @return array - * @since 2.1.0 */ private function customizeAttributeCode($meta) { @@ -117,7 +110,6 @@ private function customizeAttributeCode($meta) * * @param array $meta * @return array - * @since 2.1.0 */ private function customizeFrontendLabels($meta) { @@ -150,7 +142,6 @@ private function customizeFrontendLabels($meta) * * @param array $meta * @return array - * @since 2.1.0 */ private function customizeOptions($meta) { diff --git a/app/code/Magento/Catalog/Model/Product/Attribute/Source/Countryofmanufacture.php b/app/code/Magento/Catalog/Model/Product/Attribute/Source/Countryofmanufacture.php index 2699636e02810..a1072a3a6b8aa 100644 --- a/app/code/Magento/Catalog/Model/Product/Attribute/Source/Countryofmanufacture.php +++ b/app/code/Magento/Catalog/Model/Product/Attribute/Source/Countryofmanufacture.php @@ -41,7 +41,6 @@ class Countryofmanufacture extends AbstractSource implements OptionSourceInterfa /** * @var \Magento\Framework\Serialize\SerializerInterface - * @since 2.2.0 */ private $serializer; @@ -87,8 +86,7 @@ public function getAllOptions() * Get serializer * * @return \Magento\Framework\Serialize\SerializerInterface - * @deprecated 2.2.0 - * @since 2.2.0 + * @deprecated 101.1.0 */ private function getSerializer() { diff --git a/app/code/Magento/Catalog/Model/Product/Copier.php b/app/code/Magento/Catalog/Model/Product/Copier.php index 9e7739d86458d..eab1491577e02 100644 --- a/app/code/Magento/Catalog/Model/Product/Copier.php +++ b/app/code/Magento/Catalog/Model/Product/Copier.php @@ -17,7 +17,6 @@ class Copier { /** * @var Option\Repository - * @since 2.1.0 */ protected $optionRepository; @@ -33,7 +32,6 @@ class Copier /** * @var \Magento\Framework\EntityManager\MetadataPool - * @since 2.1.0 */ protected $metadataPool; @@ -101,8 +99,7 @@ public function copy(\Magento\Catalog\Model\Product $product) /** * @return Option\Repository - * @deprecated 2.1.0 - * @since 2.1.0 + * @deprecated 101.0.0 */ private function getOptionRepository() { @@ -115,8 +112,7 @@ private function getOptionRepository() /** * @return \Magento\Framework\EntityManager\MetadataPool - * @deprecated 2.1.0 - * @since 2.1.0 + * @deprecated 101.0.0 */ private function getMetadataPool() { @@ -132,7 +128,6 @@ private function getMetadataPool() * * @param array $productData * @return array - * @since 2.2.0 */ private function removeStockItem(array $productData) { diff --git a/app/code/Magento/Catalog/Model/Product/Gallery/CreateHandler.php b/app/code/Magento/Catalog/Model/Product/Gallery/CreateHandler.php index 799e91bacd4c5..2ceaf351891f8 100644 --- a/app/code/Magento/Catalog/Model/Product/Gallery/CreateHandler.php +++ b/app/code/Magento/Catalog/Model/Product/Gallery/CreateHandler.php @@ -15,25 +15,25 @@ * @api * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.1.0 + * @since 101.0.0 */ class CreateHandler implements ExtensionInterface { /** * @var \Magento\Framework\EntityManager\EntityMetadata - * @since 2.1.0 + * @since 101.0.0 */ protected $metadata; /** * @var \Magento\Catalog\Api\Data\ProductAttributeInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $attribute; /** * @var \Magento\Catalog\Api\ProductAttributeRepositoryInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $attributeRepository; @@ -41,37 +41,36 @@ class CreateHandler implements ExtensionInterface * Resource model * * @var \Magento\Catalog\Model\ResourceModel\Product\Gallery - * @since 2.1.0 + * @since 101.0.0 */ protected $resourceModel; /** * @var \Magento\Framework\Json\Helper\Data - * @since 2.1.0 + * @since 101.0.0 */ protected $jsonHelper; /** * @var \Magento\Catalog\Model\Product\Media\Config - * @since 2.1.0 + * @since 101.0.0 */ protected $mediaConfig; /** * @var \Magento\Framework\Filesystem\Directory\WriteInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $mediaDirectory; /** * @var \Magento\MediaStorage\Helper\File\Storage\Database - * @since 2.1.0 + * @since 101.0.0 */ protected $fileStorageDb; /** * @var array - * @since 2.1.3 */ private $mediaAttributeCodes; @@ -83,7 +82,7 @@ class CreateHandler implements ExtensionInterface * @param \Magento\Catalog\Model\Product\Media\Config $mediaConfig * @param \Magento\Framework\Filesystem $filesystem * @param \Magento\MediaStorage\Helper\File\Storage\Database $fileStorageDb - * @since 2.1.0 + * @since 101.0.0 */ public function __construct( \Magento\Framework\EntityManager\MetadataPool $metadataPool, @@ -111,7 +110,7 @@ public function __construct( * @SuppressWarnings(PHPMD.UnusedFormalParameter) * @SuppressWarnings(PHPMD.NPathComplexity) * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.1.0 + * @since 101.0.0 */ public function execute($product, $arguments = []) { @@ -211,7 +210,7 @@ public function execute($product, $arguments = []) /** * @return \Magento\Catalog\Api\Data\ProductAttributeInterface - * @since 2.1.0 + * @since 101.0.0 */ public function getAttribute() { @@ -229,7 +228,7 @@ public function getAttribute() * @param array $images * @return void * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.1.0 + * @since 101.0.0 */ protected function processDeletedImages($product, array &$images) { @@ -239,7 +238,7 @@ protected function processDeletedImages($product, array &$images) * @param \Magento\Catalog\Model\Product $product * @param array $images * @return void - * @since 2.1.0 + * @since 101.0.0 */ protected function processNewAndExistingImages($product, array &$images) { @@ -273,7 +272,7 @@ protected function processNewAndExistingImages($product, array &$images) * @param \Magento\Catalog\Model\Product $product * @param array $image * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function processNewImage($product, array &$image) { @@ -299,7 +298,7 @@ protected function processNewImage($product, array &$image) /** * @param \Magento\Catalog\Model\Product $product * @return $this - * @since 2.1.0 + * @since 101.0.0 */ protected function duplicate($product) { @@ -326,7 +325,7 @@ protected function duplicate($product) * * @param string $file * @return string - * @since 2.1.0 + * @since 101.0.0 */ protected function moveImageFromTmp($file) { @@ -354,7 +353,7 @@ protected function moveImageFromTmp($file) /** * @param string $file * @return string - * @since 2.1.0 + * @since 101.0.0 */ protected function getFilenameFromTmp($file) { @@ -367,7 +366,7 @@ protected function getFilenameFromTmp($file) * @param string $file * @param bool $forTmp * @return string - * @since 2.1.0 + * @since 101.0.0 */ protected function getUniqueFileName($file, $forTmp = false) { @@ -392,7 +391,7 @@ protected function getUniqueFileName($file, $forTmp = false) * @param string $file * @return string * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.1.0 + * @since 101.0.0 */ protected function copyImage($file) { @@ -429,7 +428,6 @@ protected function copyImage($file) * Get Media Attribute Codes cached value * * @return array - * @since 2.1.3 */ private function getMediaAttributeCodes() { diff --git a/app/code/Magento/Catalog/Model/Product/Gallery/Processor.php b/app/code/Magento/Catalog/Model/Product/Gallery/Processor.php index 6443486132e46..d5ad9a8ea1138 100644 --- a/app/code/Magento/Catalog/Model/Product/Gallery/Processor.php +++ b/app/code/Magento/Catalog/Model/Product/Gallery/Processor.php @@ -15,43 +15,43 @@ * @api * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.1.0 + * @since 101.0.0 */ class Processor { /** * @var \Magento\Catalog\Api\Data\ProductAttributeInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $attribute; /** * @var \Magento\Catalog\Api\ProductAttributeRepositoryInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $attributeRepository; /** * @var \Magento\MediaStorage\Helper\File\Storage\Database - * @since 2.1.0 + * @since 101.0.0 */ protected $fileStorageDb; /** * @var \Magento\Catalog\Model\Product\Media\Config - * @since 2.1.0 + * @since 101.0.0 */ protected $mediaConfig; /** * @var \Magento\Framework\Filesystem\Directory\WriteInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $mediaDirectory; /** * @var \Magento\Catalog\Model\ResourceModel\Product\Gallery - * @since 2.1.0 + * @since 101.0.0 */ protected $resourceModel; @@ -61,7 +61,7 @@ class Processor * @param \Magento\Catalog\Model\Product\Media\Config $mediaConfig * @param \Magento\Framework\Filesystem $filesystem * @param \Magento\Catalog\Model\ResourceModel\Product\Gallery $resourceModel - * @since 2.1.0 + * @since 101.0.0 */ public function __construct( \Magento\Catalog\Api\ProductAttributeRepositoryInterface $attributeRepository, @@ -79,7 +79,7 @@ public function __construct( /** * @return \Magento\Catalog\Api\Data\ProductAttributeInterface - * @since 2.1.0 + * @since 101.0.0 */ public function getAttribute() { @@ -96,7 +96,7 @@ public function getAttribute() * @param \Magento\Catalog\Model\Product $object * @return bool * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.1.0 + * @since 101.0.0 */ public function validate($object) { @@ -129,7 +129,7 @@ public function validate($object) * @throws \Magento\Framework\Exception\LocalizedException * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.1.0 + * @since 101.0.0 */ public function addImage( \Magento\Catalog\Model\Product $product, @@ -213,7 +213,7 @@ public function addImage( * @param string $file * @param array $data * @return $this - * @since 2.1.0 + * @since 101.0.0 */ public function updateImage(\Magento\Catalog\Model\Product $product, $file, $data) { @@ -253,7 +253,7 @@ public function updateImage(\Magento\Catalog\Model\Product $product, $file, $dat * @param \Magento\Catalog\Model\Product $product * @param string $file * @return $this - * @since 2.1.0 + * @since 101.0.0 */ public function removeImage(\Magento\Catalog\Model\Product $product, $file) { @@ -282,7 +282,7 @@ public function removeImage(\Magento\Catalog\Model\Product $product, $file) * @param \Magento\Catalog\Model\Product $product * @param string $file * @return array|boolean - * @since 2.1.0 + * @since 101.0.0 */ public function getImage(\Magento\Catalog\Model\Product $product, $file) { @@ -307,7 +307,7 @@ public function getImage(\Magento\Catalog\Model\Product $product, $file) * @param \Magento\Catalog\Model\Product $product * @param string|string[] $mediaAttribute * @return $this - * @since 2.1.0 + * @since 101.0.0 */ public function clearMediaAttribute(\Magento\Catalog\Model\Product $product, $mediaAttribute) { @@ -333,7 +333,7 @@ public function clearMediaAttribute(\Magento\Catalog\Model\Product $product, $me * @param string|string[] $mediaAttribute * @param string $value * @return $this - * @since 2.1.0 + * @since 101.0.0 */ public function setMediaAttribute(\Magento\Catalog\Model\Product $product, $mediaAttribute, $value) { @@ -355,7 +355,7 @@ public function setMediaAttribute(\Magento\Catalog\Model\Product $product, $medi /** * get media attribute codes * @return array - * @since 2.1.0 + * @since 101.0.0 */ public function getMediaAttributeCodes() { @@ -365,7 +365,7 @@ public function getMediaAttributeCodes() /** * @param string $file * @return string - * @since 2.1.0 + * @since 101.0.0 */ protected function getFilenameFromTmp($file) { @@ -377,7 +377,7 @@ protected function getFilenameFromTmp($file) * * @param string $file * @return string - * @since 2.1.0 + * @since 101.0.0 */ public function duplicateImageFromTmp($file) { @@ -404,7 +404,7 @@ public function duplicateImageFromTmp($file) * @param string $file * @param bool $forTmp * @return string - * @since 2.1.0 + * @since 101.0.0 */ protected function getUniqueFileName($file, $forTmp = false) { @@ -430,7 +430,7 @@ protected function getUniqueFileName($file, $forTmp = false) * @param string $fileName * @param string $dispretionPath * @return string - * @since 2.1.0 + * @since 101.0.0 */ protected function getNotDuplicatedFilename($fileName, $dispretionPath) { @@ -461,7 +461,7 @@ protected function getNotDuplicatedFilename($fileName, $dispretionPath) * * @param \Magento\Catalog\Model\Product $object * @return array - * @since 2.1.0 + * @since 101.0.0 */ public function getAffectedFields($object) { @@ -485,7 +485,7 @@ public function getAffectedFields($object) * Attribute value is not to be saved in a conventional way, separate table is used to store the complex value * * {@inheritdoc} - * @since 2.1.0 + * @since 101.0.0 */ public function isScalar() { diff --git a/app/code/Magento/Catalog/Model/Product/Gallery/ReadHandler.php b/app/code/Magento/Catalog/Model/Product/Gallery/ReadHandler.php index 297269e115b8d..45d949c186745 100644 --- a/app/code/Magento/Catalog/Model/Product/Gallery/ReadHandler.php +++ b/app/code/Magento/Catalog/Model/Product/Gallery/ReadHandler.php @@ -12,32 +12,32 @@ * Read handler for catalog product gallery. * * @api - * @since 2.1.0 + * @since 101.0.0 */ class ReadHandler implements ExtensionInterface { /** * @var \Magento\Catalog\Api\Data\ProductAttributeInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $attribute; /** * @var \Magento\Catalog\Api\ProductAttributeRepositoryInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $attributeRepository; /** * @var \Magento\Catalog\Model\ResourceModel\Product\Gallery - * @since 2.1.0 + * @since 101.0.0 */ protected $resourceModel; /** * @param \Magento\Catalog\Api\ProductAttributeRepositoryInterface $attributeRepository * @param \Magento\Catalog\Model\ResourceModel\Product\Gallery $resourceModel - * @since 2.1.0 + * @since 101.0.0 */ public function __construct( \Magento\Catalog\Api\ProductAttributeRepositoryInterface $attributeRepository, @@ -52,7 +52,7 @@ public function __construct( * @param array $arguments * @return object * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.1.0 + * @since 101.0.0 */ public function execute($entity, $arguments = []) { @@ -76,7 +76,7 @@ public function execute($entity, $arguments = []) * @param Product $product * @param array $mediaEntries * @return void - * @since 2.1.1 + * @since 101.0.1 */ public function addMediaDataToProduct(Product $product, array $mediaEntries) { @@ -95,7 +95,6 @@ public function addMediaDataToProduct(Product $product, array $mediaEntries) /** * @param array $rawData * @return array - * @since 2.1.1 */ private function substituteNullsWithDefaultValues(array $rawData) { @@ -116,7 +115,7 @@ private function substituteNullsWithDefaultValues(array $rawData) /** * @return \Magento\Catalog\Api\Data\ProductAttributeInterface - * @since 2.1.0 + * @since 101.0.0 */ public function getAttribute() { @@ -131,8 +130,8 @@ public function getAttribute() * @param string $key * @param string[] &$image * @return string - * @deprecated 2.1.1 - * @since 2.1.0 + * @deprecated 101.0.1 + * @since 101.0.0 */ protected function findDefaultValue($key, &$image) { diff --git a/app/code/Magento/Catalog/Model/Product/Gallery/UpdateHandler.php b/app/code/Magento/Catalog/Model/Product/Gallery/UpdateHandler.php index ea117dc460b2e..626d88f1acf82 100644 --- a/app/code/Magento/Catalog/Model/Product/Gallery/UpdateHandler.php +++ b/app/code/Magento/Catalog/Model/Product/Gallery/UpdateHandler.php @@ -11,13 +11,13 @@ * Update handler for catalog product gallery. * * @api - * @since 2.1.0 + * @since 101.0.0 */ class UpdateHandler extends \Magento\Catalog\Model\Product\Gallery\CreateHandler { /** * {@inheritdoc} - * @since 2.1.0 + * @since 101.0.0 */ protected function processDeletedImages($product, array &$images) { @@ -48,7 +48,7 @@ protected function processDeletedImages($product, array &$images) /** * {@inheritdoc} - * @since 2.1.0 + * @since 101.0.0 */ protected function processNewImage($product, array &$image) { @@ -76,7 +76,7 @@ protected function processNewImage($product, array &$image) /** * @param \Magento\Catalog\Model\Product $product * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function extractStoreIds($product) { @@ -94,7 +94,7 @@ protected function extractStoreIds($product) /** * @param array $files * @return null - * @since 2.1.0 + * @since 101.0.0 */ protected function removeDeletedImages(array $files) { diff --git a/app/code/Magento/Catalog/Model/Product/Image.php b/app/code/Magento/Catalog/Model/Product/Image.php index f45edf4643596..abd28ed3bf1ec 100644 --- a/app/code/Magento/Catalog/Model/Product/Image.php +++ b/app/code/Magento/Catalog/Model/Product/Image.php @@ -158,19 +158,16 @@ class Image extends \Magento\Framework\Model\AbstractModel /** * @var \Magento\Catalog\Model\View\Asset\ImageFactory - * @since 2.2.0 */ private $viewAssetImageFactory; /** * @var \Magento\Catalog\Model\View\Asset\PlaceholderFactory - * @since 2.2.0 */ private $viewAssetPlaceholderFactory; /** * @var \Magento\Framework\View\Asset\LocalInterface - * @since 2.2.0 */ private $imageAsset; @@ -499,7 +496,7 @@ public function getBaseFile() } /** - * @deprecated 2.2.0 + * @deprecated 101.1.0 * @return bool|string */ public function getNewFile() @@ -898,7 +895,6 @@ public function getResizedImageInfo() * * @return array * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.2.0 */ private function getMiscParams() { diff --git a/app/code/Magento/Catalog/Model/Product/Link.php b/app/code/Magento/Catalog/Model/Product/Link.php index 25e0bdca526cb..36e86f025f7b0 100644 --- a/app/code/Magento/Catalog/Model/Product/Link.php +++ b/app/code/Magento/Catalog/Model/Product/Link.php @@ -53,13 +53,13 @@ class Link extends \Magento\Framework\Model\AbstractModel /** * @var \Magento\Catalog\Model\Product\Link\SaveHandler - * @since 2.1.0 + * @since 101.0.0 */ protected $saveProductLinks; /** * @var \Magento\CatalogInventory\Helper\Stock - * @deprecated 2.1.1 + * @deprecated 101.0.1 */ protected $stockHelper; @@ -189,7 +189,6 @@ public function saveProductRelations($product) /** * @return Link\SaveHandler - * @since 2.1.0 */ private function getProductLinkSaveHandler() { diff --git a/app/code/Magento/Catalog/Model/Product/Link/Converter.php b/app/code/Magento/Catalog/Model/Product/Link/Converter.php index afd39049e38df..474aaa878082b 100644 --- a/app/code/Magento/Catalog/Model/Product/Link/Converter.php +++ b/app/code/Magento/Catalog/Model/Product/Link/Converter.php @@ -9,7 +9,7 @@ * Class Converter * * @api - * @since 2.1.0 + * @since 101.0.0 */ class Converter { @@ -18,7 +18,7 @@ class Converter * * @param \Magento\Catalog\Model\Product[] $products * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function indexBySku(array $products) { @@ -32,7 +32,7 @@ protected function indexBySku(array $products) /** * @param \Magento\Catalog\Model\Product $entity * @return array - * @since 2.1.0 + * @since 101.0.0 */ public function convertLinksToGroupedArray($entity) { diff --git a/app/code/Magento/Catalog/Model/Product/Link/Resolver.php b/app/code/Magento/Catalog/Model/Product/Link/Resolver.php index 5db4bdcb7d4af..da51decff8dbf 100644 --- a/app/code/Magento/Catalog/Model/Product/Link/Resolver.php +++ b/app/code/Magento/Catalog/Model/Product/Link/Resolver.php @@ -7,26 +7,26 @@ /** * @api - * @since 2.1.0 + * @since 101.0.0 */ class Resolver { /** * @var \Magento\Framework\App\RequestInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $request; /** * @var null|array - * @since 2.1.0 + * @since 101.0.0 */ protected $links = null; /** * Resolver constructor. * @param \Magento\Framework\App\RequestInterface $request - * @since 2.1.0 + * @since 101.0.0 */ public function __construct( \Magento\Framework\App\RequestInterface $request @@ -39,7 +39,7 @@ public function __construct( * Fallback to request if none. * * @return array|null - * @since 2.1.0 + * @since 101.0.0 */ public function getLinks() { @@ -54,7 +54,7 @@ public function getLinks() * * @param array|null $links * @return void - * @since 2.1.0 + * @since 101.0.0 */ public function override($links) { diff --git a/app/code/Magento/Catalog/Model/Product/Link/SaveHandler.php b/app/code/Magento/Catalog/Model/Product/Link/SaveHandler.php index 7a7c861d15c57..13c6a13a50407 100644 --- a/app/code/Magento/Catalog/Model/Product/Link/SaveHandler.php +++ b/app/code/Magento/Catalog/Model/Product/Link/SaveHandler.php @@ -12,25 +12,21 @@ /** * Class SaveProductLinks - * @since 2.1.0 */ class SaveHandler { /** * @var ProductLinkRepositoryInterface - * @since 2.1.0 */ protected $productLinkRepository; /** * @var MetadataPool - * @since 2.1.0 */ private $metadataPool; /** * @var Link - * @since 2.1.0 */ private $linkResource; @@ -38,7 +34,6 @@ class SaveHandler * @param MetadataPool $metadataPool * @param Link $linkResource * @param ProductLinkRepositoryInterface $productLinkRepository - * @since 2.1.0 */ public function __construct( MetadataPool $metadataPool, @@ -55,7 +50,6 @@ public function __construct( * @param object $entity * @return \Magento\Catalog\Api\Data\ProductInterface * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.1.0 */ public function execute($entityType, $entity) { diff --git a/app/code/Magento/Catalog/Model/Product/Media/Config.php b/app/code/Magento/Catalog/Model/Product/Media/Config.php index a3963b90ee01a..397cd2257d29d 100644 --- a/app/code/Magento/Catalog/Model/Product/Media/Config.php +++ b/app/code/Magento/Catalog/Model/Product/Media/Config.php @@ -29,7 +29,6 @@ class Config implements ConfigInterface /** * @var Attribute - * @since 2.0.3 */ private $attributeHelper; @@ -170,7 +169,7 @@ protected function _prepareFile($file) /** * @return array - * @since 2.0.3 + * @since 100.0.4 */ public function getMediaAttributeCodes() { @@ -179,7 +178,6 @@ public function getMediaAttributeCodes() /** * @return Attribute - * @since 2.0.3 */ private function getAttributeHelper() { diff --git a/app/code/Magento/Catalog/Model/Product/Option.php b/app/code/Magento/Catalog/Model/Product/Option.php index 15015aaab9d2a..37725b2c218d1 100644 --- a/app/code/Magento/Catalog/Model/Product/Option.php +++ b/app/code/Magento/Catalog/Model/Product/Option.php @@ -32,13 +32,13 @@ class Option extends AbstractExtensibleModel implements ProductCustomOptionInter { /** * @var Option\Repository - * @since 2.1.0 + * @since 101.0.0 */ protected $optionRepository; /** * Option type percent - * @since 2.1.0 + * @since 101.0.0 */ protected static $typePercent = 'percent'; @@ -99,7 +99,6 @@ class Option extends AbstractExtensibleModel implements ProductCustomOptionInter /** * @var MetadataPool - * @since 2.1.0 */ private $metadataPool; @@ -196,7 +195,7 @@ public function getValueById($valueId) * * @param string $type * @return bool - * @since 2.2.0 + * @since 101.1.0 */ public function hasValues($type = null) { @@ -336,7 +335,7 @@ public function groupFactory($type) /** * {@inheritdoc} * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.1.0 + * @since 101.0.0 */ public function beforeSave() { @@ -452,7 +451,7 @@ public function deleteTitles($optionId) * * @param Product $product * @return \Magento\Catalog\Model\ResourceModel\Product\Option\Collection - * @since 2.1.0 + * @since 101.0.0 */ public function getProductOptions(Product $product) { @@ -823,7 +822,7 @@ public function getExtensionAttributes() * Return regular price. * * @return float|int - * @since 2.1.0 + * @since 101.0.0 */ public function getRegularPrice() { @@ -879,7 +878,6 @@ public function setExtensionAttributes( /** * @return Option\Repository - * @since 2.1.0 */ private function getOptionRepository() { @@ -892,7 +890,6 @@ private function getOptionRepository() /** * @return \Magento\Framework\EntityManager\MetadataPool - * @since 2.1.0 */ private function getMetadataPool() { diff --git a/app/code/Magento/Catalog/Model/Product/Option/ReadHandler.php b/app/code/Magento/Catalog/Model/Product/Option/ReadHandler.php index 2979a47ae9268..211c458500c73 100644 --- a/app/code/Magento/Catalog/Model/Product/Option/ReadHandler.php +++ b/app/code/Magento/Catalog/Model/Product/Option/ReadHandler.php @@ -13,19 +13,16 @@ /** * Class ReadHandler - * @since 2.1.0 */ class ReadHandler implements ExtensionInterface { /** * @var ProductCustomOptionRepositoryInterface - * @since 2.1.0 */ protected $optionRepository; /** * @param ProductCustomOptionRepositoryInterface $optionRepository - * @since 2.1.0 */ public function __construct( ProductCustomOptionRepositoryInterface $optionRepository @@ -38,7 +35,6 @@ public function __construct( * @param array $arguments * @return \Magento\Catalog\Api\Data\ProductInterface|object * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.1.0 */ public function execute($entity, $arguments = []) { diff --git a/app/code/Magento/Catalog/Model/Product/Option/Repository.php b/app/code/Magento/Catalog/Model/Product/Option/Repository.php index e65a11abeb50c..2f39618ce4a2b 100644 --- a/app/code/Magento/Catalog/Model/Product/Option/Repository.php +++ b/app/code/Magento/Catalog/Model/Product/Option/Repository.php @@ -19,13 +19,11 @@ class Repository implements \Magento\Catalog\Api\ProductCustomOptionRepositoryIn { /** * @var \Magento\Catalog\Model\ResourceModel\Product\Option\CollectionFactory - * @since 2.1.0 */ protected $collectionFactory; /** * @var \Magento\Catalog\Model\Product\OptionFactory - * @since 2.1.0 */ protected $optionFactory; @@ -41,13 +39,11 @@ class Repository implements \Magento\Catalog\Api\ProductCustomOptionRepositoryIn /** * @var MetadataPool - * @since 2.1.0 */ protected $metadataPool; /** * @var HydratorPool - * @since 2.1.0 */ protected $hydratorPool; @@ -96,7 +92,6 @@ public function getList($sku) /** * {@inheritdoc} - * @since 2.1.0 */ public function getProductOptions(ProductInterface $product, $requiredOnly = false) { @@ -131,7 +126,6 @@ public function delete(\Magento\Catalog\Api\Data\ProductCustomOptionInterface $e /** * {@inheritdoc} - * @since 2.1.0 */ public function duplicate( \Magento\Catalog\Api\Data\ProductInterface $product, @@ -238,8 +232,7 @@ protected function markRemovedValues($newValues, $originalValues) /** * @return \Magento\Framework\EntityManager\HydratorPool - * @deprecated 2.1.0 - * @since 2.1.0 + * @deprecated 101.0.0 */ private function getHydratorPool() { diff --git a/app/code/Magento/Catalog/Model/Product/Option/SaveHandler.php b/app/code/Magento/Catalog/Model/Product/Option/SaveHandler.php index cc385b2d86ec4..c4a2d60414a7b 100644 --- a/app/code/Magento/Catalog/Model/Product/Option/SaveHandler.php +++ b/app/code/Magento/Catalog/Model/Product/Option/SaveHandler.php @@ -10,19 +10,16 @@ /** * Class SaveHandler - * @since 2.1.0 */ class SaveHandler implements ExtensionInterface { /** * @var OptionRepository - * @since 2.1.0 */ protected $optionRepository; /** * @param OptionRepository $optionRepository - * @since 2.1.0 */ public function __construct( OptionRepository $optionRepository @@ -35,7 +32,6 @@ public function __construct( * @param array $arguments * @return \Magento\Catalog\Api\Data\ProductInterface|object * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.1.0 */ public function execute($entity, $arguments = []) { diff --git a/app/code/Magento/Catalog/Model/Product/Option/Type/Date.php b/app/code/Magento/Catalog/Model/Product/Option/Type/Date.php index d1dde6e859c9f..cb6e76aebaadb 100644 --- a/app/code/Magento/Catalog/Model/Product/Option/Type/Date.php +++ b/app/code/Magento/Catalog/Model/Product/Option/Type/Date.php @@ -28,7 +28,6 @@ class Date extends \Magento\Catalog\Model\Product\Option\Type\DefaultType * Serializer interface instance. * * @var \Magento\Framework\Serialize\Serializer\Json - * @since 2.2.0 */ private $serializer; diff --git a/app/code/Magento/Catalog/Model/Product/Option/Type/File.php b/app/code/Magento/Catalog/Model/Product/Option/Type/File.php index b912ae08c8abc..a7304c9b67bb2 100644 --- a/app/code/Magento/Catalog/Model/Product/Option/Type/File.php +++ b/app/code/Magento/Catalog/Model/Product/Option/Type/File.php @@ -33,14 +33,13 @@ class File extends \Magento\Catalog\Model\Product\Option\Type\DefaultType /** * @var \Magento\Framework\Filesystem\Directory\ReadInterface - * @deprecated 2.2.0 + * @deprecated 101.1.0 * @see $mediaDirectory */ protected $_rootDirectory; /** * @var \Magento\Framework\Filesystem\Directory\WriteInterface - * @since 2.2.0 */ private $mediaDirectory; @@ -82,13 +81,11 @@ class File extends \Magento\Catalog\Model\Product\Option\Type\DefaultType /** * @var Json - * @since 2.2.0 */ private $serializer; /** * @var Filesystem - * @since 2.1.4 */ private $filesystem; @@ -408,7 +405,7 @@ public function getPrintableOptionValue($optionValue) * @param string $optionValue Prepared for cart option value * @return string * - * @deprecated 2.2.0 + * @deprecated 101.1.0 */ public function getEditableOptionValue($optionValue) { @@ -432,7 +429,7 @@ public function getEditableOptionValue($optionValue) * * @SuppressWarnings(PHPMD.UnusedFormalParameter) * - * @deprecated 2.2.0 + * @deprecated 101.1.0 */ public function parseOptionValue($optionValue, $productOptionValues) { diff --git a/app/code/Magento/Catalog/Model/Product/Option/Type/File/ValidatorFile.php b/app/code/Magento/Catalog/Model/Product/Option/Type/File/ValidatorFile.php index e2dfc8f50a1b4..af6c4dba784f0 100644 --- a/app/code/Magento/Catalog/Model/Product/Option/Type/File/ValidatorFile.php +++ b/app/code/Magento/Catalog/Model/Product/Option/Type/File/ValidatorFile.php @@ -59,7 +59,6 @@ class ValidatorFile extends Validator /** * @var \Magento\Framework\Validator\File\IsImage - * @since 2.0.1 */ protected $isImageValidator; diff --git a/app/code/Magento/Catalog/Model/Product/Price/BasePrice.php b/app/code/Magento/Catalog/Model/Product/Price/BasePrice.php index 0d7323e7a2cff..0a017ec475740 100644 --- a/app/code/Magento/Catalog/Model/Product/Price/BasePrice.php +++ b/app/code/Magento/Catalog/Model/Product/Price/BasePrice.php @@ -10,13 +10,11 @@ /** * Product Base Price DTO. - * @since 2.2.0 */ class BasePrice extends \Magento\Framework\Model\AbstractExtensibleModel implements BasePriceInterface { /** * {@inheritdoc} - * @since 2.2.0 */ public function setPrice($price) { @@ -25,7 +23,6 @@ public function setPrice($price) /** * {@inheritdoc} - * @since 2.2.0 */ public function getPrice() { @@ -34,7 +31,6 @@ public function getPrice() /** * {@inheritdoc} - * @since 2.2.0 */ public function setStoreId($storeId) { @@ -43,7 +39,6 @@ public function setStoreId($storeId) /** * {@inheritdoc} - * @since 2.2.0 */ public function getStoreId() { @@ -52,7 +47,6 @@ public function getStoreId() /** * {@inheritdoc} - * @since 2.2.0 */ public function setSku($sku) { @@ -61,7 +55,6 @@ public function setSku($sku) /** * {@inheritdoc} - * @since 2.2.0 */ public function getSku() { @@ -70,7 +63,6 @@ public function getSku() /** * {@inheritdoc} - * @since 2.2.0 */ public function getExtensionAttributes() { @@ -79,7 +71,6 @@ public function getExtensionAttributes() /** * {@inheritdoc} - * @since 2.2.0 */ public function setExtensionAttributes(\Magento\Catalog\Api\Data\BasePriceExtensionInterface $extensionAttributes) { diff --git a/app/code/Magento/Catalog/Model/Product/Price/BasePriceStorage.php b/app/code/Magento/Catalog/Model/Product/Price/BasePriceStorage.php index 32e7e12a4689a..1536088ef45e7 100644 --- a/app/code/Magento/Catalog/Model/Product/Price/BasePriceStorage.php +++ b/app/code/Magento/Catalog/Model/Product/Price/BasePriceStorage.php @@ -8,7 +8,6 @@ /** * Base prices storage. - * @since 2.2.0 */ class BasePriceStorage implements \Magento\Catalog\Api\BasePriceStorageInterface { @@ -16,55 +15,46 @@ class BasePriceStorage implements \Magento\Catalog\Api\BasePriceStorageInterface * Attribute code. * * @var string - * @since 2.2.0 */ private $attributeCode = 'price'; /** * @var PricePersistence - * @since 2.2.0 */ private $pricePersistence; /** * @var \Magento\Catalog\Api\Data\BasePriceInterfaceFactory - * @since 2.2.0 */ private $basePriceInterfaceFactory; /** * @var \Magento\Catalog\Model\ProductIdLocatorInterface - * @since 2.2.0 */ private $productIdLocator; /** * @var \Magento\Store\Api\StoreRepositoryInterface - * @since 2.2.0 */ private $storeRepository; /** * @var \Magento\Catalog\Api\ProductRepositoryInterface - * @since 2.2.0 */ private $productRepository; /** * @var \Magento\Catalog\Model\Product\Price\Validation\Result - * @since 2.2.0 */ private $validationResult; /** * @var PricePersistenceFactory - * @since 2.2.0 */ private $pricePersistenceFactory; /** * @var \Magento\Catalog\Model\Product\Price\Validation\InvalidSkuProcessor - * @since 2.2.0 */ private $invalidSkuProcessor; @@ -72,7 +62,6 @@ class BasePriceStorage implements \Magento\Catalog\Api\BasePriceStorageInterface * Price type allowed. * * @var int - * @since 2.2.0 */ private $priceTypeAllowed = 1; @@ -80,7 +69,6 @@ class BasePriceStorage implements \Magento\Catalog\Api\BasePriceStorageInterface * Allowed product types. * * @var array - * @since 2.2.0 */ private $allowedProductTypes = []; @@ -93,7 +81,6 @@ class BasePriceStorage implements \Magento\Catalog\Api\BasePriceStorageInterface * @param \Magento\Catalog\Model\Product\Price\Validation\Result $validationResult * @param \Magento\Catalog\Model\Product\Price\Validation\InvalidSkuProcessor $invalidSkuProcessor * @param array $allowedProductTypes [optional] - * @since 2.2.0 */ public function __construct( PricePersistenceFactory $pricePersistenceFactory, @@ -117,7 +104,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.2.0 */ public function get(array $skus) { @@ -143,7 +129,6 @@ public function get(array $skus) /** * {@inheritdoc} - * @since 2.2.0 */ public function update(array $prices) { @@ -170,7 +155,6 @@ public function update(array $prices) * Get price persistence. * * @return PricePersistence - * @since 2.2.0 */ private function getPricePersistence() { @@ -186,7 +170,6 @@ private function getPricePersistence() * * @param \Magento\Catalog\Api\Data\BasePriceInterface[] $prices * @return array - * @since 2.2.0 */ private function retrieveValidPrices(array $prices) { diff --git a/app/code/Magento/Catalog/Model/Product/Price/Cost.php b/app/code/Magento/Catalog/Model/Product/Price/Cost.php index c075814526a07..96b9103790c97 100644 --- a/app/code/Magento/Catalog/Model/Product/Price/Cost.php +++ b/app/code/Magento/Catalog/Model/Product/Price/Cost.php @@ -10,13 +10,11 @@ /** * Product Cost DTO. - * @since 2.2.0 */ class Cost extends \Magento\Framework\Model\AbstractExtensibleModel implements CostInterface { /** * {@inheritdoc} - * @since 2.2.0 */ public function setCost($cost) { @@ -25,7 +23,6 @@ public function setCost($cost) /** * {@inheritdoc} - * @since 2.2.0 */ public function getCost() { @@ -34,7 +31,6 @@ public function getCost() /** * {@inheritdoc} - * @since 2.2.0 */ public function setStoreId($storeId) { @@ -43,7 +39,6 @@ public function setStoreId($storeId) /** * {@inheritdoc} - * @since 2.2.0 */ public function getStoreId() { @@ -52,7 +47,6 @@ public function getStoreId() /** * {@inheritdoc} - * @since 2.2.0 */ public function setSku($sku) { @@ -61,7 +55,6 @@ public function setSku($sku) /** * {@inheritdoc} - * @since 2.2.0 */ public function getSku() { @@ -70,7 +63,6 @@ public function getSku() /** * {@inheritdoc} - * @since 2.2.0 */ public function getExtensionAttributes() { @@ -79,7 +71,6 @@ public function getExtensionAttributes() /** * {@inheritdoc} - * @since 2.2.0 */ public function setExtensionAttributes(\Magento\Catalog\Api\Data\CostExtensionInterface $extensionAttributes) { diff --git a/app/code/Magento/Catalog/Model/Product/Price/CostStorage.php b/app/code/Magento/Catalog/Model/Product/Price/CostStorage.php index a63e93371e8f5..54d0359f010c6 100644 --- a/app/code/Magento/Catalog/Model/Product/Price/CostStorage.php +++ b/app/code/Magento/Catalog/Model/Product/Price/CostStorage.php @@ -8,7 +8,6 @@ /** * Product cost storage. - * @since 2.2.0 */ class CostStorage implements \Magento\Catalog\Api\CostStorageInterface { @@ -16,37 +15,31 @@ class CostStorage implements \Magento\Catalog\Api\CostStorageInterface * Attribute code. * * @var string - * @since 2.2.0 */ private $attributeCode = 'cost'; /** * @var PricePersistence - * @since 2.2.0 */ private $pricePersistence; /** * @var \Magento\Catalog\Api\Data\CostInterfaceFactory - * @since 2.2.0 */ private $costInterfaceFactory; /** * @var \Magento\Catalog\Model\ProductIdLocatorInterface - * @since 2.2.0 */ private $productIdLocator; /** * @var \Magento\Catalog\Model\Product\Price\Validation\Result - * @since 2.2.0 */ private $validationResult; /** * @var \Magento\Catalog\Model\Product\Price\Validation\InvalidSkuProcessor - * @since 2.2.0 */ private $invalidSkuProcessor; @@ -54,19 +47,16 @@ class CostStorage implements \Magento\Catalog\Api\CostStorageInterface * Allowed product types. * * @var array - * @since 2.2.0 */ private $allowedProductTypes = []; /** * @var PricePersistenceFactory - * @since 2.2.0 */ private $pricePersistenceFactory; /** * @var \Magento\Store\Api\StoreRepositoryInterface - * @since 2.2.0 */ private $storeRepository; @@ -80,7 +70,6 @@ class CostStorage implements \Magento\Catalog\Api\CostStorageInterface * @param \Magento\Catalog\Model\Product\Price\Validation\Result $validationResult * @param \Magento\Catalog\Model\Product\Price\Validation\InvalidSkuProcessor $invalidSkuProcessor * @param array $allowedProductTypes [optional] - * @since 2.2.0 */ public function __construct( PricePersistenceFactory $pricePersistenceFactory, @@ -102,7 +91,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.2.0 */ public function get(array $skus) { @@ -124,7 +112,6 @@ public function get(array $skus) /** * {@inheritdoc} - * @since 2.2.0 */ public function update(array $prices) { @@ -150,7 +137,6 @@ public function update(array $prices) /** * {@inheritdoc} - * @since 2.2.0 */ public function delete(array $skus) { @@ -164,7 +150,6 @@ public function delete(array $skus) * Get price persistence. * * @return PricePersistence - * @since 2.2.0 */ private function getPricePersistence() { @@ -180,7 +165,6 @@ private function getPricePersistence() * * @param array $prices * @return array - * @since 2.2.0 */ private function retrieveValidPrices(array $prices) { diff --git a/app/code/Magento/Catalog/Model/Product/Price/PricePersistence.php b/app/code/Magento/Catalog/Model/Product/Price/PricePersistence.php index 565214fd38316..e3085f7cdefe3 100644 --- a/app/code/Magento/Catalog/Model/Product/Price/PricePersistence.php +++ b/app/code/Magento/Catalog/Model/Product/Price/PricePersistence.php @@ -8,7 +8,6 @@ /** * Price persistence. - * @since 2.2.0 */ class PricePersistence { @@ -16,25 +15,21 @@ class PricePersistence * Price storage table. * * @var string - * @since 2.2.0 */ private $table = 'catalog_product_entity_decimal'; /** * @var \Magento\Catalog\Model\ResourceModel\Attribute - * @since 2.2.0 */ private $attributeResource; /** * @var \Magento\Catalog\Api\ProductAttributeRepositoryInterface - * @since 2.2.0 */ private $attributeRepository; /** * @var \Magento\Catalog\Model\ProductIdLocatorInterface - * @since 2.2.0 */ private $productIdLocator; @@ -42,7 +37,6 @@ class PricePersistence * Metadata pool. * * @var \Magento\Framework\EntityManager\MetadataPool - * @since 2.2.0 */ private $metadataPool; @@ -50,7 +44,6 @@ class PricePersistence * Attribute code. * * @var string - * @since 2.2.0 */ private $attributeCode; @@ -58,7 +51,6 @@ class PricePersistence * Attribute ID. * * @var int - * @since 2.2.0 */ private $attributeId; @@ -66,7 +58,6 @@ class PricePersistence * Items per operation. * * @var int - * @since 2.2.0 */ private $itemsPerOperation = 500; @@ -78,7 +69,6 @@ class PricePersistence * @param \Magento\Catalog\Model\ProductIdLocatorInterface $productIdLocator * @param \Magento\Framework\EntityManager\MetadataPool $metadataPool * @param string $attributeCode - * @since 2.2.0 */ public function __construct( \Magento\Catalog\Model\ResourceModel\Attribute $attributeResource, @@ -99,7 +89,6 @@ public function __construct( * * @param array $skus * @return array - * @since 2.2.0 */ public function get(array $skus) { @@ -119,7 +108,6 @@ public function get(array $skus) * @param array $prices * @return void * @throws \Magento\Framework\Exception\CouldNotSaveException - * @since 2.2.0 */ public function update(array $prices) { @@ -152,7 +140,6 @@ public function update(array $prices) * @param array $skus * @return void * @throws \Magento\Framework\Exception\CouldNotDeleteException - * @since 2.2.0 */ public function delete(array $skus) { @@ -185,7 +172,6 @@ public function delete(array $skus) * @param int $id * @param array $skus * @return int|null - * @since 2.2.0 */ public function retrieveSkuById($id, $skus) { @@ -202,7 +188,6 @@ public function retrieveSkuById($id, $skus) * Get attribute ID. * * @return int - * @since 2.2.0 */ private function getAttributeId() { @@ -218,7 +203,6 @@ private function getAttributeId() * * @param array $skus * @return array - * @since 2.2.0 */ private function retrieveAffectedIds(array $skus) { @@ -235,7 +219,6 @@ private function retrieveAffectedIds(array $skus) * Get link field. * * @return string - * @since 2.2.0 */ public function getEntityLinkField() { diff --git a/app/code/Magento/Catalog/Model/Product/Price/PriceUpdateResult.php b/app/code/Magento/Catalog/Model/Product/Price/PriceUpdateResult.php index 4a9eeee410c04..663786b48fb3f 100644 --- a/app/code/Magento/Catalog/Model/Product/Price/PriceUpdateResult.php +++ b/app/code/Magento/Catalog/Model/Product/Price/PriceUpdateResult.php @@ -10,13 +10,11 @@ /** * {@inheritdoc} - * @since 2.2.0 */ class PriceUpdateResult extends \Magento\Framework\Model\AbstractExtensibleModel implements PriceUpdateResultInterface { /** * {@inheritdoc} - * @since 2.2.0 */ public function getMessage() { @@ -25,7 +23,6 @@ public function getMessage() /** * {@inheritdoc} - * @since 2.2.0 */ public function setMessage($message) { @@ -34,7 +31,6 @@ public function setMessage($message) /** * {@inheritdoc} - * @since 2.2.0 */ public function getParameters() { @@ -43,7 +39,6 @@ public function getParameters() /** * {@inheritdoc} - * @since 2.2.0 */ public function setParameters(array $parameters) { @@ -52,7 +47,6 @@ public function setParameters(array $parameters) /** * {@inheritdoc} - * @since 2.2.0 */ public function getExtensionAttributes() { @@ -61,7 +55,6 @@ public function getExtensionAttributes() /** * {@inheritdoc} - * @since 2.2.0 */ public function setExtensionAttributes( \Magento\Catalog\Api\Data\PriceUpdateResultExtensionInterface $extensionAttributes diff --git a/app/code/Magento/Catalog/Model/Product/Price/SpecialPrice.php b/app/code/Magento/Catalog/Model/Product/Price/SpecialPrice.php index 5af2eb92b5abf..dcd2dd88de81e 100644 --- a/app/code/Magento/Catalog/Model/Product/Price/SpecialPrice.php +++ b/app/code/Magento/Catalog/Model/Product/Price/SpecialPrice.php @@ -10,13 +10,11 @@ /** * Product Special Price class is used to encapsulate data that can be processed by efficient price API. - * @since 2.2.0 */ class SpecialPrice extends \Magento\Framework\Model\AbstractExtensibleModel implements SpecialPriceInterface { /** * {@inheritdoc} - * @since 2.2.0 */ public function setPrice($price) { @@ -25,7 +23,6 @@ public function setPrice($price) /** * {@inheritdoc} - * @since 2.2.0 */ public function getPrice() { @@ -34,7 +31,6 @@ public function getPrice() /** * {@inheritdoc} - * @since 2.2.0 */ public function setStoreId($storeId) { @@ -43,7 +39,6 @@ public function setStoreId($storeId) /** * {@inheritdoc} - * @since 2.2.0 */ public function getStoreId() { @@ -52,7 +47,6 @@ public function getStoreId() /** * {@inheritdoc} - * @since 2.2.0 */ public function setSku($sku) { @@ -61,7 +55,6 @@ public function setSku($sku) /** * {@inheritdoc} - * @since 2.2.0 */ public function getSku() { @@ -70,7 +63,6 @@ public function getSku() /** * {@inheritdoc} - * @since 2.2.0 */ public function setPriceFrom($datetime) { @@ -79,7 +71,6 @@ public function setPriceFrom($datetime) /** * {@inheritdoc} - * @since 2.2.0 */ public function getPriceFrom() { @@ -88,7 +79,6 @@ public function getPriceFrom() /** * {@inheritdoc} - * @since 2.2.0 */ public function setPriceTo($datetime) { @@ -97,7 +87,6 @@ public function setPriceTo($datetime) /** * {@inheritdoc} - * @since 2.2.0 */ public function getPriceTo() { @@ -106,7 +95,6 @@ public function getPriceTo() /** * {@inheritdoc} - * @since 2.2.0 */ public function getExtensionAttributes() { @@ -115,7 +103,6 @@ public function getExtensionAttributes() /** * {@inheritdoc} - * @since 2.2.0 */ public function setExtensionAttributes( \Magento\Catalog\Api\Data\SpecialPriceExtensionInterface $extensionAttributes diff --git a/app/code/Magento/Catalog/Model/Product/Price/SpecialPriceStorage.php b/app/code/Magento/Catalog/Model/Product/Price/SpecialPriceStorage.php index de2931053e990..8f1e64e1b7a3a 100644 --- a/app/code/Magento/Catalog/Model/Product/Price/SpecialPriceStorage.php +++ b/app/code/Magento/Catalog/Model/Product/Price/SpecialPriceStorage.php @@ -10,49 +10,41 @@ /** * Special price storage presents efficient price API and is used to retrieve, update or delete special prices. - * @since 2.2.0 */ class SpecialPriceStorage implements \Magento\Catalog\Api\SpecialPriceStorageInterface { /** * @var \Magento\Catalog\Api\SpecialPriceInterface - * @since 2.2.0 */ private $specialPriceResource; /** * @var \Magento\Catalog\Api\Data\SpecialPriceInterfaceFactory - * @since 2.2.0 */ private $specialPriceFactory; /** * @var \Magento\Catalog\Model\ProductIdLocatorInterface - * @since 2.2.0 */ private $productIdLocator; /** * @var \Magento\Store\Api\StoreRepositoryInterface - * @since 2.2.0 */ private $storeRepository; /** * @var \Magento\Catalog\Model\Product\Price\Validation\Result - * @since 2.2.0 */ private $validationResult; /** * @var \Magento\Catalog\Model\Product\Price\Validation\InvalidSkuProcessor - * @since 2.2.0 */ private $invalidSkuProcessor; /** * @var array - * @since 2.2.0 */ private $allowedProductTypes = []; @@ -64,7 +56,6 @@ class SpecialPriceStorage implements \Magento\Catalog\Api\SpecialPriceStorageInt * @param \Magento\Catalog\Model\Product\Price\Validation\Result $validationResult * @param \Magento\Catalog\Model\Product\Price\Validation\InvalidSkuProcessor $invalidSkuProcessor * @param array $allowedProductTypes [optional] - * @since 2.2.0 */ public function __construct( \Magento\Catalog\Api\SpecialPriceInterface $specialPriceResource, @@ -86,7 +77,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.2.0 */ public function get(array $skus) { @@ -113,7 +103,6 @@ public function get(array $skus) /** * {@inheritdoc} - * @since 2.2.0 */ public function update(array $prices) { @@ -125,7 +114,6 @@ public function update(array $prices) /** * {@inheritdoc} - * @since 2.2.0 */ public function delete(array $prices) { @@ -140,7 +128,6 @@ public function delete(array $prices) * * @param array $prices * @return array - * @since 2.2.0 */ private function retrieveValidPrices(array $prices) { @@ -216,7 +203,6 @@ private function retrieveValidPrices(array $prices) * @param string $label * @param int $key * @return void - * @since 2.2.0 */ private function checkDate(\Magento\Catalog\Api\Data\SpecialPriceInterface $price, $value, $label, $key) { @@ -252,7 +238,6 @@ private function checkDate(\Magento\Catalog\Api\Data\SpecialPriceInterface $pric * @param \Magento\Catalog\Api\Data\SpecialPriceInterface $price * @param int $key * @return void - * @since 2.2.0 */ private function checkPrice(\Magento\Catalog\Api\Data\SpecialPriceInterface $price, $key) { @@ -287,7 +272,6 @@ private function checkPrice(\Magento\Catalog\Api\Data\SpecialPriceInterface $pri * @param int $productId * @param array $skus * @return string|null - * @since 2.2.0 */ private function retrieveSkuById($productId, array $skus) { @@ -305,7 +289,6 @@ private function retrieveSkuById($productId, array $skus) * * @param string $date * @return bool - * @since 2.2.0 */ private function isCorrectDateValue($date) { diff --git a/app/code/Magento/Catalog/Model/Product/Price/TierPrice.php b/app/code/Magento/Catalog/Model/Product/Price/TierPrice.php index 025f8532500cc..fa1c41ea0a0d8 100644 --- a/app/code/Magento/Catalog/Model/Product/Price/TierPrice.php +++ b/app/code/Magento/Catalog/Model/Product/Price/TierPrice.php @@ -10,13 +10,11 @@ /** * TierPrice DTO. - * @since 2.2.0 */ class TierPrice extends \Magento\Framework\Model\AbstractExtensibleModel implements TierPriceInterface { /** * {@inheritdoc} - * @since 2.2.0 */ public function setPrice($price) { @@ -25,7 +23,6 @@ public function setPrice($price) /** * {@inheritdoc} - * @since 2.2.0 */ public function getPrice() { @@ -34,7 +31,6 @@ public function getPrice() /** * {@inheritdoc} - * @since 2.2.0 */ public function setPriceType($type) { @@ -43,7 +39,6 @@ public function setPriceType($type) /** * {@inheritdoc} - * @since 2.2.0 */ public function getPriceType() { @@ -52,7 +47,6 @@ public function getPriceType() /** * {@inheritdoc} - * @since 2.2.0 */ public function setWebsiteId($websiteId) { @@ -61,7 +55,6 @@ public function setWebsiteId($websiteId) /** * {@inheritdoc} - * @since 2.2.0 */ public function getWebsiteId() { @@ -70,7 +63,6 @@ public function getWebsiteId() /** * {@inheritdoc} - * @since 2.2.0 */ public function setSku($sku) { @@ -79,7 +71,6 @@ public function setSku($sku) /** * {@inheritdoc} - * @since 2.2.0 */ public function getSku() { @@ -88,7 +79,6 @@ public function getSku() /** * {@inheritdoc} - * @since 2.2.0 */ public function setCustomerGroup($group) { @@ -97,7 +87,6 @@ public function setCustomerGroup($group) /** * {@inheritdoc} - * @since 2.2.0 */ public function getCustomerGroup() { @@ -106,7 +95,6 @@ public function getCustomerGroup() /** * {@inheritdoc} - * @since 2.2.0 */ public function setQuantity($quantity) { @@ -115,7 +103,6 @@ public function setQuantity($quantity) /** * {@inheritdoc} - * @since 2.2.0 */ public function getQuantity() { @@ -124,7 +111,6 @@ public function getQuantity() /** * {@inheritdoc} - * @since 2.2.0 */ public function getExtensionAttributes() { @@ -133,7 +119,6 @@ public function getExtensionAttributes() /** * {@inheritdoc} - * @since 2.2.0 */ public function setExtensionAttributes(\Magento\Catalog\Api\Data\TierPriceExtensionInterface $extensionAttributes) { diff --git a/app/code/Magento/Catalog/Model/Product/Price/TierPriceFactory.php b/app/code/Magento/Catalog/Model/Product/Price/TierPriceFactory.php index 8d888ab6c4d40..a2e151c1c9624 100644 --- a/app/code/Magento/Catalog/Model/Product/Price/TierPriceFactory.php +++ b/app/code/Magento/Catalog/Model/Product/Price/TierPriceFactory.php @@ -11,7 +11,6 @@ /** * Tier price factory. - * @since 2.2.0 */ class TierPriceFactory { @@ -19,7 +18,6 @@ class TierPriceFactory * Tier price factory. * * @var \Magento\Catalog\Api\Data\TierPriceInterfaceFactory - * @since 2.2.0 */ private $tierPriceFactory; @@ -27,7 +25,6 @@ class TierPriceFactory * Tier price persistence. * * @var TierPricePersistence - * @since 2.2.0 */ private $tierPricePersistence; @@ -35,7 +32,6 @@ class TierPriceFactory * Customer group repository. * * @var \Magento\Customer\Api\GroupRepositoryInterface - * @since 2.2.0 */ private $customerGroupRepository; @@ -43,7 +39,6 @@ class TierPriceFactory * All groups value. * * @var string - * @since 2.2.0 */ private $allGroupsValue = 'all groups'; @@ -51,7 +46,6 @@ class TierPriceFactory * All groups ID. * * @var int - * @since 2.2.0 */ private $allGroupsId = 1; @@ -59,7 +53,6 @@ class TierPriceFactory * Customer groups by code. * * @var array - * @since 2.2.0 */ private $customerGroupsByCode = []; @@ -71,7 +64,6 @@ class TierPriceFactory * @param \Magento\Customer\Api\GroupRepositoryInterface $customerGroupRepository * @param \Magento\Framework\Api\SearchCriteriaBuilder $searchCriteriaBuilder * @param \Magento\Framework\Api\FilterBuilder $filterBuilder - * @since 2.2.0 */ public function __construct( \Magento\Catalog\Api\Data\TierPriceInterfaceFactory $tierPriceFactory, @@ -93,7 +85,6 @@ public function __construct( * @param array $rawPrice * @param string $sku * @return \Magento\Catalog\Api\Data\TierPriceInterface - * @since 2.2.0 */ public function create(array $rawPrice, $sku) { @@ -122,7 +113,6 @@ public function create(array $rawPrice, $sku) * @param TierPriceInterface $price * @param int $id * @return array - * @since 2.2.0 */ public function createSkeleton(TierPriceInterface $price, $id) { @@ -148,7 +138,6 @@ public function createSkeleton(TierPriceInterface $price, $id) * * @param TierPriceInterface $price * @return int - * @since 2.2.0 */ private function retrievePriceForAllGroupsValue(TierPriceInterface $price) { @@ -161,7 +150,6 @@ private function retrievePriceForAllGroupsValue(TierPriceInterface $price) * @param string $code * @return int * @throws NoSuchEntityException - * @since 2.2.0 */ private function retrieveGroupValue($code) { diff --git a/app/code/Magento/Catalog/Model/Product/Price/TierPricePersistence.php b/app/code/Magento/Catalog/Model/Product/Price/TierPricePersistence.php index 908b69f050735..fd247d2ce9e32 100644 --- a/app/code/Magento/Catalog/Model/Product/Price/TierPricePersistence.php +++ b/app/code/Magento/Catalog/Model/Product/Price/TierPricePersistence.php @@ -8,7 +8,6 @@ /** * Persists tier prices. - * @since 2.2.0 */ class TierPricePersistence { @@ -16,7 +15,6 @@ class TierPricePersistence * Number or items per each operation. * * @var int - * @since 2.2.0 */ private $itemsPerOperation = 500; @@ -24,7 +22,6 @@ class TierPricePersistence * Tier price resource model. * * @var \Magento\Catalog\Model\ResourceModel\Product\Attribute\Backend\Tierprice - * @since 2.2.0 */ private $tierpriceResource; @@ -32,7 +29,6 @@ class TierPricePersistence * Metadata pool. * * @var \Magento\Framework\EntityManager\MetadataPool - * @since 2.2.0 */ private $metadataPool; @@ -41,7 +37,6 @@ class TierPricePersistence * * @param \Magento\Catalog\Model\ResourceModel\Product\Attribute\Backend\Tierprice $tierpriceResource * @param \Magento\Framework\EntityManager\MetadataPool $metadataPool - * @since 2.2.0 */ public function __construct( \Magento\Catalog\Model\ResourceModel\Product\Attribute\Backend\Tierprice $tierpriceResource, @@ -56,7 +51,6 @@ public function __construct( * * @param array $ids * @return array - * @since 2.2.0 */ public function get(array $ids) { @@ -72,7 +66,6 @@ public function get(array $ids) * @param array $prices * @return void * @throws \Magento\Framework\Exception\CouldNotSaveException - * @since 2.2.0 */ public function update(array $prices) { @@ -103,7 +96,6 @@ public function update(array $prices) * @param array $ids * @return void * @throws \Magento\Framework\Exception\CouldNotSaveException - * @since 2.2.0 */ public function replace(array $prices, array $ids) { @@ -139,7 +131,6 @@ public function replace(array $prices, array $ids) * @param array $ids * @return void * @throws \Magento\Framework\Exception\CouldNotDeleteException - * @since 2.2.0 */ public function delete(array $ids) { @@ -166,7 +157,6 @@ public function delete(array $ids) * Get link field. * * @return string - * @since 2.2.0 */ public function getEntityLinkField() { diff --git a/app/code/Magento/Catalog/Model/Product/Price/TierPriceStorage.php b/app/code/Magento/Catalog/Model/Product/Price/TierPriceStorage.php index f7f871558c2d0..3bb6bba69bfb4 100644 --- a/app/code/Magento/Catalog/Model/Product/Price/TierPriceStorage.php +++ b/app/code/Magento/Catalog/Model/Product/Price/TierPriceStorage.php @@ -10,7 +10,6 @@ /** * Tier price storage. - * @since 2.2.0 */ class TierPriceStorage implements \Magento\Catalog\Api\TierPriceStorageInterface { @@ -18,7 +17,6 @@ class TierPriceStorage implements \Magento\Catalog\Api\TierPriceStorageInterface * Tier price resource model. * * @var TierPricePersistence - * @since 2.2.0 */ private $tierPricePersistence; @@ -26,7 +24,6 @@ class TierPriceStorage implements \Magento\Catalog\Api\TierPriceStorageInterface * Tier price validator. * * @var \Magento\Catalog\Model\Product\Price\Validation\TierPriceValidator - * @since 2.2.0 */ private $tierPriceValidator; @@ -34,7 +31,6 @@ class TierPriceStorage implements \Magento\Catalog\Api\TierPriceStorageInterface * Tier price builder. * * @var TierPriceFactory - * @since 2.2.0 */ private $tierPriceFactory; @@ -42,7 +38,6 @@ class TierPriceStorage implements \Magento\Catalog\Api\TierPriceStorageInterface * Price indexer. * * @var \Magento\Catalog\Model\Indexer\Product\Price - * @since 2.2.0 */ private $priceIndexer; @@ -50,7 +45,6 @@ class TierPriceStorage implements \Magento\Catalog\Api\TierPriceStorageInterface * Product ID locator. * * @var \Magento\Catalog\Model\ProductIdLocatorInterface - * @since 2.2.0 */ private $productIdLocator; @@ -58,7 +52,6 @@ class TierPriceStorage implements \Magento\Catalog\Api\TierPriceStorageInterface * Page cache config. * * @var \Magento\PageCache\Model\Config - * @since 2.2.0 */ private $config; @@ -66,7 +59,6 @@ class TierPriceStorage implements \Magento\Catalog\Api\TierPriceStorageInterface * Cache type list. * * @var \Magento\Framework\App\Cache\TypeListInterface - * @since 2.2.0 */ private $typeList; @@ -74,7 +66,6 @@ class TierPriceStorage implements \Magento\Catalog\Api\TierPriceStorageInterface * Indexer chunk value. * * @var int - * @since 2.2.0 */ private $indexerChunkValue = 500; @@ -86,7 +77,6 @@ class TierPriceStorage implements \Magento\Catalog\Api\TierPriceStorageInterface * @param \Magento\Catalog\Model\ProductIdLocatorInterface $productIdLocator * @param \Magento\PageCache\Model\Config $config * @param \Magento\Framework\App\Cache\TypeListInterface $typeList - * @since 2.2.0 */ public function __construct( TierPricePersistence $tierPricePersistence, @@ -108,7 +98,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.2.0 */ public function get(array $skus) { @@ -119,7 +108,6 @@ public function get(array $skus) /** * {@inheritdoc} - * @since 2.2.0 */ public function update(array $prices) { @@ -141,7 +129,6 @@ public function update(array $prices) /** * {@inheritdoc} - * @since 2.2.0 */ public function replace(array $prices) { @@ -158,7 +145,6 @@ public function replace(array $prices) /** * {@inheritdoc} - * @since 2.2.0 */ public function delete(array $prices) { @@ -179,7 +165,6 @@ public function delete(array $prices) * @param array $skus * @param bool $groupBySku [optional] * @return array - * @since 2.2.0 */ private function getExistingPrices(array $skus, $groupBySku = false) { @@ -205,7 +190,6 @@ private function getExistingPrices(array $skus, $groupBySku = false) * * @param array $prices * @return array - * @since 2.2.0 */ private function retrieveFormattedPrices(array $prices) { @@ -227,7 +211,6 @@ private function retrieveFormattedPrices(array $prices) * * @param TierPriceInterface[] $prices * @return array - * @since 2.2.0 */ private function retrieveAffectedProductIdsForPrices(array $prices) { @@ -245,7 +228,6 @@ private function retrieveAffectedProductIdsForPrices(array $prices) * * @param array $skus * @return array - * @since 2.2.0 */ private function retrieveAffectedIds(array $skus) { @@ -263,7 +245,6 @@ private function retrieveAffectedIds(array $skus) * * @param array $prices * @return array - * @since 2.2.0 */ private function retrieveAffectedPriceIds(array $prices) { @@ -285,7 +266,6 @@ private function retrieveAffectedPriceIds(array $prices) * @param array $price * @param array $existingPrices * @return int|null - * @since 2.2.0 */ private function retrievePriceId(array $price, array $existingPrices) { @@ -311,7 +291,6 @@ private function retrievePriceId(array $price, array $existingPrices) * @param array $existingPrice * @param array $price * @return bool - * @since 2.2.0 */ private function isCorrectPriceValue(array $existingPrice, array $price) { @@ -326,7 +305,6 @@ private function isCorrectPriceValue(array $existingPrice, array $price) * @param int $id * @param array $skus * @return string|null - * @since 2.2.0 */ private function retrieveSkuById($id, $skus) { @@ -343,7 +321,6 @@ private function retrieveSkuById($id, $skus) * Invalidate full page cache. * * @return void - * @since 2.2.0 */ private function invalidateFullPageCache() { @@ -357,7 +334,6 @@ private function invalidateFullPageCache() * * @param array $ids * @return void - * @since 2.2.0 */ private function reindexPrices(array $ids) { @@ -372,7 +348,6 @@ private function reindexPrices(array $ids) * @param array $prices * @param array $ids * @return array - * @since 2.2.0 */ private function removeIncorrectPrices(array $prices, array $ids) { diff --git a/app/code/Magento/Catalog/Model/Product/Price/Validation/InvalidSkuProcessor.php b/app/code/Magento/Catalog/Model/Product/Price/Validation/InvalidSkuProcessor.php index 0fe345f0e694e..744fa76ff69b6 100644 --- a/app/code/Magento/Catalog/Model/Product/Price/Validation/InvalidSkuProcessor.php +++ b/app/code/Magento/Catalog/Model/Product/Price/Validation/InvalidSkuProcessor.php @@ -8,14 +8,12 @@ /** * Class is responsible to detect list of invalid SKU values from list of provided skus and allowed product types. - * @since 2.2.0 */ class InvalidSkuProcessor { /** * @param \Magento\Catalog\Model\ProductIdLocatorInterface $productIdLocator * @param \Magento\Catalog\Api\ProductRepositoryInterface $productRepository - * @since 2.2.0 */ public function __construct( \Magento\Catalog\Model\ProductIdLocatorInterface $productIdLocator, @@ -32,7 +30,6 @@ public function __construct( * @param array $allowedProductTypes * @param int|null $allowedPriceTypeValue * @return array - * @since 2.2.0 */ public function retrieveInvalidSkuList(array $skus, array $allowedProductTypes, $allowedPriceTypeValue = null) { @@ -72,7 +69,6 @@ public function retrieveInvalidSkuList(array $skus, array $allowedProductTypes, * @param array $allowedProductTypes * @param int|null $allowedPriceTypeValue * @return array - * @since 2.2.0 */ public function filterSkuList(array $skus, array $allowedProductTypes, $allowedPriceTypeValue = null) { diff --git a/app/code/Magento/Catalog/Model/Product/Price/Validation/Result.php b/app/code/Magento/Catalog/Model/Product/Price/Validation/Result.php index d43da97b07481..ce7cda3d77266 100644 --- a/app/code/Magento/Catalog/Model/Product/Price/Validation/Result.php +++ b/app/code/Magento/Catalog/Model/Product/Price/Validation/Result.php @@ -10,13 +10,12 @@ * Validation Result is used to aggregate errors that occurred during price update. * * @api - * @since 2.2.0 + * @since 101.1.0 */ class Result { /** * @var \Magento\Catalog\Api\Data\PriceUpdateResultInterfaceFactory - * @since 2.2.0 */ private $priceUpdateResultFactory; @@ -24,13 +23,12 @@ class Result * Failed items. * * @var array - * @since 2.2.0 */ private $failedItems = []; /** * @param \Magento\Catalog\Api\Data\PriceUpdateResultInterfaceFactory $priceUpdateResultFactory - * @since 2.2.0 + * @since 101.1.0 */ public function __construct( \Magento\Catalog\Api\Data\PriceUpdateResultInterfaceFactory $priceUpdateResultFactory @@ -46,7 +44,7 @@ public function __construct( * @param array $parameters (optional). Placeholder values in ['placeholder key' => 'placeholder value'] format * for failure reason message. * @return void - * @since 2.2.0 + * @since 101.1.0 */ public function addFailedItem($id, $message, array $parameters = []) { @@ -60,7 +58,7 @@ public function addFailedItem($id, $message, array $parameters = []) * Get ids of rows, that contained errors during price update. * * @return int[] - * @since 2.2.0 + * @since 101.1.0 */ public function getFailedRowIds() { @@ -71,7 +69,7 @@ public function getFailedRowIds() * Get price update errors, that occurred during price update. * * @return \Magento\Catalog\Api\Data\PriceUpdateResultInterface[] - * @since 2.2.0 + * @since 101.1.0 */ public function getFailedItems() { diff --git a/app/code/Magento/Catalog/Model/Product/Price/Validation/TierPriceValidator.php b/app/code/Magento/Catalog/Model/Product/Price/Validation/TierPriceValidator.php index fc4248aef4904..77b288be6e498 100644 --- a/app/code/Magento/Catalog/Model/Product/Price/Validation/TierPriceValidator.php +++ b/app/code/Magento/Catalog/Model/Product/Price/Validation/TierPriceValidator.php @@ -8,49 +8,41 @@ /** * Tier Price Validator. - * @since 2.2.0 */ class TierPriceValidator { /** * @var \Magento\Catalog\Model\ProductIdLocatorInterface - * @since 2.2.0 */ private $productIdLocator; /** * @var \Magento\Framework\Api\SearchCriteriaBuilder - * @since 2.2.0 */ private $searchCriteriaBuilder; /** * @var \Magento\Framework\Api\FilterBuilder - * @since 2.2.0 */ private $filterBuilder; /** * @var \Magento\Customer\Api\GroupRepositoryInterface - * @since 2.2.0 */ private $customerGroupRepository; /** * @var \Magento\Store\Api\WebsiteRepositoryInterface - * @since 2.2.0 */ private $websiteRepository; /** * @var \Magento\Catalog\Model\Product\Price\Validation\Result - * @since 2.2.0 */ private $validationResult; /** * @var \Magento\Catalog\Model\Product\Price\TierPricePersistence - * @since 2.2.0 */ private $tierPricePersistence; @@ -58,13 +50,11 @@ class TierPriceValidator * Groups by code cache. * * @var array - * @since 2.2.0 */ private $customerGroupsByCode = []; /** * @var \Magento\Catalog\Model\Product\Price\Validation\InvalidSkuProcessor - * @since 2.2.0 */ private $invalidSkuProcessor; @@ -72,7 +62,6 @@ class TierPriceValidator * All groups value. * * @var string - * @since 2.2.0 */ private $allGroupsValue = 'all groups'; @@ -80,7 +69,6 @@ class TierPriceValidator * All websites value. * * @var string - * @since 2.2.0 */ private $allWebsitesValue = "0"; @@ -88,7 +76,6 @@ class TierPriceValidator * Allowed product types. * * @var array - * @since 2.2.0 */ private $allowedProductTypes = []; @@ -104,7 +91,6 @@ class TierPriceValidator * @param \Magento\Catalog\Model\Product\Price\Validation\Result $validationResult * @param \Magento\Catalog\Model\Product\Price\Validation\InvalidSkuProcessor $invalidSkuProcessor * @param array $allowedProductTypes [optional] - * @since 2.2.0 */ public function __construct( \Magento\Catalog\Model\ProductIdLocatorInterface $productIdLocator, @@ -133,7 +119,6 @@ public function __construct( * * @param array $skus * @return array - * @since 2.2.0 */ public function validateSkus(array $skus) { @@ -146,7 +131,6 @@ public function validateSkus(array $skus) * @param array $prices * @param array $existingPrices * @return \Magento\Catalog\Model\Product\Price\Validation\Result $validationResult - * @since 2.2.0 */ public function retrieveValidationResult(array $prices, array $existingPrices = []) { @@ -190,7 +174,6 @@ public function retrieveValidationResult(array $prices, array $existingPrices = * @param array $invalidSkus * @param Result $validationResult * @return void - * @since 2.2.0 */ private function checkSku( \Magento\Catalog\Api\Data\TierPriceInterface $price, @@ -228,7 +211,6 @@ private function checkSku( * @param int $key * @param Result $validationResult * @return void - * @since 2.2.0 */ private function checkPrice(\Magento\Catalog\Api\Data\TierPriceInterface $price, $key, Result $validationResult) { @@ -270,7 +252,6 @@ private function checkPrice(\Magento\Catalog\Api\Data\TierPriceInterface $price, * @param int $key * @param Result $validationResult * @return void - * @since 2.2.0 */ private function checkPriceType( \Magento\Catalog\Api\Data\TierPriceInterface $price, @@ -319,7 +300,6 @@ private function checkPriceType( * @param int $key * @param Result $validationResult * @return void - * @since 2.2.0 */ private function checkQuantity(\Magento\Catalog\Api\Data\TierPriceInterface $price, $key, Result $validationResult) { @@ -353,7 +333,6 @@ private function checkQuantity(\Magento\Catalog\Api\Data\TierPriceInterface $pri * @param int $key * @param Result $validationResult * @return void - * @since 2.2.0 */ private function checkWebsite(\Magento\Catalog\Api\Data\TierPriceInterface $price, $key, Result $validationResult) { @@ -390,7 +369,6 @@ private function checkWebsite(\Magento\Catalog\Api\Data\TierPriceInterface $pric * @param int $key * @param Result $validationResult * @return void - * @since 2.2.0 */ private function checkUnique( \Magento\Catalog\Api\Data\TierPriceInterface $tierPrice, @@ -441,7 +419,6 @@ private function checkUnique( * @param int $key * @param Result $validationResult * @return void - * @since 2.2.0 */ private function checkGroup(\Magento\Catalog\Api\Data\TierPriceInterface $price, $key, Result $validationResult) { @@ -475,7 +452,6 @@ private function checkGroup(\Magento\Catalog\Api\Data\TierPriceInterface $price, * * @param string $code * @return int|bool - * @since 2.2.0 */ private function retrieveGroupValue($code) { diff --git a/app/code/Magento/Catalog/Model/Product/Pricing/Renderer/SalableResolver.php b/app/code/Magento/Catalog/Model/Product/Pricing/Renderer/SalableResolver.php index ca5324ebc575f..10ad5e41c2f80 100644 --- a/app/code/Magento/Catalog/Model/Product/Pricing/Renderer/SalableResolver.php +++ b/app/code/Magento/Catalog/Model/Product/Pricing/Renderer/SalableResolver.php @@ -8,7 +8,6 @@ /** * Resolvers check whether product available for sale or not - * @since 2.1.3 */ class SalableResolver implements SalableResolverInterface { @@ -17,7 +16,6 @@ class SalableResolver implements SalableResolverInterface * * @param \Magento\Framework\Pricing\SaleableInterface $salableItem * @return boolean - * @since 2.1.3 */ public function isSalable(\Magento\Framework\Pricing\SaleableInterface $salableItem) { diff --git a/app/code/Magento/Catalog/Model/Product/Pricing/Renderer/SalableResolverInterface.php b/app/code/Magento/Catalog/Model/Product/Pricing/Renderer/SalableResolverInterface.php index 872fbc8a7c218..4d17f55114c6a 100644 --- a/app/code/Magento/Catalog/Model/Product/Pricing/Renderer/SalableResolverInterface.php +++ b/app/code/Magento/Catalog/Model/Product/Pricing/Renderer/SalableResolverInterface.php @@ -8,7 +8,6 @@ /** * Interface resolver checks whether product available for sale - * @since 2.1.3 */ interface SalableResolverInterface { @@ -17,7 +16,6 @@ interface SalableResolverInterface * * @param \Magento\Framework\Pricing\SaleableInterface $salableItem * @return boolean - * @since 2.1.3 */ public function isSalable(\Magento\Framework\Pricing\SaleableInterface $salableItem); } diff --git a/app/code/Magento/Catalog/Model/Product/ProductFrontendAction/Synchronizer.php b/app/code/Magento/Catalog/Model/Product/ProductFrontendAction/Synchronizer.php index 64202f7866762..7a1926cf642ec 100644 --- a/app/code/Magento/Catalog/Model/Product/ProductFrontendAction/Synchronizer.php +++ b/app/code/Magento/Catalog/Model/Product/ProductFrontendAction/Synchronizer.php @@ -18,7 +18,6 @@ /** * Service which allows to sync product widget information, such as product id with db. In order to reuse this info * on different devices - * @since 2.2.0 */ class Synchronizer { @@ -33,37 +32,31 @@ class Synchronizer /** * @var Session - * @since 2.2.0 */ private $session; /** * @var Visitor - * @since 2.2.0 */ private $visitor; /** * @var ProductFrontendActionFactory - * @since 2.2.0 */ private $productFrontendActionFactory; /** * @var EntityManager - * @since 2.2.0 */ private $entityManager; /** * @var CollectionFactory - * @since 2.2.0 */ private $collectionFactory; /** * @var FrontendStorageConfigurationPool - * @since 2.2.0 */ private $frontendStorageConfigurationPool; @@ -74,7 +67,6 @@ class Synchronizer * @param EntityManager $entityManager * @param CollectionFactory $collectionFactory * @param FrontendStorageConfigurationPool $frontendStorageConfigurationPool - * @since 2.2.0 */ public function __construct( Session $session, @@ -99,7 +91,6 @@ public function __construct( * * @param string $namespace * @return int - * @since 2.2.0 */ private function getLifeTimeByNamespace($namespace) { @@ -123,7 +114,6 @@ private function getLifeTimeByNamespace($namespace) * @param array $productsData (product action data, that came from frontend) * @param string $typeId namespace (type of action) * @return array - * @since 2.2.0 */ private function filterNewestActions(array $productsData, $typeId) { @@ -142,7 +132,6 @@ private function filterNewestActions(array $productsData, $typeId) * * @param array $actions * @return array - * @since 2.2.0 */ private function getProductIdsByActions(array $actions) { @@ -163,7 +152,6 @@ private function getProductIdsByActions(array $actions) * @param array $productsData * @param string $typeId * @return void - * @since 2.2.0 */ public function syncActions(array $productsData, $typeId) { @@ -206,7 +194,6 @@ public function syncActions(array $productsData, $typeId) * * @param string $typeId * @return Collection - * @since 2.2.0 */ public function getActionsByType($typeId) { @@ -220,7 +207,6 @@ public function getActionsByType($typeId) * Find and fetch product actions (id and timestamp) (recently_viewed or recently_compared) * * @return Collection - * @since 2.2.0 */ public function getAllActions() { diff --git a/app/code/Magento/Catalog/Model/Product/ScopedTierPriceManagement.php b/app/code/Magento/Catalog/Model/Product/ScopedTierPriceManagement.php index 717050ba4fd94..491d63f04ae0e 100644 --- a/app/code/Magento/Catalog/Model/Product/ScopedTierPriceManagement.php +++ b/app/code/Magento/Catalog/Model/Product/ScopedTierPriceManagement.php @@ -12,37 +12,31 @@ /** * Class \Magento\Catalog\Model\Product\ScopedTierPriceManagement * - * @since 2.2.0 */ class ScopedTierPriceManagement implements ScopedProductTierPriceManagementInterface { /** * @var \Magento\Catalog\Api\ProductRepositoryInterface - * @since 2.2.0 */ private $productRepository; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.2.0 */ private $storeManager; /** * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.2.0 */ private $config; /** * @var PriceModifier - * @since 2.2.0 */ private $priceModifier; /** * @var TierPriceManagement - * @since 2.2.0 */ private $tierPriceManagement; @@ -52,7 +46,6 @@ class ScopedTierPriceManagement implements ScopedProductTierPriceManagementInter * @param \Magento\Framework\App\Config\ScopeConfigInterface $config * @param PriceModifier $priceModifier * @param TierPriceManagement $tierPriceManagement - * @since 2.2.0 */ public function __construct( \Magento\Catalog\Api\ProductRepositoryInterface $productRepository, @@ -70,7 +63,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.2.0 */ public function add($sku, ProductTierPriceInterface $tierPrice) { @@ -90,7 +82,6 @@ public function add($sku, ProductTierPriceInterface $tierPrice) * @param array $tierPrices * @param ProductTierPriceInterface $tierPrice * @return ProductTierPriceInterface[]|null - * @since 2.2.0 */ private function prepareTierPrices(array $tierPrices, ProductTierPriceInterface $tierPrice) { @@ -117,7 +108,6 @@ private function prepareTierPrices(array $tierPrices, ProductTierPriceInterface /** * @return int - * @since 2.2.0 */ private function getWebsiteId() { @@ -134,7 +124,6 @@ private function getWebsiteId() * @param ProductTierPriceInterface $tierPrice * @throws \Magento\Framework\Exception\InputException * @return void - * @since 2.2.0 */ private function validate(ProductTierPriceInterface $tierPrice) { @@ -148,7 +137,6 @@ private function validate(ProductTierPriceInterface $tierPrice) /** * {@inheritdoc} - * @since 2.2.0 */ public function remove($sku, ProductTierPriceInterface $tierPrice) { @@ -164,7 +152,6 @@ public function remove($sku, ProductTierPriceInterface $tierPrice) /** * {@inheritdoc} - * @since 2.2.0 */ public function getList($sku, $customerGroupId) { diff --git a/app/code/Magento/Catalog/Model/Product/Type/AbstractType.php b/app/code/Magento/Catalog/Model/Product/Type/AbstractType.php index 4b3b9588cdac7..b19972c96fa10 100644 --- a/app/code/Magento/Catalog/Model/Product/Type/AbstractType.php +++ b/app/code/Magento/Catalog/Model/Product/Type/AbstractType.php @@ -165,7 +165,7 @@ abstract public function deleteTypeSpecificData(\Magento\Catalog\Model\Product $ * Serializer interface instance. * * @var \Magento\Framework\Serialize\Serializer\Json - * @since 2.2.0 + * @since 101.1.0 */ protected $serializer; @@ -1108,7 +1108,7 @@ public function getAssociatedProducts($product) * * @param \Magento\Catalog\Model\Product $product * @return bool - * @since 2.2.0 + * @since 101.1.0 */ public function isPossibleBuyFromList($product) { diff --git a/app/code/Magento/Catalog/Model/Product/Type/Price.php b/app/code/Magento/Catalog/Model/Product/Type/Price.php index 2e78130b426fa..be626fd783403 100644 --- a/app/code/Magento/Catalog/Model/Product/Type/Price.php +++ b/app/code/Magento/Catalog/Model/Product/Type/Price.php @@ -85,7 +85,6 @@ class Price /** * @var ProductTierPriceExtensionFactory - * @since 2.2.0 */ private $tierPriceExtensionFactory; diff --git a/app/code/Magento/Catalog/Model/Product/Website/ReadHandler.php b/app/code/Magento/Catalog/Model/Product/Website/ReadHandler.php index 46414e5e60acd..46fec4314809d 100644 --- a/app/code/Magento/Catalog/Model/Product/Website/ReadHandler.php +++ b/app/code/Magento/Catalog/Model/Product/Website/ReadHandler.php @@ -12,20 +12,17 @@ /** * Class \Magento\Catalog\Model\Product\Website\ReadHandler * - * @since 2.2.0 */ class ReadHandler implements ExtensionInterface { /** * @var \Magento\Catalog\Model\ResourceModel\Product\Website\Link - * @since 2.2.0 */ private $productWebsiteLink; /** * ReadHandler constructor. * @param ProductWebsiteLink $resourceModel - * @since 2.2.0 */ public function __construct( ProductWebsiteLink $productWebsiteLink @@ -38,7 +35,6 @@ public function __construct( * @param array $arguments * @SuppressWarnings(PHPMD.UnusedFormalParameter) * @return ProductInterface - * @since 2.2.0 */ public function execute($product, $arguments = []) { diff --git a/app/code/Magento/Catalog/Model/Product/Website/SaveHandler.php b/app/code/Magento/Catalog/Model/Product/Website/SaveHandler.php index cdac5483f415e..cb3a238cbb4fc 100644 --- a/app/code/Magento/Catalog/Model/Product/Website/SaveHandler.php +++ b/app/code/Magento/Catalog/Model/Product/Website/SaveHandler.php @@ -13,19 +13,16 @@ /** * Class SaveHandler * @package Magento\Catalog\Model\Product\Website - * @since 2.2.0 */ class SaveHandler implements ExtensionInterface { /** * @var \Magento\Catalog\Model\ResourceModel\Product\Website\Link - * @since 2.2.0 */ private $productWebsiteLink; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.2.0 */ private $storeManager; @@ -33,7 +30,6 @@ class SaveHandler implements ExtensionInterface * SaveHandler constructor. * @param ProductWebsiteLink $productWebsiteLink * @param StoreManagerInterface $storeManager - * @since 2.2.0 */ public function __construct( ProductWebsiteLink $productWebsiteLink, @@ -49,7 +45,6 @@ public function __construct( * @param array $arguments * @SuppressWarnings(PHPMD.UnusedFormalParameter) * @return ProductInterface - * @since 2.2.0 */ public function execute($product, $arguments = []) { diff --git a/app/code/Magento/Catalog/Model/ProductCategoryList.php b/app/code/Magento/Catalog/Model/ProductCategoryList.php index a54bdd243ce4b..ae875453be938 100644 --- a/app/code/Magento/Catalog/Model/ProductCategoryList.php +++ b/app/code/Magento/Catalog/Model/ProductCategoryList.php @@ -11,32 +11,27 @@ /** * Provides info about product categories. - * @since 2.2.0 */ class ProductCategoryList { /** * @var array - * @since 2.2.0 */ private $categoryIdList = []; /** * @var ResourceModel\Product - * @since 2.2.0 */ private $productResource; /** * @var ResourceModel\Category - * @since 2.2.0 */ private $category; /** * @param ResourceModel\Product $productResource * @param ResourceModel\Category $category - * @since 2.2.0 */ public function __construct( ResourceModel\Product $productResource, @@ -51,7 +46,6 @@ public function __construct( * * @param int $productId * @return array - * @since 2.2.0 */ public function getCategoryIds($productId) { @@ -79,7 +73,6 @@ public function getCategoryIds($productId) * @param int $productId * @param string $tableName * @return Select - * @since 2.2.0 */ public function getCategorySelect($productId, $tableName) { diff --git a/app/code/Magento/Catalog/Model/ProductFrontendAction.php b/app/code/Magento/Catalog/Model/ProductFrontendAction.php index b05b2ab461833..0712f0266140c 100644 --- a/app/code/Magento/Catalog/Model/ProductFrontendAction.php +++ b/app/code/Magento/Catalog/Model/ProductFrontendAction.php @@ -9,7 +9,6 @@ /** * @inheritdoc - * @since 2.2.0 */ class ProductFrontendAction extends AbstractModel implements ProductFrontendActionInterface { @@ -17,7 +16,6 @@ class ProductFrontendAction extends AbstractModel implements ProductFrontendActi * Initialize resource model * * @return void - * @since 2.2.0 */ protected function _construct() { @@ -26,7 +24,6 @@ protected function _construct() /** * @inheritdoc - * @since 2.2.0 */ public function getActionId() { @@ -35,7 +32,6 @@ public function getActionId() /** * @inheritdoc - * @since 2.2.0 */ public function setActionId($actionId) { @@ -44,7 +40,6 @@ public function setActionId($actionId) /** * @inheritdoc - * @since 2.2.0 */ public function getVisitorId() { @@ -53,7 +48,6 @@ public function getVisitorId() /** * @inheritdoc - * @since 2.2.0 */ public function setVisitorId($visitorId) { @@ -62,7 +56,6 @@ public function setVisitorId($visitorId) /** * @return mixed - * @since 2.2.0 */ public function getCustomerId() { @@ -71,7 +64,6 @@ public function getCustomerId() /** * @inheritdoc - * @since 2.2.0 */ public function setCustomerId($customerId) { @@ -80,7 +72,6 @@ public function setCustomerId($customerId) /** * @inheritdoc - * @since 2.2.0 */ public function getProductId() { @@ -89,7 +80,6 @@ public function getProductId() /** * @inheritdoc - * @since 2.2.0 */ public function setProductId($productId) { @@ -98,7 +88,6 @@ public function setProductId($productId) /** * @inheritdoc - * @since 2.2.0 */ public function getAddedAt() { @@ -107,7 +96,6 @@ public function getAddedAt() /** * @inheritdoc - * @since 2.2.0 */ public function setAddedAt($addedAt) { @@ -116,7 +104,6 @@ public function setAddedAt($addedAt) /** * @inheritdoc - * @since 2.2.0 */ public function getTypeId() { @@ -125,7 +112,6 @@ public function getTypeId() /** * @inheritdoc - * @since 2.2.0 */ public function setTypeId($typeId) { diff --git a/app/code/Magento/Catalog/Model/ProductIdLocator.php b/app/code/Magento/Catalog/Model/ProductIdLocator.php index 450f6e9a62c1d..2d9af6829ad6e 100644 --- a/app/code/Magento/Catalog/Model/ProductIdLocator.php +++ b/app/code/Magento/Catalog/Model/ProductIdLocator.php @@ -8,7 +8,6 @@ /** * Product ID locator provides all product IDs by SKUs. - * @since 2.2.0 */ class ProductIdLocator implements \Magento\Catalog\Model\ProductIdLocatorInterface { @@ -16,7 +15,6 @@ class ProductIdLocator implements \Magento\Catalog\Model\ProductIdLocatorInterfa * Limit values for array IDs by SKU. * * @var int - * @since 2.2.0 */ private $idsLimit; @@ -24,13 +22,11 @@ class ProductIdLocator implements \Magento\Catalog\Model\ProductIdLocatorInterfa * Metadata pool. * * @var \Magento\Framework\EntityManager\MetadataPool - * @since 2.2.0 */ private $metadataPool; /** * @var \Magento\Catalog\Model\ResourceModel\Product\CollectionFactory - * @since 2.2.0 */ private $collectionFactory; @@ -38,7 +34,6 @@ class ProductIdLocator implements \Magento\Catalog\Model\ProductIdLocatorInterfa * IDs by SKU cache. * * @var array - * @since 2.2.0 */ private $idsBySku = []; @@ -46,7 +41,6 @@ class ProductIdLocator implements \Magento\Catalog\Model\ProductIdLocatorInterfa * @param \Magento\Framework\EntityManager\MetadataPool $metadataPool * @param \Magento\Catalog\Model\ResourceModel\Product\CollectionFactory $collectionFactory * @param string $limitIdsBySkuValues - * @since 2.2.0 */ public function __construct( \Magento\Framework\EntityManager\MetadataPool $metadataPool, @@ -60,7 +54,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.2.0 */ public function retrieveProductIdsBySkus(array $skus) { @@ -99,7 +92,6 @@ public function retrieveProductIdsBySkus(array $skus) * Cleanup IDs by SKU cache more than some limit. * * @return void - * @since 2.2.0 */ private function truncateToLimit() { diff --git a/app/code/Magento/Catalog/Model/ProductIdLocatorInterface.php b/app/code/Magento/Catalog/Model/ProductIdLocatorInterface.php index a4fc45a242553..91570b58b7328 100644 --- a/app/code/Magento/Catalog/Model/ProductIdLocatorInterface.php +++ b/app/code/Magento/Catalog/Model/ProductIdLocatorInterface.php @@ -8,7 +8,7 @@ /** * Product ID locator provides all product IDs by SKU. * @api - * @since 2.2.0 + * @since 101.1.0 */ interface ProductIdLocatorInterface { @@ -17,7 +17,7 @@ interface ProductIdLocatorInterface * * @param array $skus * @return array - * @since 2.2.0 + * @since 101.1.0 */ public function retrieveProductIdsBySkus(array $skus); } diff --git a/app/code/Magento/Catalog/Model/ProductLink/Repository.php b/app/code/Magento/Catalog/Model/ProductLink/Repository.php index 198aa75411411..f8dee9216ddcf 100644 --- a/app/code/Magento/Catalog/Model/ProductLink/Repository.php +++ b/app/code/Magento/Catalog/Model/ProductLink/Repository.php @@ -22,25 +22,21 @@ class Repository implements \Magento\Catalog\Api\ProductLinkRepositoryInterface { /** * @var MetadataPool - * @since 2.1.0 */ protected $metadataPool; /** * @var \Magento\Catalog\Model\ResourceModel\Product\Relation - * @since 2.1.0 */ protected $catalogProductRelation; /** * @var \Magento\Catalog\Model\ResourceModel\Product\Link - * @since 2.1.0 */ protected $linkResource; /** * @var LinkTypeProvider - * @since 2.1.0 */ protected $linkTypeProvider; @@ -71,13 +67,11 @@ class Repository implements \Magento\Catalog\Api\ProductLinkRepositoryInterface /** * @var ProductLinkInterfaceFactory - * @since 2.1.0 */ protected $productLinkFactory; /** * @var ProductLinkExtensionFactory - * @since 2.1.0 */ protected $productLinkExtensionFactory; @@ -153,7 +147,6 @@ public function save(\Magento\Catalog\Api\Data\ProductLinkInterface $entity) * * @param \Magento\Catalog\Api\Data\ProductInterface $product * @return \Magento\Catalog\Api\Data\ProductLinkInterface[] - * @since 2.1.0 */ public function getList(\Magento\Catalog\Api\Data\ProductInterface $product) { @@ -250,7 +243,6 @@ public function deleteById($sku, $type, $linkedProductSku) /** * @return \Magento\Catalog\Model\ResourceModel\Product\Link - * @since 2.1.0 */ private function getLinkResource() { @@ -263,7 +255,6 @@ private function getLinkResource() /** * @return LinkTypeProvider - * @since 2.1.0 */ private function getLinkTypeProvider() { @@ -276,7 +267,6 @@ private function getLinkTypeProvider() /** * @return \Magento\Framework\EntityManager\MetadataPool - * @since 2.1.0 */ private function getMetadataPool() { diff --git a/app/code/Magento/Catalog/Model/ProductOptionProcessor.php b/app/code/Magento/Catalog/Model/ProductOptionProcessor.php index 6cd3857eafa8a..678eeeeb3526a 100644 --- a/app/code/Magento/Catalog/Model/ProductOptionProcessor.php +++ b/app/code/Magento/Catalog/Model/ProductOptionProcessor.php @@ -30,7 +30,6 @@ class ProductOptionProcessor implements ProductOptionProcessorInterface /** * @var \Magento\Catalog\Model\Product\Option\UrlBuilder - * @since 2.1.0 */ private $urlBuilder; @@ -115,7 +114,6 @@ public function convertToProductOption(DataObject $request) * * @param array $optionValue * @return array - * @since 2.1.0 */ private function processFileOptionValue(array $optionValue) { @@ -134,8 +132,7 @@ private function processFileOptionValue(array $optionValue) /** * @return \Magento\Catalog\Model\Product\Option\UrlBuilder * - * @deprecated 2.1.0 - * @since 2.1.0 + * @deprecated 101.0.0 */ private function getUrlBuilder() { diff --git a/app/code/Magento/Catalog/Model/ProductRender.php b/app/code/Magento/Catalog/Model/ProductRender.php index c799adc0a8a9e..702c04b910d44 100644 --- a/app/code/Magento/Catalog/Model/ProductRender.php +++ b/app/code/Magento/Catalog/Model/ProductRender.php @@ -13,13 +13,11 @@ /** * DTO which represents structure for product render information - * @since 2.2.0 */ class ProductRender extends \Magento\Framework\Model\AbstractExtensibleModel implements ProductRenderInterface { /** * @inheritdoc - * @since 2.2.0 */ public function getAddToCartButton() { @@ -28,7 +26,6 @@ public function getAddToCartButton() /** * @inheritdoc - * @since 2.2.0 */ public function setAddToCartButton(ButtonInterface $addToCartButton) { @@ -37,7 +34,6 @@ public function setAddToCartButton(ButtonInterface $addToCartButton) /** * @inheritdoc - * @since 2.2.0 */ public function getAddToCompareButton() { @@ -46,7 +42,6 @@ public function getAddToCompareButton() /** * @inheritdoc - * @since 2.2.0 */ public function setAddToCompareButton(ButtonInterface $compareButton) { @@ -55,7 +50,6 @@ public function setAddToCompareButton(ButtonInterface $compareButton) /** * @inheritdoc - * @since 2.2.0 */ public function getPriceInfo() { @@ -64,7 +58,6 @@ public function getPriceInfo() /** * @inheritdoc - * @since 2.2.0 */ public function setPriceInfo(PriceInfoInterface $priceInfo) { @@ -73,7 +66,6 @@ public function setPriceInfo(PriceInfoInterface $priceInfo) /** * @inheritdoc - * @since 2.2.0 */ public function getImages() { @@ -82,7 +74,6 @@ public function getImages() /** * @inheritdoc - * @since 2.2.0 */ public function setImages(array $images) { @@ -91,7 +82,6 @@ public function setImages(array $images) /** * @inheritdoc - * @since 2.2.0 */ public function getUrl() { @@ -100,7 +90,6 @@ public function getUrl() /** * @inheritdoc - * @since 2.2.0 */ public function setUrl($url) { @@ -109,7 +98,6 @@ public function setUrl($url) /** * @inheritdoc - * @since 2.2.0 */ public function getId() { @@ -118,7 +106,6 @@ public function getId() /** * @inheritdoc - * @since 2.2.0 */ public function setId($id) { @@ -127,7 +114,6 @@ public function setId($id) /** * @inheritdoc - * @since 2.2.0 */ public function getName() { @@ -136,7 +122,6 @@ public function getName() /** * @inheritdoc - * @since 2.2.0 */ public function setName($name) { @@ -145,7 +130,6 @@ public function setName($name) /** * @inheritdoc - * @since 2.2.0 */ public function setType($productType) { @@ -154,7 +138,6 @@ public function setType($productType) /** * @inheritdoc - * @since 2.2.0 */ public function getType() { @@ -163,7 +146,6 @@ public function getType() /** * @inheritdoc - * @since 2.2.0 */ public function getIsSalable() { @@ -172,7 +154,6 @@ public function getIsSalable() /** * @inheritdoc - * @since 2.2.0 */ public function setIsSalable($isSalable) { @@ -181,7 +162,6 @@ public function setIsSalable($isSalable) /** * @inheritdoc - * @since 2.2.0 */ public function setStoreId($storeId) { @@ -190,7 +170,6 @@ public function setStoreId($storeId) /** * @inheritdoc - * @since 2.2.0 */ public function getStoreId() { @@ -199,7 +178,6 @@ public function getStoreId() /** * @inheritdoc - * @since 2.2.0 */ public function getCurrencyCode() { @@ -208,7 +186,6 @@ public function getCurrencyCode() /** * @inheritdoc - * @since 2.2.0 */ public function setCurrencyCode($currencyCode) { @@ -219,7 +196,6 @@ public function setCurrencyCode($currencyCode) * Retrieve existing extension attributes object or create a new one. * * @return \Magento\Catalog\Api\Data\ProductRenderExtensionInterface - * @since 2.2.0 */ public function getExtensionAttributes() { @@ -231,7 +207,6 @@ public function getExtensionAttributes() * * @param \Magento\Catalog\Api\Data\ProductRenderExtensionInterface $extensionAttributes * @return $this - * @since 2.2.0 */ public function setExtensionAttributes( \Magento\Catalog\Api\Data\ProductRenderExtensionInterface $extensionAttributes diff --git a/app/code/Magento/Catalog/Model/ProductRender/Button.php b/app/code/Magento/Catalog/Model/ProductRender/Button.php index 0e125f49573e0..eb662078fcf32 100644 --- a/app/code/Magento/Catalog/Model/ProductRender/Button.php +++ b/app/code/Magento/Catalog/Model/ProductRender/Button.php @@ -12,13 +12,11 @@ /** * @inheritdoc - * @since 2.2.0 */ class Button extends \Magento\Framework\Model\AbstractExtensibleModel implements ButtonInterface { /** * @inheritdoc - * @since 2.2.0 */ public function setPostData($postData) { @@ -27,7 +25,6 @@ public function setPostData($postData) /** * @inheritdoc - * @since 2.2.0 */ public function getPostData() { @@ -36,7 +33,6 @@ public function getPostData() /** * @inheritdoc - * @since 2.2.0 */ public function setUrl($url) { @@ -45,7 +41,6 @@ public function setUrl($url) /** * @inheritdoc - * @since 2.2.0 */ public function getUrl() { @@ -54,7 +49,6 @@ public function getUrl() /** * @inheritdoc - * @since 2.2.0 */ public function setRequiredOptions($requiredOptions) { @@ -63,7 +57,6 @@ public function setRequiredOptions($requiredOptions) /** * @inheritdoc - * @since 2.2.0 */ public function hasRequiredOptions() { @@ -72,7 +65,6 @@ public function hasRequiredOptions() /** * @inheritdoc - * @since 2.2.0 */ public function getExtensionAttributes() { @@ -81,7 +73,6 @@ public function getExtensionAttributes() /** * @inheritdoc - * @since 2.2.0 */ public function setExtensionAttributes(ButtonExtensionInterface $extensionAttributes) { diff --git a/app/code/Magento/Catalog/Model/ProductRender/FormattedPriceInfo.php b/app/code/Magento/Catalog/Model/ProductRender/FormattedPriceInfo.php index 00783ae7b36c6..d00f372cbc55f 100644 --- a/app/code/Magento/Catalog/Model/ProductRender/FormattedPriceInfo.php +++ b/app/code/Magento/Catalog/Model/ProductRender/FormattedPriceInfo.php @@ -10,14 +10,12 @@ /** * @inheritdoc - * @since 2.2.0 */ class FormattedPriceInfo extends \Magento\Framework\Model\AbstractExtensibleModel implements FormattedPriceInfoInterface { /** * @inheritdoc - * @since 2.2.0 */ public function getFinalPrice() { @@ -26,7 +24,6 @@ public function getFinalPrice() /** * @inheritdoc - * @since 2.2.0 */ public function setFinalPrice($finalPrice) { @@ -35,7 +32,6 @@ public function setFinalPrice($finalPrice) /** * @inheritdoc - * @since 2.2.0 */ public function getMaxPrice() { @@ -44,7 +40,6 @@ public function getMaxPrice() /** * @inheritdoc - * @since 2.2.0 */ public function setMaxPrice($maxPrice) { @@ -53,7 +48,6 @@ public function setMaxPrice($maxPrice) /** * @inheritdoc - * @since 2.2.0 */ public function getMinimalPrice() { @@ -65,7 +59,6 @@ public function getMinimalPrice() * and we can to retrieve final price instead * * @inheritdoc - * @since 2.2.0 */ public function getMaxRegularPrice() { @@ -78,7 +71,6 @@ public function getMaxRegularPrice() /** * @inheritdoc - * @since 2.2.0 */ public function setMaxRegularPrice($maxRegularPrice) { @@ -90,7 +82,6 @@ public function setMaxRegularPrice($maxRegularPrice) * and we can to retrieve final price instead * * @inheritdoc - * @since 2.2.0 */ public function getMinimalRegularPrice() { @@ -103,7 +94,6 @@ public function getMinimalRegularPrice() /** * @inheritdoc - * @since 2.2.0 */ public function setMinimalRegularPrice($minRegularPrice) { @@ -112,7 +102,6 @@ public function setMinimalRegularPrice($minRegularPrice) /** * @inheritdoc - * @since 2.2.0 */ public function setSpecialPrice($specialPrice) { @@ -121,7 +110,6 @@ public function setSpecialPrice($specialPrice) /** * @inheritdoc - * @since 2.2.0 */ public function getSpecialPrice() { @@ -130,7 +118,6 @@ public function getSpecialPrice() /** * @inheritdoc - * @since 2.2.0 */ public function setMinimalPrice($minimalPrice) { @@ -139,7 +126,6 @@ public function setMinimalPrice($minimalPrice) /** * @inheritdoc - * @since 2.2.0 */ public function getRegularPrice() { @@ -148,7 +134,6 @@ public function getRegularPrice() /** * @inheritdoc - * @since 2.2.0 */ public function setRegularPrice($regularPrice) { @@ -157,7 +142,6 @@ public function setRegularPrice($regularPrice) /** * @inheritdoc - * @since 2.2.0 */ public function getExtensionAttributes() { @@ -166,7 +150,6 @@ public function getExtensionAttributes() /** * @inheritdoc - * @since 2.2.0 */ public function setExtensionAttributes( \Magento\Catalog\Api\Data\ProductRender\FormattedPriceInfoExtensionInterface $extensionAttributes diff --git a/app/code/Magento/Catalog/Model/ProductRender/FormattedPriceInfoBuilder.php b/app/code/Magento/Catalog/Model/ProductRender/FormattedPriceInfoBuilder.php index 41063d235e43a..b778d6194ffbf 100644 --- a/app/code/Magento/Catalog/Model/ProductRender/FormattedPriceInfoBuilder.php +++ b/app/code/Magento/Catalog/Model/ProductRender/FormattedPriceInfoBuilder.php @@ -12,19 +12,16 @@ /** * Builder which format all types of float prices into html representation - * @since 2.2.0 */ class FormattedPriceInfoBuilder { /** * @var PriceCurrencyInterface - * @since 2.2.0 */ private $priceCurrency; /** * @var FormattedPriceInfoInterfaceFactory - * @since 2.2.0 */ private $formattedPriceInfoFactory; @@ -32,7 +29,6 @@ class FormattedPriceInfoBuilder * FormattedPriceInfoBuilder constructor. * @param PriceCurrencyInterface $priceCurrency * @param FormattedPriceInfoInterfaceFactory $formattedPriceInfoFactory - * @since 2.2.0 */ public function __construct( PriceCurrencyInterface $priceCurrency, @@ -53,7 +49,6 @@ public function __construct( * @param int $storeId * @param string $currencyCode * @return void - * @since 2.2.0 */ public function build(PriceInfoInterface $priceInfo, $storeId, $currencyCode) { diff --git a/app/code/Magento/Catalog/Model/ProductRender/Image.php b/app/code/Magento/Catalog/Model/ProductRender/Image.php index 1418e838235df..774199a0dbf0a 100644 --- a/app/code/Magento/Catalog/Model/ProductRender/Image.php +++ b/app/code/Magento/Catalog/Model/ProductRender/Image.php @@ -10,7 +10,6 @@ /** * @inheritdoc - * @since 2.2.0 */ class Image extends \Magento\Framework\Model\AbstractExtensibleModel implements ImageInterface @@ -18,7 +17,6 @@ class Image extends \Magento\Framework\Model\AbstractExtensibleModel implements /** * @param string $url * @return @return void - * @since 2.2.0 */ public function setUrl($url) { @@ -29,7 +27,6 @@ public function setUrl($url) * Retrieve url, needed to add product to cart * * @return string - * @since 2.2.0 */ public function getUrl() { @@ -38,7 +35,6 @@ public function getUrl() /** * @return string - * @since 2.2.0 */ public function getCode() { @@ -48,7 +44,6 @@ public function getCode() /** * @param string $code * @return void - * @since 2.2.0 */ public function setCode($code) { @@ -58,7 +53,6 @@ public function setCode($code) /** * @param string $height * @return void - * @since 2.2.0 */ public function setHeight($height) { @@ -67,7 +61,6 @@ public function setHeight($height) /** * @return float - * @since 2.2.0 */ public function getHeight() { @@ -76,7 +69,6 @@ public function getHeight() /** * @return float - * @since 2.2.0 */ public function getWidth() { @@ -86,7 +78,6 @@ public function getWidth() /** * @param string $width * @return void - * @since 2.2.0 */ public function setWidth($width) { @@ -95,7 +86,6 @@ public function setWidth($width) /** * @return string - * @since 2.2.0 */ public function getLabel() { @@ -105,7 +95,6 @@ public function getLabel() /** * @param string $label * @return void - * @since 2.2.0 */ public function setLabel($label) { @@ -114,7 +103,6 @@ public function setLabel($label) /** * @return float - * @since 2.2.0 */ public function getResizedWidth() { @@ -124,7 +112,6 @@ public function getResizedWidth() /** * @param string $width * @return void - * @since 2.2.0 */ public function setResizedWidth($width) { @@ -134,7 +121,6 @@ public function setResizedWidth($width) /** * @param string $height * @return void - * @since 2.2.0 */ public function setResizedHeight($height) { @@ -143,7 +129,6 @@ public function setResizedHeight($height) /** * @return float - * @since 2.2.0 */ public function getResizedHeight() { @@ -154,7 +139,6 @@ public function getResizedHeight() * Retrieve existing extension attributes object or create a new one. * * @return \Magento\Catalog\Api\Data\ProductRender\ImageExtensionInterface|null - * @since 2.2.0 */ public function getExtensionAttributes() { @@ -166,7 +150,6 @@ public function getExtensionAttributes() * * @param \Magento\Catalog\Api\Data\ProductRender\ImageExtensionInterface $extensionAttributes * @return $this - * @since 2.2.0 */ public function setExtensionAttributes( \Magento\Catalog\Api\Data\ProductRender\ImageExtensionInterface $extensionAttributes diff --git a/app/code/Magento/Catalog/Model/ProductRender/PriceInfo.php b/app/code/Magento/Catalog/Model/ProductRender/PriceInfo.php index 3ac0481c318b8..86eef1ca3fd86 100644 --- a/app/code/Magento/Catalog/Model/ProductRender/PriceInfo.php +++ b/app/code/Magento/Catalog/Model/ProductRender/PriceInfo.php @@ -11,14 +11,12 @@ /** * @inheritdoc - * @since 2.2.0 */ class PriceInfo extends \Magento\Framework\Model\AbstractExtensibleModel implements PriceInfoInterface { /** * @return string - * @since 2.2.0 */ public function getFinalPrice() { @@ -28,7 +26,6 @@ public function getFinalPrice() /** * @param string $finalPrice * @return void - * @since 2.2.0 */ public function setFinalPrice($finalPrice) { @@ -40,7 +37,6 @@ public function setFinalPrice($finalPrice) * and we can to retrieve final price instead * * @inheritdoc - * @since 2.2.0 */ public function getMaxRegularPrice() { @@ -53,7 +49,6 @@ public function getMaxRegularPrice() /** * @inheritdoc - * @since 2.2.0 */ public function setMaxRegularPrice($maxRegularPrice) { @@ -65,7 +60,6 @@ public function setMaxRegularPrice($maxRegularPrice) * and we can to retrieve final price instead * * @inheritdoc - * @since 2.2.0 */ public function getMinimalRegularPrice() { @@ -78,7 +72,6 @@ public function getMinimalRegularPrice() /** * @inheritdoc - * @since 2.2.0 */ public function setMinimalRegularPrice($minRegularPrice) { @@ -87,7 +80,6 @@ public function setMinimalRegularPrice($minRegularPrice) /** * @inheritdoc - * @since 2.2.0 */ public function setSpecialPrice($specialPrice) { @@ -96,7 +88,6 @@ public function setSpecialPrice($specialPrice) /** * @inheritdoc - * @since 2.2.0 */ public function getSpecialPrice() { @@ -105,7 +96,6 @@ public function getSpecialPrice() /** * @return string - * @since 2.2.0 */ public function getMaxPrice() { @@ -115,7 +105,6 @@ public function getMaxPrice() /** * @param string $maxPrice * @return void - * @since 2.2.0 */ public function setMaxPrice($maxPrice) { @@ -124,7 +113,6 @@ public function setMaxPrice($maxPrice) /** * @return string - * @since 2.2.0 */ public function getMinimalPrice() { @@ -134,7 +122,6 @@ public function getMinimalPrice() /** * @param string $minimalPrice * @return void - * @since 2.2.0 */ public function setMinimalPrice($minimalPrice) { @@ -143,7 +130,6 @@ public function setMinimalPrice($minimalPrice) /** * @return string - * @since 2.2.0 */ public function getRegularPrice() { @@ -153,7 +139,6 @@ public function getRegularPrice() /** * @param string $regularPrice * @return void - * @since 2.2.0 */ public function setRegularPrice($regularPrice) { @@ -162,7 +147,6 @@ public function setRegularPrice($regularPrice) /** * @inheritdoc - * @since 2.2.0 */ public function getFormattedPrices() { @@ -171,7 +155,6 @@ public function getFormattedPrices() /** * @inheritdoc - * @since 2.2.0 */ public function setFormattedPrices(FormattedPriceInfoInterface $formattedPriceInfo) { @@ -180,7 +163,6 @@ public function setFormattedPrices(FormattedPriceInfoInterface $formattedPriceIn /** * @inheritdoc - * @since 2.2.0 */ public function getExtensionAttributes() { @@ -189,7 +171,6 @@ public function getExtensionAttributes() /** * @inheritdoc - * @since 2.2.0 */ public function setExtensionAttributes( \Magento\Catalog\Api\Data\ProductRender\PriceInfoExtensionInterface $extensionAttributes diff --git a/app/code/Magento/Catalog/Model/ProductRenderInfoSearchResults.php b/app/code/Magento/Catalog/Model/ProductRenderInfoSearchResults.php index c9b07af193645..6cc56c2587a9d 100644 --- a/app/code/Magento/Catalog/Model/ProductRenderInfoSearchResults.php +++ b/app/code/Magento/Catalog/Model/ProductRenderInfoSearchResults.php @@ -12,7 +12,6 @@ /** * Class \Magento\Catalog\Model\ProductRenderInfoSearchResults * - * @since 2.2.0 */ class ProductRenderInfoSearchResults extends SearchResults implements ProductRenderSearchResultsInterface { diff --git a/app/code/Magento/Catalog/Model/ProductRenderList.php b/app/code/Magento/Catalog/Model/ProductRenderList.php index a9e54fb7653d9..a3d906cf10c15 100644 --- a/app/code/Magento/Catalog/Model/ProductRenderList.php +++ b/app/code/Magento/Catalog/Model/ProductRenderList.php @@ -19,49 +19,41 @@ * Provide product render information (this information should be enough for rendering product on front) * for one or few products * - * @since 2.2.0 */ class ProductRenderList implements ProductRenderListInterface { /** * @var CollectionProcessorInterface - * @since 2.2.0 */ private $collectionProcessor; /** * @var CollectionFactory - * @since 2.2.0 */ private $collectionFactory; /** * @var ProductRenderCollectorInterface - * @since 2.2.0 */ private $productRenderCollectorComposite; /** * @var SearchResultFactory - * @since 2.2.0 */ private $searchResultFactory; /** * @var \Magento\Catalog\Model\ProductRenderFactory - * @since 2.2.0 */ private $productRenderFactory; /** * @var array - * @since 2.2.0 */ private $productAttributes; /** * @var CollectionModifierInterface - * @since 2.2.0 */ private $collectionModifier; @@ -75,7 +67,6 @@ class ProductRenderList implements ProductRenderListInterface * @param Product\Visibility $productVisibility * @param CollectionModifier $collectionModifier * @param array $productAttributes - * @since 2.2.0 */ public function __construct( CollectionFactory $collectionFactory, @@ -98,7 +89,6 @@ public function __construct( /** * @inheritdoc - * @since 2.2.0 */ public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria, $storeId, $currencyCode) { diff --git a/app/code/Magento/Catalog/Model/ProductRepository.php b/app/code/Magento/Catalog/Model/ProductRepository.php index 265abcefd7321..aac9ec4807cbf 100644 --- a/app/code/Magento/Catalog/Model/ProductRepository.php +++ b/app/code/Magento/Catalog/Model/ProductRepository.php @@ -32,7 +32,6 @@ class ProductRepository implements \Magento\Catalog\Api\ProductRepositoryInterfa { /** * @var \Magento\Catalog\Api\ProductCustomOptionRepositoryInterface - * @since 2.1.0 */ protected $optionRepository; @@ -133,25 +132,21 @@ class ProductRepository implements \Magento\Catalog\Api\ProductRepositoryInterfa /** * @var \Magento\Catalog\Model\Product\Gallery\Processor - * @since 2.1.0 */ protected $mediaGalleryProcessor; /** * @var CollectionProcessorInterface - * @since 2.2.0 */ private $collectionProcessor; /** * @var int - * @since 2.2.0 */ private $cacheLimit = 0; /** * @var \Magento\Framework\Serialize\Serializer\Json - * @since 2.2.0 */ private $serializer; @@ -308,7 +303,6 @@ protected function getCacheKey($data) * @param string $cacheKey * @param \Magento\Catalog\Api\Data\ProductInterface $product * @return void - * @since 2.2.0 */ private function cacheProduct($cacheKey, \Magento\Catalog\Api\Data\ProductInterface $product) { @@ -723,7 +717,7 @@ public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCr /** * Helper function that adds a FilterGroup to the collection. * - * @deprecated 2.2.0 + * @deprecated 101.1.0 * @param \Magento\Framework\Api\Search\FilterGroup $filterGroup * @param Collection $collection * @return void @@ -757,7 +751,6 @@ protected function addFilterGroupToCollection( * Clean internal product cache * * @return void - * @since 2.1.0 */ public function cleanCache() { @@ -767,7 +760,6 @@ public function cleanCache() /** * @return Product\Gallery\Processor - * @since 2.1.0 */ private function getMediaGalleryProcessor() { @@ -781,9 +773,8 @@ private function getMediaGalleryProcessor() /** * Retrieve collection processor * - * @deprecated 2.2.0 + * @deprecated 101.1.0 * @return CollectionProcessorInterface - * @since 2.2.0 */ private function getCollectionProcessor() { diff --git a/app/code/Magento/Catalog/Model/ProductVisibilityCondition.php b/app/code/Magento/Catalog/Model/ProductVisibilityCondition.php index b9f6e427d555b..08475ec3d052f 100644 --- a/app/code/Magento/Catalog/Model/ProductVisibilityCondition.php +++ b/app/code/Magento/Catalog/Model/ProductVisibilityCondition.php @@ -10,20 +10,17 @@ /** * Add visibility to product collection - * @since 2.2.0 */ class ProductVisibilityCondition implements CollectionModifierInterface { /** * @var \Magento\Catalog\Model\Product\Visibility - * @since 2.2.0 */ private $productVisibility; /** * ProductVisibilityCondition constructor. * @param \Magento\Catalog\Model\Product\Visibility $productVisibility - * @since 2.2.0 */ public function __construct(\Magento\Catalog\Model\Product\Visibility $productVisibility) { @@ -33,7 +30,6 @@ public function __construct(\Magento\Catalog\Model\Product\Visibility $productVi /** * @param \Magento\Catalog\Model\ResourceModel\Product\Collection $collection * @return void - * @since 2.2.0 */ public function apply(AbstractDb $collection) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/AbstractCollection.php b/app/code/Magento/Catalog/Model/ResourceModel/AbstractCollection.php index 89eb09a49cdb7..d4f5fdd5137c1 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/AbstractCollection.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/AbstractCollection.php @@ -8,19 +8,16 @@ /** * Flat abstract collection * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.1.0 */ abstract class AbstractCollection extends \Magento\Framework\Model\ResourceModel\Db\VersionControl\Collection { /** * @var \Magento\Framework\DB\Select - * @since 2.1.0 */ protected $_countSelect; /** * @var \Magento\Framework\Api\SearchCriteriaInterface - * @since 2.1.0 */ protected $searchCriteria; @@ -29,7 +26,6 @@ abstract class AbstractCollection extends \Magento\Framework\Model\ResourceModel * * @param \Magento\Framework\DB\Select $countSelect * @return $this - * @since 2.1.0 */ public function setSelectCountSql(\Magento\Framework\DB\Select $countSelect) { @@ -41,7 +37,6 @@ public function setSelectCountSql(\Magento\Framework\DB\Select $countSelect) * get select count sql * * @return \Magento\Framework\DB\Select - * @since 2.1.0 */ public function getSelectCountSql() { @@ -57,7 +52,6 @@ public function getSelectCountSql() * @param string|\Magento\Eav\Model\Entity\Attribute $attribute * @return string * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.1.0 */ protected function _attributeToField($attribute) { @@ -79,7 +73,6 @@ protected function _attributeToField($attribute) * * @param string $attribute * @return $this - * @since 2.1.0 */ public function addAttributeToSelect($attribute) { @@ -94,7 +87,6 @@ public function addAttributeToSelect($attribute) * @param string|\Magento\Eav\Model\Entity\Attribute $attribute * @param array|int|string|null $condition * @return $this - * @since 2.1.0 */ public function addAttributeToFilter($attribute, $condition = null) { @@ -109,7 +101,6 @@ public function addAttributeToFilter($attribute, $condition = null) * @param string $attribute * @param string $dir * @return $this - * @since 2.1.0 */ public function addAttributeToSort($attribute, $dir = 'asc') { @@ -124,7 +115,6 @@ public function addAttributeToSort($attribute, $dir = 'asc') * @param int $pageNum * @param int $pageSize * @return $this - * @since 2.1.0 */ public function setPage($pageNum, $pageSize) { @@ -139,7 +129,6 @@ public function setPage($pageNum, $pageSize) * @param int $limit * @param int $offset * @return \Magento\Eav\Model\Entity\Collection\AbstractCollection - * @since 2.1.0 */ protected function _getAllIdsSelect($limit = null, $offset = null) { @@ -160,7 +149,6 @@ protected function _getAllIdsSelect($limit = null, $offset = null) * @param int $limit * @param int $offset * @return array - * @since 2.1.0 */ public function getAllIds($limit = null, $offset = null) { @@ -171,7 +159,6 @@ public function getAllIds($limit = null, $offset = null) * Get search criteria. * * @return \Magento\Framework\Api\SearchCriteriaInterface|null - * @since 2.1.0 */ public function getSearchCriteria() { @@ -184,7 +171,6 @@ public function getSearchCriteria() * @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria * @return $this * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.1.0 */ public function setSearchCriteria(\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria = null) { @@ -196,7 +182,6 @@ public function setSearchCriteria(\Magento\Framework\Api\SearchCriteriaInterface * Get total count. * * @return int - * @since 2.1.0 */ public function getTotalCount() { @@ -209,7 +194,6 @@ public function getTotalCount() * @param int $totalCount * @return $this * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.1.0 */ public function setTotalCount($totalCount) { @@ -221,7 +205,6 @@ public function setTotalCount($totalCount) * * @param \Magento\Framework\Api\ExtensibleDataInterface[] $items * @return $this - * @since 2.1.0 */ public function setItems(array $items = null) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Attribute.php b/app/code/Magento/Catalog/Model/ResourceModel/Attribute.php index 301ea9c85a8b0..bdb3cdab617ac 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Attribute.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Attribute.php @@ -29,7 +29,6 @@ class Attribute extends \Magento\Eav\Model\ResourceModel\Entity\Attribute /** * @var \Magento\Framework\EntityManager\MetadataPool - * @since 2.1.0 */ protected $metadataPool; @@ -166,7 +165,6 @@ public function deleteEntity(\Magento\Framework\Model\AbstractModel $object) /** * @return \Magento\Framework\EntityManager\MetadataPool - * @since 2.1.0 */ private function getMetadataPool() { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Attribute/ConditionBuilder.php b/app/code/Magento/Catalog/Model/ResourceModel/Attribute/ConditionBuilder.php index 86e89a61b916b..d6bc3ed1d86dc 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Attribute/ConditionBuilder.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Attribute/ConditionBuilder.php @@ -20,20 +20,17 @@ * * Class ConditionBuilder * @package Magento\Catalog\Model\ResourceModel\Attribute - * @since 2.2.0 */ class ConditionBuilder { /** * @var StoreManagerInterface - * @since 2.2.0 */ private $storeManager; /** * ConditionBuilder constructor * @param StoreManagerInterface $storeManager - * @since 2.2.0 */ public function __construct(StoreManagerInterface $storeManager) { @@ -48,7 +45,6 @@ public function __construct(StoreManagerInterface $storeManager) * @param ScopeInterface[] $scopes * @param string $linkFieldValue * @return array - * @since 2.2.0 */ public function buildExistingAttributeWebsiteScope( AbstractAttribute $attribute, @@ -85,7 +81,6 @@ public function buildExistingAttributeWebsiteScope( * @param ScopeInterface[] $scopes * @param string $linkFieldValue * @return array - * @since 2.2.0 */ public function buildNewAttributesWebsiteScope( AbstractAttribute $attribute, @@ -116,7 +111,6 @@ public function buildNewAttributesWebsiteScope( /** * @param array $scopes * @return null|Website - * @since 2.2.0 */ private function getWebsiteForWebsiteScope(array $scopes) { @@ -127,7 +121,6 @@ private function getWebsiteForWebsiteScope(array $scopes) /** * @param ScopeInterface[] $scopes * @return StoreInterface|null - * @since 2.2.0 */ private function getStoreFromScopes(array $scopes) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Attribute/WebsiteAttributesSynchronizer.php b/app/code/Magento/Catalog/Model/ResourceModel/Attribute/WebsiteAttributesSynchronizer.php index 971450ef9b92e..61f2c1838a1c2 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Attribute/WebsiteAttributesSynchronizer.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Attribute/WebsiteAttributesSynchronizer.php @@ -18,7 +18,6 @@ /** * Class WebsiteAttributesSynchronizer * @package Magento\Catalog\Cron - * @since 2.2.0 */ class WebsiteAttributesSynchronizer { @@ -34,7 +33,6 @@ class WebsiteAttributesSynchronizer /** * Map table names to metadata classes where link field might be found - * @since 2.2.0 */ private $tableMetaDataClass = [ 'catalog_category_entity_datetime' => CategoryInterface::class, @@ -61,49 +59,41 @@ class WebsiteAttributesSynchronizer * ] * * @var array - * @since 2.2.0 */ private $groupedStoreViews = []; /** * @var array - * @since 2.2.0 */ private $processedAttributeValues = []; /** * @var ResourceConnection - * @since 2.2.0 */ private $resourceConnection; /** * @var AdapterInterface - * @since 2.2.0 */ private $connection; /** * @var FlagManager - * @since 2.2.0 */ private $flagManager; /** * @var Generator - * @since 2.2.0 */ private $batchQueryGenerator; /** * @var MetadataPool - * @since 2.2.0 */ private $metaDataPool; /** * @var array - * @since 2.2.0 */ private $linkFields = []; @@ -113,7 +103,6 @@ class WebsiteAttributesSynchronizer * @param FlagManager $flagManager * @param Generator $batchQueryGenerator, * @param MetadataPool $metadataPool - * @since 2.2.0 */ public function __construct( ResourceConnection $resourceConnection, @@ -132,7 +121,6 @@ public function __construct( * Synchronizes attribute values between different store views on website level * @return void * @throws \Exception - * @since 2.2.0 */ public function synchronize() { @@ -154,7 +142,6 @@ public function synchronize() /** * @return bool - * @since 2.2.0 */ public function isSynchronizationRequired() { @@ -164,7 +151,6 @@ public function isSynchronizationRequired() /** * Puts a flag that synchronization is required * @return void - * @since 2.2.0 */ public function scheduleSynchronization() { @@ -174,7 +160,6 @@ public function scheduleSynchronization() /** * Marks flag as in progress in case if several crons enabled, so sync. won't be duplicated * @return void - * @since 2.2.0 */ private function markSynchronizationInProgress() { @@ -184,7 +169,6 @@ private function markSynchronizationInProgress() /** * Turn off synchronization flag * @return void - * @since 2.2.0 */ private function markSynchronized() { @@ -194,7 +178,6 @@ private function markSynchronized() /** * @param string $tableName * @return void - * @since 2.2.0 */ private function synchronizeTable($tableName) { @@ -208,7 +191,6 @@ private function synchronizeTable($tableName) * @param array $attributeValueItems * @param string $tableName * @return void - * @since 2.2.0 */ private function processAttributeValues(array $attributeValueItems, $tableName) { @@ -234,7 +216,6 @@ private function processAttributeValues(array $attributeValueItems, $tableName) * @param string $tableName * @yield array * @return void - * @since 2.2.0 */ private function fetchAttributeValues($tableName) { @@ -277,7 +258,6 @@ private function fetchAttributeValues($tableName) /** * @return array - * @since 2.2.0 */ private function getGroupedStoreViews() { @@ -309,7 +289,6 @@ private function getGroupedStoreViews() * @param array $attributeValue * @param string $tableName * @return bool - * @since 2.2.0 */ private function isAttributeValueProcessed(array $attributeValue, $tableName) { @@ -326,7 +305,6 @@ private function isAttributeValueProcessed(array $attributeValue, $tableName) /** * Resets processed attribute values * @return void - * @since 2.2.0 */ private function resetProcessedAttributeValues() { @@ -337,7 +315,6 @@ private function resetProcessedAttributeValues() * @param array $attributeValue * @param string $tableName * @return void - * @since 2.2.0 */ private function markAttributeValueProcessed(array $attributeValue, $tableName) { @@ -353,7 +330,6 @@ private function markAttributeValueProcessed(array $attributeValue, $tableName) * @param int $attributeId * @param int $websiteId * @return string - * @since 2.2.0 */ private function getAttributeValueKey($entityId, $attributeId, $websiteId) { @@ -369,7 +345,6 @@ private function getAttributeValueKey($entityId, $attributeId, $websiteId) * @param array $attributeValue * @param string $tableName * @return array|null - * @since 2.2.0 */ private function generateAttributeValueInsertions(array $attributeValue, $tableName) { @@ -397,7 +372,6 @@ private function generateAttributeValueInsertions(array $attributeValue, $tableN * @param array $insertions * @param string $tableName * @return void - * @since 2.2.0 */ private function executeInsertions(array $insertions, $tableName) { @@ -420,7 +394,6 @@ private function executeInsertions(array $insertions, $tableName) * * @param array $insertions * @return array - * @since 2.2.0 */ private function getPlaceholderValues(array $insertions) { @@ -440,7 +413,6 @@ private function getPlaceholderValues(array $insertions) * * @param array $insertions * @return string - * @since 2.2.0 */ private function prepareInsertValuesStatement(array $insertions) { @@ -457,7 +429,6 @@ private function prepareInsertValuesStatement(array $insertions) * @param string $tableName * @return string * @throws LocalizedException - * @since 2.2.0 */ private function getTableLinkField($tableName) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/AttributePersistor.php b/app/code/Magento/Catalog/Model/ResourceModel/AttributePersistor.php index fb3d0b7634c5e..f54100f578371 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/AttributePersistor.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/AttributePersistor.php @@ -19,19 +19,16 @@ /** * Class \Magento\Catalog\Model\ResourceModel\AttributePersistor * - * @since 2.1.0 */ class AttributePersistor extends \Magento\Eav\Model\ResourceModel\AttributePersistor { /** * @var ConditionBuilder - * @since 2.2.0 */ private $conditionBuilder; /** * {@inheritdoc} - * @since 2.2.0 */ public function __construct( FormatInterface $localeFormat, @@ -48,7 +45,6 @@ public function __construct( * @param AbstractAttribute $attribute * @param bool $useDefault * @return string - * @since 2.1.0 */ protected function getScopeValue(ScopeInterface $scope, AbstractAttribute $attribute, $useDefault = false) { @@ -60,7 +56,6 @@ protected function getScopeValue(ScopeInterface $scope, AbstractAttribute $attri /** * {@inheritdoc} - * @since 2.2.0 */ protected function buildUpdateConditions( AbstractAttribute $attribute, @@ -82,7 +77,6 @@ protected function buildUpdateConditions( /** * {@inheritdoc} - * @since 2.2.0 */ protected function buildInsertConditions( AbstractAttribute $attribute, @@ -103,7 +97,6 @@ protected function buildInsertConditions( /** * {@inheritdoc} - * @since 2.2.0 */ protected function buildDeleteConditions( AbstractAttribute $attribute, @@ -126,7 +119,6 @@ protected function buildDeleteConditions( /** * @param AbstractAttribute $attribute * @return bool - * @since 2.2.0 */ private function isWebsiteAttribute(AbstractAttribute $attribute) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Category.php b/app/code/Magento/Catalog/Model/ResourceModel/Category.php index 0b73dbf508570..a9c705697b268 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Category.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Category.php @@ -34,7 +34,6 @@ class Category extends AbstractResource /** * @var array[] - * @since 2.2.0 */ private $entitiesWhereAttributesIs; @@ -75,13 +74,11 @@ class Category extends AbstractResource /** * @var EntityManager - * @since 2.1.0 */ protected $entityManager; /** * @var Category\AggregateCount - * @since 2.1.0 */ protected $aggregateCount; @@ -1010,7 +1007,6 @@ public function countVisible() * @param integer $entityId * @param array|null $attributes * @return $this - * @since 2.1.0 */ public function load($object, $entityId, $attributes = []) { @@ -1034,7 +1030,6 @@ public function load($object, $entityId, $attributes = []) /** * {@inheritdoc} - * @since 2.1.0 */ public function delete($object) { @@ -1052,7 +1047,6 @@ public function delete($object) * @param \Magento\Framework\Model\AbstractModel $object * @return $this * @throws \Exception - * @since 2.1.0 */ public function save(\Magento\Framework\Model\AbstractModel $object) { @@ -1062,7 +1056,6 @@ public function save(\Magento\Framework\Model\AbstractModel $object) /** * @return EntityManager - * @since 2.1.0 */ private function getEntityManager() { @@ -1075,7 +1068,6 @@ private function getEntityManager() /** * @return Category\AggregateCount - * @since 2.1.0 */ private function getAggregateCount() { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Category/AggregateCount.php b/app/code/Magento/Catalog/Model/ResourceModel/Category/AggregateCount.php index 017458302c91f..fab2441db26c9 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Category/AggregateCount.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Category/AggregateCount.php @@ -9,14 +9,12 @@ /** * Class AggregateCount - * @since 2.1.0 */ class AggregateCount { /** * @param Category $category * @return void - * @since 2.1.0 */ public function processDelete(Category $category) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Category/Collection/Factory.php b/app/code/Magento/Catalog/Model/ResourceModel/Category/Collection/Factory.php index 9d3829c53e751..9e8caf9dd19c0 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Category/Collection/Factory.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Category/Collection/Factory.php @@ -7,7 +7,7 @@ /** * Class Factory - * @deprecated 2.1.0 + * @deprecated 101.0.0 */ class Factory { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Category/Flat.php b/app/code/Magento/Catalog/Model/ResourceModel/Category/Flat.php index ce48c4321a187..d7f8bd9d789a2 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Category/Flat.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Category/Flat.php @@ -69,7 +69,7 @@ class Flat extends \Magento\Indexer\Model\ResourceModel\AbstractResource * Category collection factory * * @var \Magento\Catalog\Model\ResourceModel\Category\CollectionFactory - * @deprecated 2.0.12 + * @deprecated 100.0.12 */ protected $_categoryCollectionFactory; @@ -82,7 +82,6 @@ class Flat extends \Magento\Indexer\Model\ResourceModel\AbstractResource /** * @var \Magento\Catalog\Model\ResourceModel\Category\Flat\CollectionFactory - * @since 2.0.12 */ private $categoryFlatCollectionFactory; diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Category/Tree.php b/app/code/Magento/Catalog/Model/ResourceModel/Category/Tree.php index df82c02a3e576..03e6f7f79ff5a 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Category/Tree.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Category/Tree.php @@ -94,7 +94,7 @@ class Tree extends Dbp /** * @var MetadataPool - * @since 2.1.0 + * @since 101.0.0 */ protected $metadataPool; @@ -680,7 +680,6 @@ public function getExistingCategoryIdsBySpecifiedIds($ids) /** * @return \Magento\Framework\EntityManager\MetadataPool - * @since 2.1.0 */ private function getMetadataPool() { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/CategoryProduct.php b/app/code/Magento/Catalog/Model/ResourceModel/CategoryProduct.php index 478fae727dd1f..5fbc2ddf94bb5 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/CategoryProduct.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/CategoryProduct.php @@ -10,7 +10,6 @@ /** * Class CategoryProduct - * @since 2.1.0 */ class CategoryProduct extends AbstractDb { @@ -18,7 +17,6 @@ class CategoryProduct extends AbstractDb * Event prefix * * @var string - * @since 2.1.0 */ protected $_eventPrefix = 'catalog_category_product_resource'; @@ -26,7 +24,6 @@ class CategoryProduct extends AbstractDb * Model initialization * * @return void - * @since 2.1.0 */ protected function _construct() { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Collection/AbstractCollection.php b/app/code/Magento/Catalog/Model/ResourceModel/Collection/AbstractCollection.php index 76947a9488297..d6a7465083874 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Collection/AbstractCollection.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Collection/AbstractCollection.php @@ -77,7 +77,7 @@ public function __construct( * * @param \Magento\Eav\Model\Entity\AbstractEntity $entity * @return string - * @since 2.1.0 + * @since 101.0.0 */ protected function getEntityPkName(\Magento\Eav\Model\Entity\AbstractEntity $entity) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Eav/Attribute.php b/app/code/Magento/Catalog/Model/ResourceModel/Eav/Attribute.php index a64013bffcf44..adf711833f0e0 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Eav/Attribute.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Eav/Attribute.php @@ -824,7 +824,7 @@ public function afterDelete() /** * @inheritdoc - * @since 2.0.9 + * @since 100.0.9 */ public function __sleep() { @@ -837,7 +837,7 @@ public function __sleep() /** * @inheritdoc - * @since 2.0.9 + * @since 100.0.9 */ public function __wakeup() { @@ -853,7 +853,7 @@ public function __wakeup() /** * @inheritdoc - * @since 2.2.0 + * @since 101.1.0 */ public function setIsUsedInGrid($isUsedInGrid) { @@ -863,7 +863,7 @@ public function setIsUsedInGrid($isUsedInGrid) /** * @inheritdoc - * @since 2.2.0 + * @since 101.1.0 */ public function setIsVisibleInGrid($isVisibleInGrid) { @@ -873,7 +873,7 @@ public function setIsVisibleInGrid($isVisibleInGrid) /** * @inheritdoc - * @since 2.2.0 + * @since 101.1.0 */ public function setIsFilterableInGrid($isFilterableInGrid) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Indexer/ActiveTableSwitcher.php b/app/code/Magento/Catalog/Model/ResourceModel/Indexer/ActiveTableSwitcher.php index de37b68d76503..ceedb5e47f397 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Indexer/ActiveTableSwitcher.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Indexer/ActiveTableSwitcher.php @@ -7,7 +7,6 @@ /** * Logic for switching active and replica index tables. - * @since 2.2.0 */ class ActiveTableSwitcher { @@ -15,7 +14,6 @@ class ActiveTableSwitcher * Suffix for replica index table. * * @var string - * @since 2.2.0 */ private $additionalTableSuffix = '_replica'; @@ -23,7 +21,6 @@ class ActiveTableSwitcher * Suffix for outdated index table. * * @var string - * @since 2.2.0 */ private $outdatedTableSuffix = '_outdated'; @@ -33,7 +30,6 @@ class ActiveTableSwitcher * @param \Magento\Framework\DB\Adapter\AdapterInterface $connection * @param array $tableNames * @return void - * @since 2.2.0 */ public function switchTable(\Magento\Framework\DB\Adapter\AdapterInterface $connection, array $tableNames) { @@ -67,7 +63,6 @@ public function switchTable(\Magento\Framework\DB\Adapter\AdapterInterface $conn /** * @param string $tableName * @return string - * @since 2.2.0 */ public function getAdditionalTableName($tableName) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/MaxHeapTableSizeProcessor.php b/app/code/Magento/Catalog/Model/ResourceModel/MaxHeapTableSizeProcessor.php index 072c588c0c0bb..695ec545a9ee8 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/MaxHeapTableSizeProcessor.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/MaxHeapTableSizeProcessor.php @@ -8,7 +8,7 @@ use Magento\Framework\App\ResourceConnection; /** - * @deprecated 2.1.3 + * @deprecated 101.0.3 */ class MaxHeapTableSizeProcessor { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product.php b/app/code/Magento/Catalog/Model/ResourceModel/Product.php index 755982b0554af..b52e6446072ca 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product.php @@ -62,7 +62,7 @@ class Product extends AbstractResource /** * @var \Magento\Framework\EntityManager\EntityManager - * @since 2.1.0 + * @since 101.0.0 */ protected $entityManager; @@ -73,13 +73,12 @@ class Product extends AbstractResource /** * @var array - * @since 2.1.0 + * @since 101.0.0 */ protected $availableCategoryIdsCache = []; /** * @var \Magento\Catalog\Model\ResourceModel\Product\CategoryLink - * @since 2.2.0 */ private $productCategoryLink; @@ -154,7 +153,7 @@ public function getProductWebsiteTable() /** * Product Category table name getter * - * @deprecated 2.2.0 + * @deprecated 101.1.0 * @return string */ public function getProductCategoryTable() @@ -178,7 +177,7 @@ protected function _getDefaultAttributes() /** * Retrieve product website identifiers * - * @deprecated 2.2.0 + * @deprecated 101.1.0 * @param \Magento\Catalog\Model\Product|int $product * @return array */ @@ -295,7 +294,7 @@ public function delete($object) /** * Save product website relations * - * @deprecated 2.2.0 + * @deprecated 101.1.0 * @param \Magento\Catalog\Model\Product $product * @return $this */ @@ -324,7 +323,7 @@ protected function _saveWebsiteIds($product) * @param \Magento\Framework\DataObject $object * @return $this * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @deprecated 2.2.0 + * @deprecated 101.1.0 */ protected function _saveCategories(\Magento\Framework\DataObject $object) { @@ -567,7 +566,7 @@ public function validate($object) * @param integer $entityId * @param array|null $attributes * @return $this - * @since 2.1.0 + * @since 101.0.0 */ public function load($object, $entityId, $attributes = []) { @@ -588,7 +587,7 @@ public function load($object, $entityId, $attributes = []) /** * {@inheritdoc} * @SuppressWarnings(PHPMD.UnusedLocalVariable) - * @since 2.1.0 + * @since 101.0.0 */ protected function evaluateDelete($object, $id, $connection) { @@ -619,7 +618,7 @@ protected function evaluateDelete($object, $id, $connection) * @param \Magento\Framework\Model\AbstractModel $object * @return $this * @throws \Exception - * @since 2.1.0 + * @since 101.0.0 */ public function save(\Magento\Framework\Model\AbstractModel $object) { @@ -629,7 +628,6 @@ public function save(\Magento\Framework\Model\AbstractModel $object) /** * @return \Magento\Framework\EntityManager\EntityManager - * @since 2.1.0 */ private function getEntityManager() { @@ -641,9 +639,8 @@ private function getEntityManager() } /** - * @deprecated 2.2.0 + * @deprecated 101.1.0 * @return ProductWebsiteLink - * @since 2.2.0 */ private function getProductWebsiteLink() { @@ -651,9 +648,8 @@ private function getProductWebsiteLink() } /** - * @deprecated 2.2.0 + * @deprecated 101.1.0 * @return \Magento\Catalog\Model\ResourceModel\Product\CategoryLink - * @since 2.2.0 */ private function getProductCategoryLink() { @@ -669,7 +665,7 @@ private function getProductCategoryLink() * Store id is required to correctly identify attribute value we are working with. * * {@inheritdoc} - * @since 2.2.0 + * @since 101.1.0 */ protected function getAttributeRow($entity, $object, $attribute) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Action.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Action.php index f4adb755439b4..ca20f57c5d00e 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Action.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Action.php @@ -81,7 +81,6 @@ public function updateAttributes($entityIds, $attrData, $storeId) * @param AbstractAttribute $attribute * @param mixed $value * @return $this - * @since 2.1.0 */ protected function _saveAttributeValue($object, $attribute, $value) { @@ -146,7 +145,6 @@ protected function _saveAttributeValue($object, $attribute, $value) /** * @param int $entityId * @return int - * @since 2.1.0 */ protected function resolveEntityId($entityId) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Attribute/Backend/GroupPrice/AbstractGroupPrice.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Attribute/Backend/GroupPrice/AbstractGroupPrice.php index efcf76598dcdf..c8344f11f4b6d 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Attribute/Backend/GroupPrice/AbstractGroupPrice.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Attribute/Backend/GroupPrice/AbstractGroupPrice.php @@ -38,7 +38,6 @@ public function loadPriceData($productId, $websiteId = null) /** * @param int|null $websiteId * @return \Magento\Framework\DB\Select - * @since 2.2.0 */ public function getSelect($websiteId = null) { @@ -67,7 +66,6 @@ public function getSelect($websiteId = null) /** * @return string - * @since 2.1.0 */ protected function getProductIdFieldName() { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/BaseSelectProcessorInterface.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/BaseSelectProcessorInterface.php index 694f839592b57..d97f6bebf4e91 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/BaseSelectProcessorInterface.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/BaseSelectProcessorInterface.php @@ -10,7 +10,7 @@ /** * Interface BaseSelectProcessorInterface * @api - * @since 2.1.3 + * @since 101.0.3 */ interface BaseSelectProcessorInterface { @@ -22,7 +22,7 @@ interface BaseSelectProcessorInterface /** * @param Select $select * @return Select - * @since 2.1.3 + * @since 101.0.3 */ public function process(Select $select); } diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/CategoryLink.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/CategoryLink.php index b2983612d36cb..6e2642d09910a 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/CategoryLink.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/CategoryLink.php @@ -12,25 +12,21 @@ /** * Product CategoryLink resource model - * @since 2.2.0 */ class CategoryLink { /** * @var \Magento\Framework\EntityManager\MetadataPool - * @since 2.2.0 */ private $metadataPool; /** * @var \Magento\Framework\App\ResourceConnection - * @since 2.2.0 */ private $resourceConnection; /** * @var \Magento\Framework\EntityManager\EntityMetadataInterface - * @since 2.2.0 */ private $categoryLinkMetadata; @@ -39,7 +35,6 @@ class CategoryLink * * @param \Magento\Framework\EntityManager\MetadataPool $metadataPool * @param ResourceConnection $resourceConnection - * @since 2.2.0 */ public function __construct( \Magento\Framework\EntityManager\MetadataPool $metadataPool, @@ -55,7 +50,6 @@ public function __construct( * @param ProductInterface $product * @param array $categoryIds * @return array - * @since 2.2.0 */ public function getCategoryLinks(ProductInterface $product, array $categoryIds = []) { @@ -80,7 +74,6 @@ public function getCategoryLinks(ProductInterface $product, array $categoryIds = * @param ProductInterface $product * @param array $categoryLinks * @return array - * @since 2.2.0 */ public function saveCategoryLinks(ProductInterface $product, array $categoryLinks = []) { @@ -100,7 +93,6 @@ public function saveCategoryLinks(ProductInterface $product, array $categoryLink /** * @return \Magento\Framework\EntityManager\EntityMetadataInterface - * @since 2.2.0 */ private function getCategoryLinkMetadata() { @@ -117,7 +109,6 @@ private function getCategoryLinkMetadata() * @param array $newCategoryPositions * @param array $oldCategoryPositions * @return array - * @since 2.2.0 */ private function processCategoryLinks($newCategoryPositions, &$oldCategoryPositions) { @@ -143,7 +134,6 @@ private function processCategoryLinks($newCategoryPositions, &$oldCategoryPositi * @param ProductInterface $product * @param array $insertLinks * @return array - * @since 2.2.0 */ private function updateCategoryLinks(ProductInterface $product, array $insertLinks) { @@ -177,7 +167,6 @@ private function updateCategoryLinks(ProductInterface $product, array $insertLin * @param ProductInterface $product * @param array $deleteLinks * @return array - * @since 2.2.0 */ private function deleteCategoryLinks(ProductInterface $product, array $deleteLinks) { @@ -199,7 +188,6 @@ private function deleteCategoryLinks(ProductInterface $product, array $deleteLin * * @param array $links * @return array - * @since 2.2.0 */ private function verifyCategoryLinks(array $links) { @@ -232,7 +220,6 @@ private function verifyCategoryLinks(array $links) * @param array $deleteUpdate * @param array $insertUpdate * @return array - * @since 2.2.0 */ private function analyseUpdatedLinks($deleteUpdate, $insertUpdate) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Collection.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Collection.php index e281a085b01bf..390ec135a3f96 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Collection.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Collection.php @@ -250,31 +250,26 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Collection\Abstrac /** * @var Gallery - * @since 2.1.1 */ private $mediaGalleryResource; /** * @var GalleryReadHandler - * @since 2.1.1 */ private $productGalleryReadHandler; /** * @var MetadataPool - * @since 2.1.1 */ private $metadataPool; /** * @var bool|string - * @since 2.2.0 */ private $linkField; /** * @var \Magento\Eav\Model\Entity\Attribute\Backend\AbstractBackend - * @since 2.2.0 */ private $backend; @@ -1558,7 +1553,7 @@ public function addAttributeToFilter($attribute, $condition = null, $joinType = /** * {@inheritdoc} - * @since 2.1.0 + * @since 101.0.0 */ protected function getEntityPkName(\Magento\Eav\Model\Entity\AbstractEntity $entity) { @@ -2096,7 +2091,7 @@ public function addTierPriceData() * * @param int $customerGroupId * @return $this - * @since 2.2.0 + * @since 101.1.0 */ public function addTierPriceDataByGroupId($customerGroupId) { @@ -2127,7 +2122,6 @@ public function addTierPriceDataByGroupId($customerGroupId) * * @param array $productIds * @return \Magento\Framework\DB\Select - * @since 2.2.0 */ private function getTierPriceSelect(array $productIds) { @@ -2154,7 +2148,6 @@ private function getTierPriceSelect(array $productIds) * * @param Select $select * @return void - * @since 2.2.0 */ private function fillTierPriceData(\Magento\Framework\DB\Select $select) { @@ -2172,7 +2165,6 @@ private function fillTierPriceData(\Magento\Framework\DB\Select $select) * Retrieve link field and cache it. * * @return bool|string - * @since 2.2.0 */ private function getLinkField() { @@ -2186,7 +2178,6 @@ private function getLinkField() * Retrieve backend model and cache it. * * @return \Magento\Eav\Model\Entity\Attribute\Backend\AbstractBackend - * @since 2.2.0 */ private function getBackend() { @@ -2227,7 +2218,7 @@ public function addPriceDataFieldFilter($comparisonFormat, $fields) * @return $this * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.1.1 + * @since 101.0.1 */ public function addMediaGalleryData() { @@ -2277,7 +2268,7 @@ function ($item) use ($linkField) { * Get product entity metadata * * @return \Magento\Framework\EntityManager\EntityMetadataInterface - * @since 2.2.0 + * @since 101.1.0 */ public function getProductEntityMetadata() { @@ -2288,8 +2279,7 @@ public function getProductEntityMetadata() * Retrieve GalleryReadHandler * * @return GalleryReadHandler - * @deprecated 2.1.1 - * @since 2.1.1 + * @deprecated 101.0.1 */ private function getGalleryReadHandler() { @@ -2300,9 +2290,8 @@ private function getGalleryReadHandler() } /** - * @deprecated 2.1.1 + * @deprecated 101.0.1 * @return \Magento\Catalog\Model\ResourceModel\Product\Gallery - * @since 2.1.1 */ private function getMediaGalleryResource() { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Collection/ProductLimitation.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Collection/ProductLimitation.php index aa933c5a8a2be..3a42d8ad7dd0b 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Collection/ProductLimitation.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Collection/ProductLimitation.php @@ -9,7 +9,7 @@ * Class ProductLimitation * * @api - * @since 2.1.0 + * @since 101.0.0 */ class ProductLimitation implements \ArrayAccess { @@ -27,14 +27,13 @@ class ProductLimitation implements \ArrayAccess * website_id int; required for price; website limitation for price * * @var array - * @since 2.1.0 */ private $productLimitationFilters = []; /** * @param string $offset * @return bool - * @since 2.1.0 + * @since 101.0.0 */ public function offsetExists($offset) { @@ -44,7 +43,7 @@ public function offsetExists($offset) /** * @param string $offset * @return mixed - * @since 2.1.0 + * @since 101.0.0 */ public function offsetGet($offset) { @@ -55,7 +54,7 @@ public function offsetGet($offset) * @param string $offset * @param mixed $value * @return void - * @since 2.1.0 + * @since 101.0.0 */ public function offsetSet($offset, $value) { @@ -65,7 +64,7 @@ public function offsetSet($offset, $value) /** * @param string $offset * @return void - * @since 2.1.0 + * @since 101.0.0 */ public function offsetUnset($offset) { @@ -74,7 +73,7 @@ public function offsetUnset($offset) /** * @return int|null - * @since 2.1.0 + * @since 101.0.0 */ public function getStoreId() { @@ -83,7 +82,7 @@ public function getStoreId() /** * @return int|null - * @since 2.1.0 + * @since 101.0.0 */ public function getCategoryId() { @@ -92,7 +91,7 @@ public function getCategoryId() /** * @return int|null - * @since 2.1.0 + * @since 101.0.0 */ public function getCategoryIsAnchor() { @@ -101,7 +100,7 @@ public function getCategoryIsAnchor() /** * @return array|int|null - * @since 2.1.0 + * @since 101.0.0 */ public function getVisibility() { @@ -110,7 +109,7 @@ public function getVisibility() /** * @return array|int|null - * @since 2.1.0 + * @since 101.0.0 */ public function getWebsiteIds() { @@ -119,7 +118,7 @@ public function getWebsiteIds() /** * @return string|null - * @since 2.1.0 + * @since 101.0.0 */ public function getStoreTable() { @@ -130,7 +129,7 @@ public function getStoreTable() * Join price index table flag * * @return bool - * @since 2.1.0 + * @since 101.0.0 */ public function isUsingPriceIndex() { @@ -140,7 +139,7 @@ public function isUsingPriceIndex() /** * @param bool $value * @return void - * @since 2.1.0 + * @since 101.0.0 */ public function setUsePriceIndex($value) { @@ -151,7 +150,7 @@ public function setUsePriceIndex($value) * Required for price; customer group limitation for price * * @return int|null - * @since 2.1.0 + * @since 101.0.0 */ public function getCustomerGroupId() { @@ -162,7 +161,7 @@ public function getCustomerGroupId() * Required for price; website limitation for price * * @return int|null - * @since 2.1.0 + * @since 101.0.0 */ public function getWebsiteId() { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/CompositeBaseSelectProcessor.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/CompositeBaseSelectProcessor.php index 801efc825041f..2a54d56d0ef4d 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/CompositeBaseSelectProcessor.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/CompositeBaseSelectProcessor.php @@ -10,20 +10,17 @@ /** * Class CompositeBaseSelectProcessor - * @since 2.1.3 */ class CompositeBaseSelectProcessor implements BaseSelectProcessorInterface { /** * @var BaseSelectProcessorInterface[] - * @since 2.1.3 */ private $baseSelectProcessors; /** * @param BaseSelectProcessorInterface[] $baseSelectProcessors * @throws InputException - * @since 2.1.3 */ public function __construct( array $baseSelectProcessors @@ -41,7 +38,6 @@ public function __construct( /** * @param Select $select * @return Select - * @since 2.1.3 */ public function process(Select $select) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Gallery.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Gallery.php index 3a43e49a83737..0cf3f55780e8d 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Gallery.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Gallery.php @@ -11,7 +11,7 @@ * Catalog product media gallery resource model. * * @api - * @since 2.1.0 + * @since 101.0.0 */ class Gallery extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb { @@ -27,7 +27,7 @@ class Gallery extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb /** * @var \Magento\Framework\EntityManager\EntityMetadata - * @since 2.1.0 + * @since 101.0.0 */ protected $metadata; @@ -35,7 +35,7 @@ class Gallery extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * @param \Magento\Framework\Model\ResourceModel\Db\Context $context * @param \Magento\Framework\EntityManager\MetadataPool $metadataPool * @param string $connectionName - * @since 2.1.0 + * @since 101.0.0 */ public function __construct( \Magento\Framework\Model\ResourceModel\Db\Context $context, @@ -51,7 +51,7 @@ public function __construct( /** * {@inheritdoc} - * @since 2.1.0 + * @since 101.0.0 */ protected function _construct() { @@ -60,7 +60,7 @@ protected function _construct() /** * {@inheritdoc} - * @since 2.1.0 + * @since 101.0.0 */ public function getConnection() { @@ -75,7 +75,7 @@ public function getConnection() * @param array $leftJoinTables * @param string $whereCondition * @return array - * @since 2.1.0 + * @since 101.0.0 */ public function loadDataFromTableByValueId( $tableNameAlias, @@ -115,7 +115,7 @@ public function loadDataFromTableByValueId( * @param \Magento\Catalog\Model\Product $product * @param int $attributeId * @return array - * @since 2.1.0 + * @since 101.0.0 */ public function loadProductGalleryByAttributeId($product, $attributeId) { @@ -138,7 +138,7 @@ public function loadProductGalleryByAttributeId($product, $attributeId) * @param int $attributeId * @return \Magento\Framework\DB\Select * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.1.0 + * @since 101.0.0 */ protected function createBaseLoadSelect($entityId, $storeId, $attributeId) { @@ -156,7 +156,7 @@ protected function createBaseLoadSelect($entityId, $storeId, $attributeId) * @param int $attributeId * @return \Magento\Framework\DB\Select * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.1.1 + * @since 101.0.1 */ public function createBatchBaseSelect($storeId, $attributeId) { @@ -220,7 +220,7 @@ public function createBatchBaseSelect($storeId, $attributeId) * * @param array &$result * @return $this - * @since 2.1.0 + * @since 101.0.0 */ protected function removeDuplicates(&$result) { @@ -242,7 +242,7 @@ protected function removeDuplicates(&$result) /** * @return string - * @since 2.1.0 + * @since 101.0.0 */ public function getMainTableAlias() { @@ -253,7 +253,7 @@ public function getMainTableAlias() * @param int $valueId * @param int $entityId * @return int - * @since 2.1.0 + * @since 101.0.0 */ public function bindValueToEntity($valueId, $entityId) { @@ -271,7 +271,7 @@ public function bindValueToEntity($valueId, $entityId) * @param array $data * @param array $fields * @return int - * @since 2.1.0 + * @since 101.0.0 */ public function saveDataRow($table, array $data, array $fields = []) { @@ -284,7 +284,7 @@ public function saveDataRow($table, array $data, array $fields = []) * * @param array $data * @return int - * @since 2.1.0 + * @since 101.0.0 */ public function insertGallery($data) { @@ -303,7 +303,7 @@ public function insertGallery($data) * * @param array|integer $valueId * @return $this - * @since 2.1.0 + * @since 101.0.0 */ public function deleteGallery($valueId) { @@ -325,7 +325,7 @@ public function deleteGallery($valueId) * * @param array $data * @return $this - * @since 2.1.0 + * @since 101.0.0 */ public function insertGalleryValueInStore($data) { @@ -349,7 +349,7 @@ public function insertGalleryValueInStore($data) * @param int $entityId * @param int $storeId * @return $this - * @since 2.1.0 + * @since 101.0.0 */ public function deleteGalleryValueInStore($valueId, $entityId, $storeId) { @@ -378,7 +378,7 @@ public function deleteGalleryValueInStore($valueId, $entityId, $storeId) * @param int $originalProductId * @param int $newProductId * @return array - * @since 2.1.0 + * @since 101.0.0 */ public function duplicate($attributeId, $newFiles, $originalProductId, $newProductId) { @@ -442,7 +442,7 @@ public function duplicate($attributeId, $newFiles, $originalProductId, $newProdu * @param \Magento\Catalog\Model\Product $product * @param int|array $storeIds * @return array - * @since 2.1.0 + * @since 101.0.0 */ public function getProductImages($product, $storeIds) { @@ -478,7 +478,7 @@ public function getProductImages($product, $storeIds) * * @param string $image * @return int - * @since 2.2.0 + * @since 101.1.0 */ public function countImageUses($image) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/AbstractIndexer.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/AbstractIndexer.php index e8fd872f271f4..82c6ebbef346d 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/AbstractIndexer.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/AbstractIndexer.php @@ -25,7 +25,7 @@ abstract class AbstractIndexer extends \Magento\Indexer\Model\ResourceModel\Abst /** * @var \Magento\Framework\EntityManager\MetadataPool - * @since 2.1.0 + * @since 101.0.0 */ protected $metadataPool; @@ -234,7 +234,7 @@ public function getRelationsByParent($parentIds) /** * @return \Magento\Framework\EntityManager\MetadataPool - * @since 2.1.0 + * @since 101.0.0 */ protected function getMetadataPool() { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Eav/BatchSizeCalculator.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Eav/BatchSizeCalculator.php index e922af571be30..479dcf70f4a7f 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Eav/BatchSizeCalculator.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Eav/BatchSizeCalculator.php @@ -13,26 +13,22 @@ * Composite batch size calculator for EAV related indexers. * * Can be configured to provide batch sizes for different indexer types. - * @since 2.2.0 */ class BatchSizeCalculator { /** * @var array - * @since 2.2.0 */ private $batchSizes; /** * @var \Magento\Framework\Indexer\BatchSizeManagement[] - * @since 2.2.0 */ private $batchSizeManagers; /** * @param array $batchSizes preferable sizes (number of rows in batch) of batches per index type * @param array $batchSizeManagers batch managers per index type - * @since 2.2.0 */ public function __construct( array $batchSizes, @@ -49,7 +45,6 @@ public function __construct( * @param string $indexerTypeId unique identifier of the indexer * @return int estimated batch size * @throws NoSuchEntityException thrown if indexer identifier is not recognized - * @since 2.2.0 */ public function estimateBatchSize( AdapterInterface $connection, diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Eav/DecimalRowSizeEstimator.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Eav/DecimalRowSizeEstimator.php index 8698dbc2f34f3..0c8c3a9c0b133 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Eav/DecimalRowSizeEstimator.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Eav/DecimalRowSizeEstimator.php @@ -19,25 +19,21 @@ * * Can be used with batch size manager to ensure that the batch will be handled correctly by the database. * @see \Magento\Framework\Indexer\BatchSizeManagement - * @since 2.2.0 */ class DecimalRowSizeEstimator implements IndexTableRowSizeEstimatorInterface { /** * @var Decimal - * @since 2.2.0 */ private $indexerResource; /** * @var StoreManagementInterface - * @since 2.2.0 */ private $storeManagement; /** * @var MetadataPool - * @since 2.2.0 */ private $metadataPool; @@ -45,7 +41,6 @@ class DecimalRowSizeEstimator implements IndexTableRowSizeEstimatorInterface * @param StoreManagementInterface $storeManagement * @param Decimal $indexerResource * @param MetadataPool $metadataPool - * @since 2.2.0 */ public function __construct( StoreManagementInterface $storeManagement, @@ -59,7 +54,6 @@ public function __construct( /** * @inheritdoc - * @since 2.2.0 */ public function estimateRowSize() { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Eav/Source.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Eav/Source.php index 8379b23f3b34b..5b68730209b40 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Eav/Source.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Eav/Source.php @@ -333,7 +333,6 @@ public function getIdxTable($table = null) * @param \Magento\Framework\DB\Select $select * @param array $options * @return void - * @since 2.2.0 */ private function saveDataFromSelect(\Magento\Framework\DB\Select $select, array $options) { @@ -362,7 +361,6 @@ private function saveDataFromSelect(\Magento\Framework\DB\Select $select, array * * @param array $parentIds the parent entity ids limitation * @return $this - * @since 2.2.0 */ protected function _prepareRelationIndex($parentIds = null) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Eav/SourceRowSizeEstimator.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Eav/SourceRowSizeEstimator.php index 5b24586cf0a05..d212337ae7c64 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Eav/SourceRowSizeEstimator.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Eav/SourceRowSizeEstimator.php @@ -20,25 +20,21 @@ * * Can be used with batch size manager to ensure that the batch will be handled correctly by the database. * @see \Magento\Framework\Indexer\BatchSizeManagement - * @since 2.2.0 */ class SourceRowSizeEstimator implements IndexTableRowSizeEstimatorInterface { /** * @var StoreManagementInterface - * @since 2.2.0 */ private $storeManagement; /** * @var Source - * @since 2.2.0 */ private $indexerResource; /** * @var MetadataPool - * @since 2.2.0 */ private $metadataPool; @@ -46,7 +42,6 @@ class SourceRowSizeEstimator implements IndexTableRowSizeEstimatorInterface * @param StoreManagementInterface $storeManagement * @param Source $indexerResource * @param MetadataPool $metadataPool - * @since 2.2.0 */ public function __construct( StoreManagementInterface $storeManagement, @@ -60,7 +55,6 @@ public function __construct( /** * @inheritdoc - * @since 2.2.0 */ public function estimateRowSize() { @@ -90,7 +84,6 @@ public function estimateRowSize() * @param string $valueTable name of the target table * @param string $entityIdField entity ID field name * @return string maximum rows per store and product stored in the table - * @since 2.2.0 */ private function getMaxRowsPerStore( AdapterInterface $connection, diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/LinkedProductSelectBuilderByIndexPrice.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/LinkedProductSelectBuilderByIndexPrice.php index 7c870e54d4a0e..b44f18ca44fbe 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/LinkedProductSelectBuilderByIndexPrice.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/LinkedProductSelectBuilderByIndexPrice.php @@ -14,37 +14,31 @@ /** * Class \Magento\Catalog\Model\ResourceModel\Product\Indexer\LinkedProductSelectBuilderByIndexPrice * - * @since 2.1.1 */ class LinkedProductSelectBuilderByIndexPrice implements LinkedProductSelectBuilderInterface { /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.1.1 */ private $storeManager; /** * @var \Magento\Framework\App\ResourceConnection - * @since 2.1.1 */ private $resource; /** * @var \Magento\Customer\Model\Session - * @since 2.1.1 */ private $customerSession; /** * @var \Magento\Framework\EntityManager\MetadataPool - * @since 2.1.1 */ private $metadataPool; /** * @var BaseSelectProcessorInterface - * @since 2.1.3 */ private $baseSelectProcessor; @@ -55,7 +49,6 @@ class LinkedProductSelectBuilderByIndexPrice implements LinkedProductSelectBuild * @param \Magento\Customer\Model\Session $customerSession * @param \Magento\Framework\EntityManager\MetadataPool $metadataPool * @param BaseSelectProcessorInterface|null $baseSelectProcessor - * @since 2.1.1 */ public function __construct( \Magento\Store\Model\StoreManagerInterface $storeManager, @@ -74,7 +67,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.1.1 */ public function build($productId) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Price/BatchSizeCalculator.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Price/BatchSizeCalculator.php index 18ed156ad3a2a..b31147af2342f 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Price/BatchSizeCalculator.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Price/BatchSizeCalculator.php @@ -8,19 +8,16 @@ /** * Ensure that size of index MEMORY table is enough for configured rows count in batch. - * @since 2.2.0 */ class BatchSizeCalculator { /** * @var array - * @since 2.2.0 */ private $batchRowsCount; /** * @var \Magento\Framework\Indexer\BatchSizeManagementInterface[] - * @since 2.2.0 */ private $estimators; @@ -28,7 +25,6 @@ class BatchSizeCalculator * BatchSizeCalculator constructor. * @param array $batchRowsCount * @param array $estimators - * @since 2.2.0 */ public function __construct(array $batchRowsCount, array $estimators) { @@ -44,7 +40,6 @@ public function __construct(array $batchRowsCount, array $estimators) * @param \Magento\Framework\DB\Adapter\AdapterInterface $connection * @param string $indexerTypeId * @return int - * @since 2.2.0 */ public function estimateBatchSize(\Magento\Framework\DB\Adapter\AdapterInterface $connection, $indexerTypeId) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Price/CompositeProductRowSizeEstimator.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Price/CompositeProductRowSizeEstimator.php index 2e7aadbade553..a3425bfc9d729 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Price/CompositeProductRowSizeEstimator.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Price/CompositeProductRowSizeEstimator.php @@ -12,7 +12,6 @@ /** * Estimate index memory size for largest composite product in catalog. - * @since 2.2.0 */ class CompositeProductRowSizeEstimator implements IndexTableRowSizeEstimatorInterface { @@ -23,19 +22,16 @@ class CompositeProductRowSizeEstimator implements IndexTableRowSizeEstimatorInte /** * @var DefaultPrice - * @since 2.2.0 */ private $indexerResource; /** * @var WebsiteManagementInterface - * @since 2.2.0 */ private $websiteManagement; /** * @var CollectionFactory - * @since 2.2.0 */ private $collectionFactory; @@ -43,7 +39,6 @@ class CompositeProductRowSizeEstimator implements IndexTableRowSizeEstimatorInte * @param DefaultPrice $indexerResource * @param WebsiteManagementInterface $websiteManagement * @param CollectionFactory $collectionFactory - * @since 2.2.0 */ public function __construct( DefaultPrice $indexerResource, @@ -59,7 +54,6 @@ public function __construct( * Calculate memory size for largest composite product in database. * * {@inheritdoc} - * @since 2.2.0 */ public function estimateRowSize() { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Price/DefaultPrice.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Price/DefaultPrice.php index 568b09e0e58da..de0e8a3f4e7d7 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Price/DefaultPrice.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Price/DefaultPrice.php @@ -48,7 +48,6 @@ class DefaultPrice extends AbstractIndexer implements PriceInterface /** * @var bool|null - * @since 2.2.0 */ private $hasEntity = null; @@ -266,7 +265,7 @@ protected function prepareFinalPriceDataForType($entityIds, $type) * @return \Magento\Framework\DB\Select * @throws \Magento\Framework\Exception\LocalizedException * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.2.0 + * @since 101.1.0 */ protected function getSelect($entityIds = null, $type = null) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Price/IndexTableRowSizeEstimator.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Price/IndexTableRowSizeEstimator.php index 25b4084924935..89df6677f2490 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Price/IndexTableRowSizeEstimator.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Price/IndexTableRowSizeEstimator.php @@ -9,7 +9,6 @@ /** * Estimate index memory size for simple product. * Size depends on websites and customer groups count. - * @since 2.2.0 */ class IndexTableRowSizeEstimator implements \Magento\Framework\Indexer\IndexTableRowSizeEstimatorInterface { @@ -20,13 +19,11 @@ class IndexTableRowSizeEstimator implements \Magento\Framework\Indexer\IndexTabl /** * @var \Magento\Store\Api\WebsiteManagementInterface - * @since 2.2.0 */ private $websiteManagement; /** * @var \Magento\Customer\Model\ResourceModel\Group\CollectionFactory - * @since 2.2.0 */ private $collectionFactory; @@ -34,7 +31,6 @@ class IndexTableRowSizeEstimator implements \Magento\Framework\Indexer\IndexTabl * CompositeProductBatchSizeCalculator constructor. * @param \Magento\Store\Api\WebsiteManagementInterface $websiteManagement * @param \Magento\Customer\Model\ResourceModel\Group\CollectionFactory $collectionFactory - * @since 2.2.0 */ public function __construct( \Magento\Store\Api\WebsiteManagementInterface $websiteManagement, @@ -46,7 +42,6 @@ public function __construct( /** * @inheritdoc - * @since 2.2.0 */ public function estimateRowSize() { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/TemporaryTableStrategy.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/TemporaryTableStrategy.php index 1cafafb7cbcc9..54673cb01bb1d 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/TemporaryTableStrategy.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/TemporaryTableStrategy.php @@ -8,7 +8,6 @@ /** * Provided logic will create temporary table based on memory table and will return new index table name. - * @since 2.2.0 */ class TemporaryTableStrategy implements \Magento\Framework\Indexer\Table\StrategyInterface { @@ -19,7 +18,6 @@ class TemporaryTableStrategy implements \Magento\Framework\Indexer\Table\Strateg /** * @var \Magento\Framework\Indexer\Table\Strategy - * @since 2.2.0 */ private $strategy; @@ -27,7 +25,6 @@ class TemporaryTableStrategy implements \Magento\Framework\Indexer\Table\Strateg * Application resource * * @var \Magento\Framework\App\ResourceConnection - * @since 2.2.0 */ private $resource; @@ -35,7 +32,6 @@ class TemporaryTableStrategy implements \Magento\Framework\Indexer\Table\Strateg * TemporaryTableStrategy constructor. * @param \Magento\Framework\Indexer\Table\Strategy $strategy * @param \Magento\Framework\App\ResourceConnection $resource - * @since 2.2.0 */ public function __construct( \Magento\Framework\Indexer\Table\StrategyInterface $strategy, @@ -47,7 +43,6 @@ public function __construct( /** * @inheritdoc - * @since 2.2.0 */ public function getUseIdxTable() { @@ -56,7 +51,6 @@ public function getUseIdxTable() /** * @inheritdoc - * @since 2.2.0 */ public function setUseIdxTable($value = false) { @@ -65,7 +59,6 @@ public function setUseIdxTable($value = false) /** * @inheritdoc - * @since 2.2.0 */ public function getTableName($tablePrefix) { @@ -76,7 +69,6 @@ public function getTableName($tablePrefix) * Create temporary index table based on memory table * * {@inheritdoc} - * @since 2.2.0 */ public function prepareTableName($tablePrefix) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Link.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Link.php index 8442113dc8ac7..4b420329eef99 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Link.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Link.php @@ -58,7 +58,6 @@ protected function _construct() * @param int $linkId * @return int * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.1.0 */ public function deleteProductLink($linkId) { @@ -73,7 +72,6 @@ public function deleteProductLink($linkId) * @param int $typeId * @return string * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.1.0 */ public function getProductLinkId($parentId, $linkedProductId, $typeId) { @@ -103,7 +101,6 @@ public function getProductLinkId($parentId, $linkedProductId, $typeId) * * @param int $parentId ID of product * @return bool - * @since 2.1.3 */ public function hasProductLinks($parentId) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Link/DeleteHandler.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Link/DeleteHandler.php index 60dbdc2b0898b..600b05e39fc68 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Link/DeleteHandler.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Link/DeleteHandler.php @@ -16,31 +16,26 @@ /** * Class DeleteHandler - * @since 2.1.0 */ class DeleteHandler { /** * @var LinkTypeProvider - * @since 2.1.0 */ protected $linkTypeProvider; /** * @var MetadataPool - * @since 2.1.0 */ protected $metadataPool; /** * @var ProductRepositoryInterface - * @since 2.1.0 */ protected $productRepository; /** * @var Link - * @since 2.1.0 */ protected $linkResource; @@ -51,7 +46,6 @@ class DeleteHandler * @param ProductRepositoryInterface $productRepository * @param Link $linkResource * @param LinkTypeProvider $linkTypeProvider - * @since 2.1.0 */ public function __construct( MetadataPool $metadataPool, @@ -72,7 +66,6 @@ public function __construct( * @throws CouldNotDeleteException * @throws NoSuchEntityException * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.1.0 */ public function execute($entityType, $entity) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Link/Product/Collection.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Link/Product/Collection.php index 4837d8397898f..bec7e318a02e6 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Link/Product/Collection.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Link/Product/Collection.php @@ -347,7 +347,6 @@ public function addLinkAttributeToFilter($code, $condition) /** * Join Product To Links * @return void - * @since 2.1.0 */ private function joinProductsToLinks() { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Link/SaveHandler.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Link/SaveHandler.php index 937f1ecbdcc48..5dc8a89465255 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Link/SaveHandler.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Link/SaveHandler.php @@ -16,37 +16,31 @@ /** * Class SaveHandler - * @since 2.1.0 */ class SaveHandler { /** * @var LinkTypeProvider - * @since 2.1.0 */ protected $linkTypeProvider; /** * @var DataObjectProcessor - * @since 2.1.0 */ protected $dataObjectProcessor; /** * @var MetadataPool - * @since 2.1.0 */ protected $metadataPool; /** * @var ProductRepositoryInterface - * @since 2.1.0 */ protected $productRepository; /** * @var Link - * @since 2.1.0 */ protected $linkResource; @@ -58,7 +52,6 @@ class SaveHandler * @param Link $linkResource * @param DataObjectProcessor $dataObjectProcessor * @param LinkTypeProvider $linkTypeProvider - * @since 2.1.0 */ public function __construct( MetadataPool $metadataPool, @@ -80,7 +73,6 @@ public function __construct( * @return object * @throws CouldNotSaveException * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.1.0 */ public function execute($entityType, $entity) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/LinkedProductSelectBuilderByBasePrice.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/LinkedProductSelectBuilderByBasePrice.php index 0671568b4f401..bda683afc9beb 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/LinkedProductSelectBuilderByBasePrice.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/LinkedProductSelectBuilderByBasePrice.php @@ -14,43 +14,36 @@ /** * Class \Magento\Catalog\Model\ResourceModel\Product\LinkedProductSelectBuilderByBasePrice * - * @since 2.1.1 */ class LinkedProductSelectBuilderByBasePrice implements LinkedProductSelectBuilderInterface { /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.1.1 */ private $storeManager; /** * @var \Magento\Framework\App\ResourceConnection - * @since 2.1.1 */ private $resource; /** * @var \Magento\Eav\Model\Config - * @since 2.1.1 */ private $eavConfig; /** * @var \Magento\Catalog\Helper\Data - * @since 2.1.1 */ private $catalogHelper; /** * @var \Magento\Framework\EntityManager\MetadataPool - * @since 2.1.1 */ private $metadataPool; /** * @var BaseSelectProcessorInterface - * @since 2.1.3 */ private $baseSelectProcessor; @@ -61,7 +54,6 @@ class LinkedProductSelectBuilderByBasePrice implements LinkedProductSelectBuilde * @param \Magento\Catalog\Helper\Data $catalogHelper * @param \Magento\Framework\EntityManager\MetadataPool $metadataPool * @param BaseSelectProcessorInterface $baseSelectProcessor - * @since 2.1.1 */ public function __construct( \Magento\Store\Model\StoreManagerInterface $storeManager, @@ -82,7 +74,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.1.1 */ public function build($productId) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/LinkedProductSelectBuilderBySpecialPrice.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/LinkedProductSelectBuilderBySpecialPrice.php index 4de2308b70249..b4459cd1eea07 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/LinkedProductSelectBuilderBySpecialPrice.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/LinkedProductSelectBuilderBySpecialPrice.php @@ -13,55 +13,46 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.1.1 */ class LinkedProductSelectBuilderBySpecialPrice implements LinkedProductSelectBuilderInterface { /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.1.1 */ private $storeManager; /** * @var \Magento\Framework\App\ResourceConnection - * @since 2.1.1 */ private $resource; /** * @var \Magento\Eav\Model\Config - * @since 2.1.1 */ private $eavConfig; /** * @var \Magento\Catalog\Helper\Data - * @since 2.1.1 */ private $catalogHelper; /** * @var \Magento\Framework\Stdlib\DateTime - * @since 2.1.1 */ private $dateTime; /** * @var \Magento\Framework\Stdlib\DateTime\TimezoneInterface - * @since 2.1.1 */ private $localeDate; /** * @var \Magento\Framework\EntityManager\MetadataPool - * @since 2.1.1 */ private $metadataPool; /** * @var BaseSelectProcessorInterface - * @since 2.1.3 */ private $baseSelectProcessor; @@ -74,7 +65,6 @@ class LinkedProductSelectBuilderBySpecialPrice implements LinkedProductSelectBui * @param \Magento\Framework\Stdlib\DateTime\TimezoneInterface $localeDate * @param \Magento\Framework\EntityManager\MetadataPool $metadataPool * @param BaseSelectProcessorInterface $baseSelectProcessor - * @since 2.1.1 */ public function __construct( \Magento\Store\Model\StoreManagerInterface $storeManager, @@ -99,7 +89,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.1.1 */ public function build($productId) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/LinkedProductSelectBuilderByTierPrice.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/LinkedProductSelectBuilderByTierPrice.php index a55ad16c5abfd..1fe353873833f 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/LinkedProductSelectBuilderByTierPrice.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/LinkedProductSelectBuilderByTierPrice.php @@ -12,7 +12,6 @@ /** * Class \Magento\Catalog\Model\ResourceModel\Product\LinkedProductSelectBuilderByTierPrice * - * @since 2.1.1 */ class LinkedProductSelectBuilderByTierPrice implements LinkedProductSelectBuilderInterface { @@ -23,37 +22,31 @@ class LinkedProductSelectBuilderByTierPrice implements LinkedProductSelectBuilde /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.1.1 */ private $storeManager; /** * @var \Magento\Framework\App\ResourceConnection - * @since 2.1.1 */ private $resource; /** * @var \Magento\Customer\Model\Session - * @since 2.1.1 */ private $customerSession; /** * @var \Magento\Catalog\Helper\Data - * @since 2.1.1 */ private $catalogHelper; /** * @var \Magento\Framework\EntityManager\MetadataPool - * @since 2.1.1 */ private $metadataPool; /** * @var BaseSelectProcessorInterface - * @since 2.1.3 */ private $baseSelectProcessor; @@ -64,7 +57,6 @@ class LinkedProductSelectBuilderByTierPrice implements LinkedProductSelectBuilde * @param \Magento\Catalog\Helper\Data $catalogHelper * @param \Magento\Framework\EntityManager\MetadataPool $metadataPool * @param BaseSelectProcessorInterface $baseSelectProcessor - * @since 2.1.1 */ public function __construct( \Magento\Store\Model\StoreManagerInterface $storeManager, @@ -85,7 +77,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.1.1 */ public function build($productId) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/LinkedProductSelectBuilderComposite.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/LinkedProductSelectBuilderComposite.php index 14011049aa32e..230456536f07e 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/LinkedProductSelectBuilderComposite.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/LinkedProductSelectBuilderComposite.php @@ -9,19 +9,16 @@ /** * Class \Magento\Catalog\Model\ResourceModel\Product\LinkedProductSelectBuilderComposite * - * @since 2.1.1 */ class LinkedProductSelectBuilderComposite implements LinkedProductSelectBuilderInterface { /** * @var LinkedProductSelectBuilderInterface[] - * @since 2.1.1 */ private $linkedProductSelectBuilder; /** * @param LinkedProductSelectBuilderInterface[] $linkedProductSelectBuilder - * @since 2.1.1 */ public function __construct($linkedProductSelectBuilder) { @@ -30,7 +27,6 @@ public function __construct($linkedProductSelectBuilder) /** * {@inheritdoc} - * @since 2.1.1 */ public function build($productId) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/LinkedProductSelectBuilderInterface.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/LinkedProductSelectBuilderInterface.php index 00f02a71da460..3b870ed61f36d 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/LinkedProductSelectBuilderInterface.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/LinkedProductSelectBuilderInterface.php @@ -7,14 +7,12 @@ /** * Provide Select object for retrieve product id with minimal price - * @since 2.1.1 */ interface LinkedProductSelectBuilderInterface { /** * @param int $productId * @return \Magento\Framework\DB\Select[] - * @since 2.1.1 */ public function build($productId); } diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Option.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Option.php index 953fea2ee6dba..4775b96e3a448 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Option.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Option.php @@ -17,7 +17,6 @@ class Option extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb { /** * @var \Magento\Framework\EntityManager\MetadataPool - * @since 2.1.0 */ protected $metadataPool; @@ -569,7 +568,6 @@ public function getSearchableData($productId, $storeId) * All Option Types that support price and price_type * * @return string[] - * @since 2.2.0 */ public function getPriceTypes() { @@ -585,7 +583,6 @@ public function getPriceTypes() /** * @return \Magento\Framework\EntityManager\MetadataPool - * @since 2.1.0 */ private function getMetadataPool() { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Option/Collection.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Option/Collection.php index 4a85efc6399fb..34031e960930b 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Option/Collection.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Option/Collection.php @@ -20,13 +20,13 @@ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\Ab { /** * @var JoinProcessorInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $joinProcessor; /** * @var \Magento\Framework\EntityManager\MetadataPool - * @since 2.1.0 + * @since 101.0.0 */ protected $metadataPool; @@ -248,7 +248,7 @@ public function addProductToFilter($product) /** * @return void * @throws \Exception - * @since 2.1.0 + * @since 101.0.0 */ protected function _initSelect() { @@ -268,7 +268,7 @@ protected function _initSelect() * @param int $storeId * @param bool $requiredOnly * @return \Magento\Catalog\Api\Data\ProductCustomOptionInterface[] - * @since 2.1.0 + * @since 101.0.0 */ public function getProductOptions($productId, $storeId, $requiredOnly = false) { @@ -330,7 +330,6 @@ public function reset() /** * @return JoinProcessorInterface - * @since 2.1.0 */ private function getJoinProcessor() { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Option/Value.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Option/Value.php index 1a1d97d087caa..4160face6b35a 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Option/Value.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Option/Value.php @@ -35,7 +35,6 @@ class Value extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb /** * @var \Magento\Framework\Locale\FormatInterface - * @since 2.2.0 */ private $localeFormat; @@ -427,8 +426,7 @@ public function duplicate(\Magento\Catalog\Model\Product\Option\Value $object, $ * Get FormatInterface to convert price from string to number format * * @return \Magento\Framework\Locale\FormatInterface - * @deprecated 2.2.0 - * @since 2.2.0 + * @deprecated 101.1.0 */ private function getLocaleFormatter() { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Price/SpecialPrice.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Price/SpecialPrice.php index 17827b09e2dd3..7eb19193f8bdd 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Price/SpecialPrice.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Price/SpecialPrice.php @@ -8,7 +8,6 @@ /** * Special price resource. - * @since 2.2.0 */ class SpecialPrice implements \Magento\Catalog\Api\SpecialPriceInterface { @@ -16,7 +15,6 @@ class SpecialPrice implements \Magento\Catalog\Api\SpecialPriceInterface * Price storage table. * * @var string - * @since 2.2.0 */ private $priceTable = 'catalog_product_entity_decimal'; @@ -24,25 +22,21 @@ class SpecialPrice implements \Magento\Catalog\Api\SpecialPriceInterface * Datetime storage table. * * @var string - * @since 2.2.0 */ private $datetimeTable = 'catalog_product_entity_datetime'; /** * @var \Magento\Catalog\Model\ResourceModel\Attribute - * @since 2.2.0 */ private $attributeResource; /** * @var \Magento\Catalog\Api\ProductAttributeRepositoryInterface - * @since 2.2.0 */ private $attributeRepository; /** * @var \Magento\Catalog\Model\ProductIdLocatorInterface - * @since 2.2.0 */ private $productIdLocator; @@ -50,7 +44,6 @@ class SpecialPrice implements \Magento\Catalog\Api\SpecialPriceInterface * Metadata pool. * * @var \Magento\Framework\EntityManager\MetadataPool - * @since 2.2.0 */ private $metadataPool; @@ -58,7 +51,6 @@ class SpecialPrice implements \Magento\Catalog\Api\SpecialPriceInterface * Special Price attribute ID. * * @var int - * @since 2.2.0 */ private $priceAttributeId; @@ -66,7 +58,6 @@ class SpecialPrice implements \Magento\Catalog\Api\SpecialPriceInterface * Special price from attribute ID. * * @var int - * @since 2.2.0 */ private $priceFromAttributeId; @@ -74,7 +65,6 @@ class SpecialPrice implements \Magento\Catalog\Api\SpecialPriceInterface * Special price to attribute ID. * * @var int - * @since 2.2.0 */ private $priceToAttributeId; @@ -82,7 +72,6 @@ class SpecialPrice implements \Magento\Catalog\Api\SpecialPriceInterface * Items per operation. * * @var int - * @since 2.2.0 */ private $itemsPerOperation = 500; @@ -91,7 +80,6 @@ class SpecialPrice implements \Magento\Catalog\Api\SpecialPriceInterface * @param \Magento\Catalog\Api\ProductAttributeRepositoryInterface $attributeRepository * @param \Magento\Catalog\Model\ProductIdLocatorInterface $productIdLocator * @param \Magento\Framework\EntityManager\MetadataPool $metadataPool - * @since 2.2.0 */ public function __construct( \Magento\Catalog\Model\ResourceModel\Attribute $attributeResource, @@ -107,7 +95,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.2.0 */ public function get(array $skus) { @@ -146,7 +133,6 @@ public function get(array $skus) /** * {@inheritdoc} - * @since 2.2.0 */ public function update(array $prices) { @@ -202,7 +188,6 @@ public function update(array $prices) /** * {@inheritdoc} - * @since 2.2.0 */ public function delete(array $prices) { @@ -249,7 +234,6 @@ public function delete(array $prices) * Get link field. * * @return string - * @since 2.2.0 */ public function getEntityLinkField() { @@ -263,7 +247,6 @@ public function getEntityLinkField() * @param array $items * @param string $table * @return void - * @since 2.2.0 */ private function updateItems(array $items, $table) { @@ -280,7 +263,6 @@ private function updateItems(array $items, $table) * Get special price attribute ID. * * @return int - * @since 2.2.0 */ private function getPriceAttributeId() { @@ -295,7 +277,6 @@ private function getPriceAttributeId() * Get special price from attribute ID. * * @return int - * @since 2.2.0 */ private function getPriceFromAttributeId() { @@ -310,7 +291,6 @@ private function getPriceFromAttributeId() * Get special price to attribute ID. * * @return int - * @since 2.2.0 */ private function getPriceToAttributeId() { @@ -326,7 +306,6 @@ private function getPriceToAttributeId() * * @param array $skus * @return array - * @since 2.2.0 */ private function retrieveAffectedIds(array $skus) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Relation.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Relation.php index 3c39c0f8fe779..c855fc5371b46 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Relation.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Relation.php @@ -57,7 +57,6 @@ public function processRelations($parentId, $childIds) * @param int $childId * @return $this * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.1.0 */ public function addRelation($parentId, $childId) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/StatusBaseSelectProcessor.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/StatusBaseSelectProcessor.php index f54c23ade6b3e..c7829ab3a31d2 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/StatusBaseSelectProcessor.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/StatusBaseSelectProcessor.php @@ -16,25 +16,21 @@ /** * Class StatusBaseSelectProcessor - * @since 2.1.3 */ class StatusBaseSelectProcessor implements BaseSelectProcessorInterface { /** * @var Config - * @since 2.1.3 */ private $eavConfig; /** * @var MetadataPool - * @since 2.1.3 */ private $metadataPool; /** * @var StoreResolverInterface - * @since 2.1.3 */ private $storeResolver; @@ -42,7 +38,6 @@ class StatusBaseSelectProcessor implements BaseSelectProcessorInterface * @param Config $eavConfig * @param MetadataPool $metadataPool * @param StoreResolverInterface $storeResolver - * @since 2.1.3 */ public function __construct( Config $eavConfig, @@ -57,7 +52,6 @@ public function __construct( /** * @param Select $select * @return Select - * @since 2.1.3 */ public function process(Select $select) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Website/Link.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Website/Link.php index 227500bcc7632..c231b85ddabf0 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Website/Link.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Website/Link.php @@ -12,20 +12,17 @@ /** * Class \Magento\Catalog\Model\ResourceModel\Product\Website\Link * - * @since 2.2.0 */ class Link { /** * @var \Magento\Framework\App\ResourceConnection - * @since 2.2.0 */ private $resourceConnection; /** * Link constructor. * @param ResourceConnection $resourceConnection - * @since 2.2.0 */ public function __construct( ResourceConnection $resourceConnection @@ -37,7 +34,6 @@ public function __construct( * Retrieve associated with product websites ids * @param int $productId * @return array - * @since 2.2.0 */ public function getWebsiteIdsByProductId($productId) { @@ -59,7 +55,6 @@ public function getWebsiteIdsByProductId($productId) * @param ProductInterface $product * @param array $websiteIds * @return bool - * @since 2.2.0 */ public function saveWebsiteIds(ProductInterface $product, array $websiteIds) { @@ -93,7 +88,6 @@ public function saveWebsiteIds(ProductInterface $product, array $websiteIds) /** * @return string - * @since 2.2.0 */ private function getProductWebsiteTable() { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Website/SelectProcessor.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Website/SelectProcessor.php index 0a30a4f541465..ad15702c45572 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Website/SelectProcessor.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Website/SelectProcessor.php @@ -14,25 +14,21 @@ /** * Filter products that belongs to current website - * @since 2.2.0 */ class SelectProcessor implements BaseSelectProcessorInterface { /** * @var ResourceConnection - * @since 2.2.0 */ private $resource; /** * @var MetadataPool - * @since 2.2.0 */ private $metadataPool; /** * @var StoreManagerInterface - * @since 2.2.0 */ private $storeManager; @@ -40,7 +36,6 @@ class SelectProcessor implements BaseSelectProcessorInterface * @param MetadataPool $metadataPool * @param ResourceConnection $resource * @param StoreManagerInterface $storeManager - * @since 2.2.0 */ public function __construct( MetadataPool $metadataPool, @@ -56,7 +51,6 @@ public function __construct( * Joins website-product relation table to filter products that are only in current website * * {@inheritdoc} - * @since 2.2.0 */ public function process(Select $select) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/ProductFrontendAction.php b/app/code/Magento/Catalog/Model/ResourceModel/ProductFrontendAction.php index 40962b9637b39..b3112bbc5a39c 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/ProductFrontendAction.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/ProductFrontendAction.php @@ -7,7 +7,6 @@ /** * Resource model for Product Frontend Action - * @since 2.2.0 */ class ProductFrontendAction extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb { @@ -15,7 +14,6 @@ class ProductFrontendAction extends \Magento\Framework\Model\ResourceModel\Db\Ab * Initialize resource model * * @return void - * @since 2.2.0 */ protected function _construct() { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/ProductFrontendAction/Collection.php b/app/code/Magento/Catalog/Model/ResourceModel/ProductFrontendAction/Collection.php index 16e35c79fc731..0f33f4bdcab72 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/ProductFrontendAction/Collection.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/ProductFrontendAction/Collection.php @@ -7,7 +7,6 @@ /** * Collection of Product Frontend Actions - * @since 2.2.0 */ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection { @@ -15,7 +14,6 @@ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\Ab * Initializes Product Frontend Actions collection * * @return void - * @since 2.2.0 */ protected function _construct() { @@ -31,7 +29,6 @@ protected function _construct() * @param int $customerId * @param int $visitorId * @return $this - * @since 2.2.0 */ public function addFilterByUserIdentities($customerId, $visitorId) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Url.php b/app/code/Magento/Catalog/Model/ResourceModel/Url.php index 31a33ee1bffb0..1cb2fed839dde 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Url.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Url.php @@ -98,7 +98,6 @@ class Url extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb /** * @var MetadataPool - * @since 2.1.0 */ protected $metadataPool; @@ -700,7 +699,6 @@ public function getRewriteByProductStore(array $products) /** * @return \Magento\Framework\EntityManager\MetadataPool - * @since 2.1.0 */ private function getMetadataPool() { diff --git a/app/code/Magento/Catalog/Model/System/Config/Backend/Catalog/Url/Rewrite/Suffix.php b/app/code/Magento/Catalog/Model/System/Config/Backend/Catalog/Url/Rewrite/Suffix.php index d2b6c338f012f..04573823abdd6 100644 --- a/app/code/Magento/Catalog/Model/System/Config/Backend/Catalog/Url/Rewrite/Suffix.php +++ b/app/code/Magento/Catalog/Model/System/Config/Backend/Catalog/Url/Rewrite/Suffix.php @@ -49,13 +49,12 @@ class Suffix extends \Magento\Framework\App\Config\Value /** * @var \Magento\Framework\App\ResourceConnection - * @since 2.1.0 + * @since 101.0.0 */ protected $resource; /** * @var \Magento\Framework\App\Config - * @since 2.2.0 */ private $appConfig; @@ -98,8 +97,7 @@ public function __construct( * Get instance of ScopePool * * @return \Magento\Framework\App\Config - * @deprecated 2.2.0 - * @since 2.2.0 + * @deprecated 101.1.0 */ private function getAppConfig() { @@ -141,7 +139,7 @@ public function afterSave() /** * {@inheritdoc} - * @since 2.2.0 + * @since 101.1.0 */ public function afterDeleteCommit() { @@ -162,7 +160,6 @@ public function afterDeleteCommit() * Check is category suffix changed * * @return bool - * @since 2.2.0 */ private function isCategorySuffixChanged() { diff --git a/app/code/Magento/Catalog/Model/View/Asset/Image.php b/app/code/Magento/Catalog/Model/View/Asset/Image.php index efd11b9ce0298..ce85ba21d211f 100644 --- a/app/code/Magento/Catalog/Model/View/Asset/Image.php +++ b/app/code/Magento/Catalog/Model/View/Asset/Image.php @@ -16,25 +16,21 @@ * A locally available image file asset that can be referred with a file path * * This class is a value object with lazy loading of some of its data (content, physical file path) - * @since 2.2.0 */ class Image implements LocalInterface { /** * @var string - * @since 2.2.0 */ private $filePath; /** * @var string - * @since 2.2.0 */ private $contentType = 'image'; /** * @var ContextInterface - * @since 2.2.0 */ private $context; @@ -42,19 +38,16 @@ class Image implements LocalInterface * Misc image params depend on size, transparency, quality, watermark etc. * * @var array - * @since 2.2.0 */ private $miscParams; /** * @var ConfigInterface - * @since 2.2.0 */ private $mediaConfig; /** * @var EncryptorInterface - * @since 2.2.0 */ private $encryptor; @@ -66,7 +59,6 @@ class Image implements LocalInterface * @param EncryptorInterface $encryptor * @param string $filePath * @param array $miscParams - * @since 2.2.0 */ public function __construct( ConfigInterface $mediaConfig, @@ -84,7 +76,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.2.0 */ public function getUrl() { @@ -93,7 +84,6 @@ public function getUrl() /** * {@inheritdoc} - * @since 2.2.0 */ public function getContentType() { @@ -102,7 +92,6 @@ public function getContentType() /** * {@inheritdoc} - * @since 2.2.0 */ public function getPath() { @@ -115,7 +104,6 @@ public function getPath() * @param string $path * @param string $item * @return string - * @since 2.2.0 */ private function join($path, $item) { @@ -127,7 +115,6 @@ private function join($path, $item) /** * {@inheritdoc} - * @since 2.2.0 */ public function getSourceFile() { @@ -139,7 +126,6 @@ public function getSourceFile() * Get source content type * * @return string - * @since 2.2.0 */ public function getSourceContentType() { @@ -148,7 +134,6 @@ public function getSourceContentType() /** * {@inheritdoc} - * @since 2.2.0 */ public function getContent() { @@ -157,7 +142,6 @@ public function getContent() /** * {@inheritdoc} - * @since 2.2.0 */ public function getFilePath() { @@ -167,7 +151,6 @@ public function getFilePath() /** * {@inheritdoc} * @return ContextInterface - * @since 2.2.0 */ public function getContext() { @@ -176,7 +159,6 @@ public function getContext() /** * {@inheritdoc} - * @since 2.2.0 */ public function getModule() { @@ -187,7 +169,6 @@ public function getModule() * Retrieve part of path based on misc params * * @return string - * @since 2.2.0 */ private function getMiscPath() { @@ -199,7 +180,6 @@ private function getMiscPath() * * @param string $result * @return string - * @since 2.2.0 */ private function getAbsolutePath($result) { @@ -215,7 +195,6 @@ private function getAbsolutePath($result) * * @param string $result * @return string - * @since 2.2.0 */ private function getRelativePath($result) { diff --git a/app/code/Magento/Catalog/Model/View/Asset/Image/Context.php b/app/code/Magento/Catalog/Model/View/Asset/Image/Context.php index ec1ad08d67722..5b9f6d33d3aa8 100644 --- a/app/code/Magento/Catalog/Model/View/Asset/Image/Context.php +++ b/app/code/Magento/Catalog/Model/View/Asset/Image/Context.php @@ -18,30 +18,25 @@ * * As Magento moves from inheritance-based APIs all such classes will be deprecated together with * the classes they were introduced for. - * @since 2.2.0 */ class Context implements ContextInterface { /** * @var \Magento\Framework\Filesystem\Directory\WriteInterface - * @since 2.2.0 */ private $mediaDirectory; /** * @var \Magento\Catalog\Model\Product\Media\ConfigInterface - * @since 2.2.0 */ private $mediaConfig; /** * @var \Magento\Framework\Filesystem - * @since 2.2.0 */ private $filesystem; /** - * @since 2.2.0 */ public function __construct( \Magento\Catalog\Model\Product\Media\ConfigInterface $mediaConfig, @@ -55,7 +50,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.2.0 */ public function getPath() { @@ -64,7 +58,6 @@ public function getPath() /** * {@inheritdoc} - * @since 2.2.0 */ public function getBaseUrl() { diff --git a/app/code/Magento/Catalog/Model/View/Asset/Placeholder.php b/app/code/Magento/Catalog/Model/View/Asset/Placeholder.php index aa2e753f71c85..426ec624ffc72 100644 --- a/app/code/Magento/Catalog/Model/View/Asset/Placeholder.php +++ b/app/code/Magento/Catalog/Model/View/Asset/Placeholder.php @@ -14,7 +14,6 @@ /** * A locally available image placeholder file asset that can be referred with a file type - * @since 2.2.0 */ class Placeholder implements LocalInterface { @@ -22,7 +21,6 @@ class Placeholder implements LocalInterface * Type of placeholder * * @var string - * @since 2.2.0 */ private $type; @@ -30,25 +28,21 @@ class Placeholder implements LocalInterface * Filevpath of placeholder * * @var string - * @since 2.2.0 */ private $filePath; /** * @var string - * @since 2.2.0 */ private $contentType = 'image'; /** * @var ContextInterface - * @since 2.2.0 */ private $context; /** * @var Repository - * @since 2.2.0 */ private $assetRepo; @@ -56,7 +50,6 @@ class Placeholder implements LocalInterface * Core store config * * @var ScopeConfigInterface - * @since 2.2.0 */ private $scopeConfig; @@ -67,7 +60,6 @@ class Placeholder implements LocalInterface * @param ScopeConfigInterface $scopeConfig * @param Repository $assetRepo * @param string $type - * @since 2.2.0 */ public function __construct( ContextInterface $context, @@ -83,7 +75,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.2.0 */ public function getUrl() { @@ -98,7 +89,6 @@ public function getUrl() /** * {@inheritdoc} - * @since 2.2.0 */ public function getContentType() { @@ -107,7 +97,6 @@ public function getContentType() /** * {@inheritdoc} - * @since 2.2.0 */ public function getPath() { @@ -131,7 +120,6 @@ public function getPath() /** * {@inheritdoc} - * @since 2.2.0 */ public function getSourceFile() { @@ -142,7 +130,6 @@ public function getSourceFile() * Get source content type * * @return string - * @since 2.2.0 */ public function getSourceContentType() { @@ -151,7 +138,6 @@ public function getSourceContentType() /** * {@inheritdoc} - * @since 2.2.0 */ public function getContent() { @@ -160,7 +146,6 @@ public function getContent() /** * {@inheritdoc} - * @since 2.2.0 */ public function getFilePath() { @@ -180,7 +165,6 @@ public function getFilePath() /** * {@inheritdoc} * @return ContextInterface - * @since 2.2.0 */ public function getContext() { @@ -189,7 +173,6 @@ public function getContext() /** * {@inheritdoc} - * @since 2.2.0 */ public function getModule() { diff --git a/app/code/Magento/Catalog/Model/Widget/RecentlyComparedStorageConfiguration.php b/app/code/Magento/Catalog/Model/Widget/RecentlyComparedStorageConfiguration.php index 6866a56353853..ff5765f3e3795 100644 --- a/app/code/Magento/Catalog/Model/Widget/RecentlyComparedStorageConfiguration.php +++ b/app/code/Magento/Catalog/Model/Widget/RecentlyComparedStorageConfiguration.php @@ -10,7 +10,6 @@ /** * Configurate all storages that needed for recently viewed widgets - * @since 2.2.0 */ class RecentlyComparedStorageConfiguration implements FrontendStorageConfigurationInterface { @@ -19,14 +18,12 @@ class RecentlyComparedStorageConfiguration implements FrontendStorageConfigurati /** * @var ScopeConfigInterface - * @since 2.2.0 */ private $scopeConfig; /** * RecentlyViewedStorageConfiguration constructor. * @param ScopeConfigInterface $scopeConfig - * @since 2.2.0 */ public function __construct(ScopeConfigInterface $scopeConfig) { @@ -37,7 +34,6 @@ public function __construct(ScopeConfigInterface $scopeConfig) * Parse lifetime of recently compared products in widget * * @inheritdoc - * @since 2.2.0 */ public function get() { diff --git a/app/code/Magento/Catalog/Model/Widget/RecentlyViewedStorageConfiguration.php b/app/code/Magento/Catalog/Model/Widget/RecentlyViewedStorageConfiguration.php index 8022b0560b1c4..a1cdaf64425d4 100644 --- a/app/code/Magento/Catalog/Model/Widget/RecentlyViewedStorageConfiguration.php +++ b/app/code/Magento/Catalog/Model/Widget/RecentlyViewedStorageConfiguration.php @@ -10,7 +10,6 @@ /** * Configurate all storages that needed for recently viewed widgets - * @since 2.2.0 */ class RecentlyViewedStorageConfiguration implements FrontendStorageConfigurationInterface { @@ -19,14 +18,12 @@ class RecentlyViewedStorageConfiguration implements FrontendStorageConfiguration /** * @var ScopeConfigInterface - * @since 2.2.0 */ private $scopeConfig; /** * RecentlyViewedStorageConfiguration constructor. * @param ScopeConfigInterface $scopeConfig - * @since 2.2.0 */ public function __construct(ScopeConfigInterface $scopeConfig) { @@ -37,7 +34,6 @@ public function __construct(ScopeConfigInterface $scopeConfig) * Parse lifetime of recently viewed products in widget * * @inheritdoc - * @since 2.2.0 */ public function get() { diff --git a/app/code/Magento/Catalog/Observer/SetSpecialPriceStartDate.php b/app/code/Magento/Catalog/Observer/SetSpecialPriceStartDate.php index df37dc3bad615..a597b8fddda9f 100644 --- a/app/code/Magento/Catalog/Observer/SetSpecialPriceStartDate.php +++ b/app/code/Magento/Catalog/Observer/SetSpecialPriceStartDate.php @@ -9,20 +9,17 @@ /** * Set value for Special Price start date - * @since 2.2.0 */ class SetSpecialPriceStartDate implements ObserverInterface { /** * @var \Magento\Framework\Stdlib\DateTime\TimezoneInterface - * @since 2.2.0 */ private $localeDate; /** * @param \Magento\Framework\Stdlib\DateTime\TimezoneInterface $localeDate * @codeCoverageIgnore - * @since 2.2.0 */ public function __construct(\Magento\Framework\Stdlib\DateTime\TimezoneInterface $localeDate) { @@ -34,7 +31,6 @@ public function __construct(\Magento\Framework\Stdlib\DateTime\TimezoneInterface * * @param \Magento\Framework\Event\Observer $observer * @return $this - * @since 2.2.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { diff --git a/app/code/Magento/Catalog/Observer/SwitchPriceAttributeScopeOnConfigChange.php b/app/code/Magento/Catalog/Observer/SwitchPriceAttributeScopeOnConfigChange.php index d03a8a64a25c4..7d7eb54ac1f7b 100644 --- a/app/code/Magento/Catalog/Observer/SwitchPriceAttributeScopeOnConfigChange.php +++ b/app/code/Magento/Catalog/Observer/SwitchPriceAttributeScopeOnConfigChange.php @@ -16,25 +16,21 @@ /** * Observer is responsible for changing scope for all price attributes in system * depending on 'Catalog Price Scope' configuration parameter - * @since 2.1.3 */ class SwitchPriceAttributeScopeOnConfigChange implements ObserverInterface { /** * @var ReinitableConfigInterface - * @since 2.1.3 */ private $config; /** * @var ProductAttributeRepositoryInterface - * @since 2.1.3 */ private $productAttributeRepository; /** * @var SearchCriteriaBuilder - * @since 2.1.3 */ private $searchCriteriaBuilder; @@ -42,7 +38,6 @@ class SwitchPriceAttributeScopeOnConfigChange implements ObserverInterface * @param ReinitableConfigInterface $config * @param ProductAttributeRepositoryInterface $productAttributeRepository * @param SearchCriteriaBuilder $searchCriteriaBuilder - * @since 2.1.3 */ public function __construct( ReinitableConfigInterface $config, @@ -61,7 +56,6 @@ public function __construct( * @param EventObserver $observer * @return void * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.1.3 */ public function execute(EventObserver $observer) { diff --git a/app/code/Magento/Catalog/Observer/SynchronizeWebsiteAttributesOnStoreChange.php b/app/code/Magento/Catalog/Observer/SynchronizeWebsiteAttributesOnStoreChange.php index e2dd17a66cbe0..1557173fe4fbe 100644 --- a/app/code/Magento/Catalog/Observer/SynchronizeWebsiteAttributesOnStoreChange.php +++ b/app/code/Magento/Catalog/Observer/SynchronizeWebsiteAttributesOnStoreChange.php @@ -14,20 +14,17 @@ /** * Class SynchronizeWebsiteAttributesOnStoreChange * @package Magento\Catalog\Observer - * @since 2.2.0 */ class SynchronizeWebsiteAttributesOnStoreChange implements ObserverInterface { /** * @var WebsiteAttributesSynchronizer - * @since 2.2.0 */ private $synchronizer; /** * SynchronizeWebsiteAttributesOnStoreChange constructor. * @param WebsiteAttributesSynchronizer $synchronizer - * @since 2.2.0 */ public function __construct(WebsiteAttributesSynchronizer $synchronizer) { @@ -36,7 +33,6 @@ public function __construct(WebsiteAttributesSynchronizer $synchronizer) /** * {@inheritdoc} - * @since 2.2.0 */ public function execute(Observer $observer) { diff --git a/app/code/Magento/Catalog/Plugin/Block/Topmenu.php b/app/code/Magento/Catalog/Plugin/Block/Topmenu.php index 50529c88baecd..7a95cac6a6ff1 100644 --- a/app/code/Magento/Catalog/Plugin/Block/Topmenu.php +++ b/app/code/Magento/Catalog/Plugin/Block/Topmenu.php @@ -11,7 +11,6 @@ /** * Plugin for top menu block - * @since 2.1.0 */ class Topmenu { @@ -19,25 +18,21 @@ class Topmenu * Catalog category * * @var \Magento\Catalog\Helper\Category - * @since 2.1.0 */ protected $catalogCategory; /** * @var \Magento\Catalog\Model\ResourceModel\Category\CollectionFactory - * @since 2.1.0 */ private $collectionFactory; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.1.0 */ private $storeManager; /** * @var \Magento\Catalog\Model\Layer\Resolver - * @since 2.1.0 */ private $layerResolver; @@ -48,7 +43,6 @@ class Topmenu * @param \Magento\Catalog\Model\ResourceModel\Category\CollectionFactory $categoryCollectionFactory * @param \Magento\Store\Model\StoreManagerInterface $storeManager * @param \Magento\Catalog\Model\Layer\Resolver $layerResolver - * @since 2.1.0 */ public function __construct( \Magento\Catalog\Helper\Category $catalogCategory, @@ -71,7 +65,6 @@ public function __construct( * @param int $limit * @return void * @SuppressWarnings("PMD.UnusedFormalParameter") - * @since 2.1.0 */ public function beforeGetHtml( \Magento\Theme\Block\Html\Topmenu $subject, @@ -116,7 +109,6 @@ public function beforeGetHtml( * * @param \Magento\Theme\Block\Html\Topmenu $subject * @return void - * @since 2.1.0 */ public function beforeGetIdentities(\Magento\Theme\Block\Html\Topmenu $subject) { @@ -138,7 +130,6 @@ public function beforeGetIdentities(\Magento\Theme\Block\Html\Topmenu $subject) * Get current Category from catalog layer * * @return \Magento\Catalog\Model\Category - * @since 2.1.0 */ private function getCurrentCategory() { @@ -157,7 +148,6 @@ private function getCurrentCategory() * @param \Magento\Catalog\Model\Category $category * @param \Magento\Catalog\Model\Category $currentCategory * @return array - * @since 2.1.0 */ private function getCategoryAsArray($category, $currentCategory) { @@ -177,7 +167,6 @@ private function getCategoryAsArray($category, $currentCategory) * @param int $rootId * @return \Magento\Catalog\Model\ResourceModel\Category\Collection * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.1.0 */ protected function getCategoryTree($storeId, $rootId) { diff --git a/app/code/Magento/Catalog/Plugin/Model/Attribute/Backend/AttributeValidation.php b/app/code/Magento/Catalog/Plugin/Model/Attribute/Backend/AttributeValidation.php index f2b18115fd184..5b18225818d10 100644 --- a/app/code/Magento/Catalog/Plugin/Model/Attribute/Backend/AttributeValidation.php +++ b/app/code/Magento/Catalog/Plugin/Model/Attribute/Backend/AttributeValidation.php @@ -10,20 +10,17 @@ /** * Class \Magento\Catalog\Plugin\Model\Attribute\Backend\AttributeValidation * - * @since 2.1.0 */ class AttributeValidation { /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.1.0 */ private $storeManager; /** * @param \Magento\Store\Model\StoreManagerInterface $storeManager * @param array $allowedEntityTypes - * @since 2.1.0 */ public function __construct( \Magento\Store\Model\StoreManagerInterface $storeManager, @@ -38,7 +35,6 @@ public function __construct( * @param \Closure $proceed * @param \Magento\Framework\DataObject $entity * @return bool - * @since 2.1.0 */ public function aroundValidate( \Magento\Eav\Model\Entity\Attribute\Backend\AbstractBackend $subject, diff --git a/app/code/Magento/Catalog/Plugin/Model/Indexer/Category/Product/MaxHeapTableSizeProcessorOnFullReindex.php b/app/code/Magento/Catalog/Plugin/Model/Indexer/Category/Product/MaxHeapTableSizeProcessorOnFullReindex.php index a3145b7502467..e655a66e9b91b 100644 --- a/app/code/Magento/Catalog/Plugin/Model/Indexer/Category/Product/MaxHeapTableSizeProcessorOnFullReindex.php +++ b/app/code/Magento/Catalog/Plugin/Model/Indexer/Category/Product/MaxHeapTableSizeProcessorOnFullReindex.php @@ -11,7 +11,7 @@ use Psr\Log\LoggerInterface; /** - * @deprecated 2.1.3 + * @deprecated 101.0.3 */ class MaxHeapTableSizeProcessorOnFullReindex { diff --git a/app/code/Magento/Catalog/Plugin/Model/Product/Action/UpdateAttributesFlushCache.php b/app/code/Magento/Catalog/Plugin/Model/Product/Action/UpdateAttributesFlushCache.php index 1c0bdddfeea65..a11021243f6ea 100644 --- a/app/code/Magento/Catalog/Plugin/Model/Product/Action/UpdateAttributesFlushCache.php +++ b/app/code/Magento/Catalog/Plugin/Model/Product/Action/UpdateAttributesFlushCache.php @@ -43,7 +43,6 @@ public function __construct( * @return Action * * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.1.0 */ public function afterUpdateAttributes( \Magento\Catalog\Model\Product\Action $subject, @@ -58,7 +57,6 @@ public function afterUpdateAttributes( * @return void * * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.1.0 */ public function afterUpdateWebsites( \Magento\Catalog\Model\Product\Action $subject diff --git a/app/code/Magento/Catalog/Plugin/Model/ResourceModel/Attribute/Save.php b/app/code/Magento/Catalog/Plugin/Model/ResourceModel/Attribute/Save.php index 607d7189a0bfc..74f9958a90184 100644 --- a/app/code/Magento/Catalog/Plugin/Model/ResourceModel/Attribute/Save.php +++ b/app/code/Magento/Catalog/Plugin/Model/ResourceModel/Attribute/Save.php @@ -44,7 +44,6 @@ public function __construct(Config $config, TypeListInterface $typeList) * @return Attribute $result * * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.2.0 */ public function afterSave(Attribute $subject, Attribute $result) { diff --git a/app/code/Magento/Catalog/Plugin/Model/ResourceModel/Config.php b/app/code/Magento/Catalog/Plugin/Model/ResourceModel/Config.php index 0d8b346a943fd..e345bfcf91003 100644 --- a/app/code/Magento/Catalog/Plugin/Model/ResourceModel/Config.php +++ b/app/code/Magento/Catalog/Plugin/Model/ResourceModel/Config.php @@ -31,7 +31,6 @@ class Config /** * @var SerializerInterface - * @since 2.2.0 */ private $serializer; diff --git a/app/code/Magento/Catalog/Pricing/Price/MinimalPriceCalculatorInterface.php b/app/code/Magento/Catalog/Pricing/Price/MinimalPriceCalculatorInterface.php index 3186aeb8b0c3e..6c493947919da 100644 --- a/app/code/Magento/Catalog/Pricing/Price/MinimalPriceCalculatorInterface.php +++ b/app/code/Magento/Catalog/Pricing/Price/MinimalPriceCalculatorInterface.php @@ -11,7 +11,6 @@ /** * Interface define methods which control display of "As low as" price - * @since 2.2.0 */ interface MinimalPriceCalculatorInterface { @@ -20,7 +19,6 @@ interface MinimalPriceCalculatorInterface * * @param SaleableInterface $saleableItem * @return float|null - * @since 2.2.0 */ public function getValue(SaleableInterface $saleableItem); @@ -29,7 +27,6 @@ public function getValue(SaleableInterface $saleableItem); * * @param SaleableInterface $saleableItem * @return AmountInterface|null - * @since 2.2.0 */ public function getAmount(SaleableInterface $saleableItem); } diff --git a/app/code/Magento/Catalog/Pricing/Price/MinimalTierPriceCalculator.php b/app/code/Magento/Catalog/Pricing/Price/MinimalTierPriceCalculator.php index b1df7cf6806d5..387ef9416ef68 100644 --- a/app/code/Magento/Catalog/Pricing/Price/MinimalTierPriceCalculator.php +++ b/app/code/Magento/Catalog/Pricing/Price/MinimalTierPriceCalculator.php @@ -12,19 +12,16 @@ /** * As Low As shows minimal value of Tier Prices - * @since 2.2.0 */ class MinimalTierPriceCalculator implements MinimalPriceCalculatorInterface { /** * @var CalculatorInterface - * @since 2.2.0 */ private $calculator; /** * @param CalculatorInterface $calculator - * @since 2.2.0 */ public function __construct(CalculatorInterface $calculator) { @@ -34,7 +31,6 @@ public function __construct(CalculatorInterface $calculator) /** * Get raw value of "as low as" as a minimal among tier prices * {@inheritdoc} - * @since 2.2.0 */ public function getValue(SaleableInterface $saleableItem) { @@ -55,7 +51,6 @@ public function getValue(SaleableInterface $saleableItem) /** * Return calculated amount object that keeps "as low as" value * {@inheritdoc} - * @since 2.2.0 */ public function getAmount(SaleableInterface $saleableItem) { diff --git a/app/code/Magento/Catalog/Pricing/Render/FinalPriceBox.php b/app/code/Magento/Catalog/Pricing/Render/FinalPriceBox.php index e3b3ec095fafd..f370c49cdfa20 100644 --- a/app/code/Magento/Catalog/Pricing/Render/FinalPriceBox.php +++ b/app/code/Magento/Catalog/Pricing/Render/FinalPriceBox.php @@ -27,13 +27,11 @@ class FinalPriceBox extends BasePriceBox { /** * @var SalableResolverInterface - * @since 2.1.3 */ private $salableResolver; /** * @var MinimalPriceCalculatorInterface - * @since 2.2.0 */ private $minimalPriceCalculator; @@ -45,7 +43,6 @@ class FinalPriceBox extends BasePriceBox * @param array $data * @param SalableResolverInterface $salableResolver * @param MinimalPriceCalculatorInterface $minimalPriceCalculator - * @since 2.1.3 */ public function __construct( Context $context, @@ -93,7 +90,6 @@ protected function _toHtml() * Check is MSRP applicable for the current product. * * @return bool - * @since 2.1.4 */ protected function isMsrpPriceApplicable() { @@ -182,7 +178,6 @@ public function showMinimalPrice() * Get Key for caching block content * * @return string - * @since 2.1.1 */ public function getCacheKey() { @@ -193,7 +188,6 @@ public function getCacheKey() * {@inheritdoc} * * @return array - * @since 2.1.1 */ public function getCacheKeyInfo() { @@ -208,7 +202,6 @@ public function getCacheKeyInfo() * By default (if flag is not set) is false * * @return bool - * @since 2.1.6 */ public function isProductList() { diff --git a/app/code/Magento/Catalog/Setup/InstallData.php b/app/code/Magento/Catalog/Setup/InstallData.php index a7867dee0fa92..5b1a10b098eb5 100644 --- a/app/code/Magento/Catalog/Setup/InstallData.php +++ b/app/code/Magento/Catalog/Setup/InstallData.php @@ -26,14 +26,12 @@ class InstallData implements InstallDataInterface /** * @var DefaultCategory - * @since 2.1.0 */ private $defaultCategory; /** - * @deprecated 2.1.0 + * @deprecated 101.0.0 * @return DefaultCategory - * @since 2.1.0 */ private function getDefaultCategory() { diff --git a/app/code/Magento/Catalog/Setup/Recurring.php b/app/code/Magento/Catalog/Setup/Recurring.php index 58da65362de5c..c5dd4f0457f11 100644 --- a/app/code/Magento/Catalog/Setup/Recurring.php +++ b/app/code/Magento/Catalog/Setup/Recurring.php @@ -14,26 +14,22 @@ /** * Catalog recurring setup - * @since 2.1.0 */ class Recurring implements InstallSchemaInterface { /** * @var MetadataPool - * @since 2.1.0 */ protected $metadataPool; /** * @var ExternalFKSetup - * @since 2.1.0 */ protected $externalFKSetup; /** * @param MetadataPool $metadataPool * @param ExternalFKSetup $externalFKSetup - * @since 2.1.0 */ public function __construct( MetadataPool $metadataPool, @@ -45,7 +41,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.1.0 */ public function install(SchemaSetupInterface $setup, ModuleContextInterface $context) { diff --git a/app/code/Magento/Catalog/Setup/UpgradeData.php b/app/code/Magento/Catalog/Setup/UpgradeData.php index 4c0c1b0246837..a290d4870bd49 100644 --- a/app/code/Magento/Catalog/Setup/UpgradeData.php +++ b/app/code/Magento/Catalog/Setup/UpgradeData.php @@ -28,19 +28,16 @@ class UpgradeData implements UpgradeDataInterface * EAV setup factory * * @var \Magento\Eav\Setup\EavSetupFactory - * @since 2.1.0 */ private $eavSetupFactory; /** * @var UpgradeWidgetData - * @since 2.2.0 */ private $upgradeWidgetData; /** * @var UpgradeWebsiteAttributes - * @since 2.2.0 */ private $upgradeWebsiteAttributes; @@ -404,7 +401,6 @@ public function upgrade(ModuleDataSetupInterface $setup, ModuleContextInterface * * @param ModuleDataSetupInterface $setup * @return void - * @since 2.2.0 */ private function disallowUsingHtmlForProductName(ModuleDataSetupInterface $setup) { @@ -424,7 +420,6 @@ private function disallowUsingHtmlForProductName(ModuleDataSetupInterface $setup /** * @param CategorySetup $categorySetup * @return void - * @since 2.1.3 */ private function changePriceAttributeDefaultScope($categorySetup) { diff --git a/app/code/Magento/Catalog/Setup/UpgradeSchema.php b/app/code/Magento/Catalog/Setup/UpgradeSchema.php index a6c9a5ec5c992..616bee43de00e 100755 --- a/app/code/Magento/Catalog/Setup/UpgradeSchema.php +++ b/app/code/Magento/Catalog/Setup/UpgradeSchema.php @@ -134,7 +134,6 @@ public function upgrade(SchemaSetupInterface $setup, ModuleContextInterface $con * * @param SchemaSetupInterface $setup * @return void - * @since 2.2.0 */ private function fixCustomerGroupIdColumn(SchemaSetupInterface $setup) { @@ -174,7 +173,6 @@ private function fixCustomerGroupIdColumn(SchemaSetupInterface $setup) * * @param SchemaSetupInterface $installer * @return void - * @since 2.2.0 */ private function addCatalogProductFrontendActionTable(SchemaSetupInterface $installer) { @@ -271,7 +269,6 @@ private function addCatalogProductFrontendActionTable(SchemaSetupInterface $inst * * @param SchemaSetupInterface $setup * @return void - * @since 2.2.0 */ private function addSourceEntityIdToProductEavIndex(SchemaSetupInterface $setup) { @@ -313,7 +310,6 @@ private function addSourceEntityIdToProductEavIndex(SchemaSetupInterface $setup) /** * @param SchemaSetupInterface $setup * @return void - * @since 2.1.0 */ protected function addUniqueKeyToCategoryProductTable(SchemaSetupInterface $setup) { @@ -559,7 +555,6 @@ private function removeGroupPrice(SchemaSetupInterface $setup) * Add percentage value column * @param SchemaSetupInterface $setup * @return void - * @since 2.2.0 */ private function addPercentageValueColumn(SchemaSetupInterface $setup) { @@ -593,7 +588,6 @@ private function addPercentageValueColumn(SchemaSetupInterface $setup) * * @param SchemaSetupInterface $setup * @return void - * @since 2.2.0 */ private function recreateCatalogCategoryProductIndexTmpTable(SchemaSetupInterface $setup) { @@ -662,7 +656,6 @@ private function recreateCatalogCategoryProductIndexTmpTable(SchemaSetupInterfac * * @param SchemaSetupInterface $setup * @return void - * @since 2.2.0 */ private function addPathKeyToCategoryEntityTableIfNotExists(SchemaSetupInterface $setup) { @@ -696,7 +689,6 @@ private function addPathKeyToCategoryEntityTableIfNotExists(SchemaSetupInterface * @param string $existingTable * @param string $replicaTable * @return void - * @since 2.2.0 */ private function addReplicaTable(SchemaSetupInterface $setup, $existingTable, $replicaTable) { diff --git a/app/code/Magento/Catalog/Setup/UpgradeWebsiteAttributes.php b/app/code/Magento/Catalog/Setup/UpgradeWebsiteAttributes.php index 2b488fda7614f..3d300d9c849a9 100644 --- a/app/code/Magento/Catalog/Setup/UpgradeWebsiteAttributes.php +++ b/app/code/Magento/Catalog/Setup/UpgradeWebsiteAttributes.php @@ -18,7 +18,6 @@ * @package Magento\Catalog\Setup * * IMPORTANT: This class const/methods can not be reused because it needs to be isolated - * @since 2.2.0 */ class UpgradeWebsiteAttributes { @@ -31,7 +30,6 @@ class UpgradeWebsiteAttributes /** * Map table names to metadata classes where link field might be found - * @since 2.2.0 */ private $tableMetaDataClass = [ 'catalog_category_entity_datetime' => CategoryInterface::class, @@ -58,31 +56,26 @@ class UpgradeWebsiteAttributes * ] * * @var array - * @since 2.2.0 */ private $groupedStoreViews = []; /** * @var array - * @since 2.2.0 */ private $processedAttributeValues = []; /** * @var Generator - * @since 2.2.0 */ private $batchQueryGenerator; /** * @var MetadataPool - * @since 2.2.0 */ private $metaDataPool; /** * @var array - * @since 2.2.0 */ private $linkFields = []; @@ -90,7 +83,6 @@ class UpgradeWebsiteAttributes * UpgradeWebsiteAttributes constructor. * @param Generator $batchQueryGenerator * @param MetadataPool $metadataPool - * @since 2.2.0 */ public function __construct(Generator $batchQueryGenerator, MetadataPool $metadataPool) { @@ -101,7 +93,6 @@ public function __construct(Generator $batchQueryGenerator, MetadataPool $metada /** * @param ModuleDataSetupInterface $setup * @return void - * @since 2.2.0 */ public function upgrade(ModuleDataSetupInterface $setup) { @@ -114,7 +105,6 @@ public function upgrade(ModuleDataSetupInterface $setup) * @param ModuleDataSetupInterface $setup * @param string $tableName * @return void - * @since 2.2.0 */ private function upgradeTable(ModuleDataSetupInterface $setup, $tableName) { @@ -129,7 +119,6 @@ private function upgradeTable(ModuleDataSetupInterface $setup, $tableName) * @param array $attributeValueItems * @param string $tableName * @return void - * @since 2.2.0 */ private function processAttributeValues(ModuleDataSetupInterface $setup, array $attributeValueItems, $tableName) { @@ -156,7 +145,6 @@ private function processAttributeValues(ModuleDataSetupInterface $setup, array $ * @param string $tableName * @yield array * @return void - * @since 2.2.0 */ private function fetchAttributeValues(ModuleDataSetupInterface $setup, $tableName) { @@ -201,7 +189,6 @@ private function fetchAttributeValues(ModuleDataSetupInterface $setup, $tableNam /** * @param ModuleDataSetupInterface $setup * @return array - * @since 2.2.0 */ private function getGroupedStoreViews(ModuleDataSetupInterface $setup) { @@ -234,7 +221,6 @@ private function getGroupedStoreViews(ModuleDataSetupInterface $setup) * @param array $attributeValue * @param string $tableName * @return bool - * @since 2.2.0 */ private function isProcessedAttributeValue(array $attributeValue, $tableName) { @@ -251,7 +237,6 @@ private function isProcessedAttributeValue(array $attributeValue, $tableName) /** * Resets processed attribute values * @return void - * @since 2.2.0 */ private function resetProcessedAttributeValues() { @@ -262,7 +247,6 @@ private function resetProcessedAttributeValues() * @param array $attributeValue * @param string $tableName * @return void - * @since 2.2.0 */ private function markAttributeValueProcessed(array $attributeValue, $tableName) { @@ -278,7 +262,6 @@ private function markAttributeValueProcessed(array $attributeValue, $tableName) * @param int $attributeId * @param int $websiteId * @return string - * @since 2.2.0 */ private function getAttributeValueKey($entityId, $attributeId, $websiteId) { @@ -295,7 +278,6 @@ private function getAttributeValueKey($entityId, $attributeId, $websiteId) * @param array $attributeValue * @param string $tableName * @return array|null - * @since 2.2.0 */ private function generateAttributeValueInsertions( ModuleDataSetupInterface $setup, @@ -327,7 +309,6 @@ private function generateAttributeValueInsertions( * @param array $insertions * @param string $tableName * @return void - * @since 2.2.0 */ private function executeInsertions(ModuleDataSetupInterface $setup, array $insertions, $tableName) { @@ -350,7 +331,6 @@ private function executeInsertions(ModuleDataSetupInterface $setup, array $inser * * @param array $insertions * @return array - * @since 2.2.0 */ private function getPlaceholderValues(array $insertions) { @@ -370,7 +350,6 @@ private function getPlaceholderValues(array $insertions) * * @param array $insertions * @return string - * @since 2.2.0 */ private function prepareInsertValuesStatement(array $insertions) { @@ -387,7 +366,6 @@ private function prepareInsertValuesStatement(array $insertions) * @param string $tableName * @return string * @throws LocalizedException - * @since 2.2.0 */ private function getTableLinkField($tableName) { diff --git a/app/code/Magento/Catalog/Setup/UpgradeWidgetData.php b/app/code/Magento/Catalog/Setup/UpgradeWidgetData.php index 8133be735e3b5..f9eba413f5416 100644 --- a/app/code/Magento/Catalog/Setup/UpgradeWidgetData.php +++ b/app/code/Magento/Catalog/Setup/UpgradeWidgetData.php @@ -13,19 +13,16 @@ /** * Convert serialized widget data for categories and products tables to JSON - * @since 2.2.0 */ class UpgradeWidgetData { /** * @var EavSetup - * @since 2.2.0 */ private $eavSetup; /** * @var QueryModifierFactory - * @since 2.2.0 */ private $queryModifierFactory; @@ -35,7 +32,6 @@ class UpgradeWidgetData * @param EavSetup $eavSetup * @param QueryModifierFactory $queryModifierFactory * @param AggregatedFieldDataConverter $aggregatedFieldDataConverter - * @since 2.2.0 */ public function __construct( EavSetup $eavSetup, @@ -52,7 +48,6 @@ public function __construct( * * @return void * @throws \InvalidArgumentException - * @since 2.2.0 */ public function upgrade() { diff --git a/app/code/Magento/Catalog/Ui/AllowedProductTypes.php b/app/code/Magento/Catalog/Ui/AllowedProductTypes.php index c25362755e464..a83afeed9d8a8 100644 --- a/app/code/Magento/Catalog/Ui/AllowedProductTypes.php +++ b/app/code/Magento/Catalog/Ui/AllowedProductTypes.php @@ -11,19 +11,19 @@ * Class AllowedProductTypes contains product types on which some product type can be displayed * * @api - * @since 2.1.0 + * @since 101.0.0 */ class AllowedProductTypes { /** * @var array - * @since 2.1.0 + * @since 101.0.0 */ protected $allowedProductTypes = []; /** * @param array $productTypes - * @since 2.1.0 + * @since 101.0.0 */ public function __construct(array $productTypes = []) { @@ -34,7 +34,7 @@ public function __construct(array $productTypes = []) * Get allowed product types * * @return array - * @since 2.1.0 + * @since 101.0.0 */ public function getAllowedProductTypes() { @@ -46,7 +46,7 @@ public function getAllowedProductTypes() * * @param ProductInterface $product * @return bool - * @since 2.1.0 + * @since 101.0.0 */ public function isAllowedProductType(ProductInterface $product) { diff --git a/app/code/Magento/Catalog/Ui/Component/Category/Form/Element/Wysiwyg.php b/app/code/Magento/Catalog/Ui/Component/Category/Form/Element/Wysiwyg.php index f1dcf6f8c5884..0dd8136e77b41 100644 --- a/app/code/Magento/Catalog/Ui/Component/Category/Form/Element/Wysiwyg.php +++ b/app/code/Magento/Catalog/Ui/Component/Category/Form/Element/Wysiwyg.php @@ -18,19 +18,19 @@ * Catalog Wysiwyg * * @api - * @since 2.1.0 + * @since 101.0.0 */ class Wysiwyg extends \Magento\Ui\Component\Form\Element\Wysiwyg { /** * @var DataHelper - * @since 2.1.0 + * @since 101.0.0 */ protected $backendHelper; /** * @var LayoutInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $layout; @@ -46,7 +46,7 @@ class Wysiwyg extends \Magento\Ui\Component\Form\Element\Wysiwyg * @param array $config * * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.1.0 + * @since 101.0.0 */ public function __construct( ContextInterface $context, @@ -72,7 +72,6 @@ public function __construct( * * @param array $data * @return array - * @since 2.1.0 */ private function prepareData($data) { @@ -86,7 +85,6 @@ private function prepareData($data) * Return wysiwyg button html * * @return string - * @since 2.1.0 */ private function getWysiwygButtonHtml() { diff --git a/app/code/Magento/Catalog/Ui/Component/Listing/Columns/AttributeSetText.php b/app/code/Magento/Catalog/Ui/Component/Listing/Columns/AttributeSetText.php index 6cef0082a3865..501030acaf261 100644 --- a/app/code/Magento/Catalog/Ui/Component/Listing/Columns/AttributeSetText.php +++ b/app/code/Magento/Catalog/Ui/Component/Listing/Columns/AttributeSetText.php @@ -11,7 +11,7 @@ /** * @api - * @since 2.1.0 + * @since 101.0.0 */ class AttributeSetText extends \Magento\Ui\Component\Listing\Columns\Column { @@ -22,7 +22,7 @@ class AttributeSetText extends \Magento\Ui\Component\Listing\Columns\Column /** * @var AttributeSetRepositoryInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $attributeSetRepository; @@ -32,7 +32,7 @@ class AttributeSetText extends \Magento\Ui\Component\Listing\Columns\Column * @param AttributeSetRepositoryInterface $attributeSetRepository * @param array $components * @param array $data - * @since 2.1.0 + * @since 101.0.0 */ public function __construct( ContextInterface $context, @@ -51,7 +51,7 @@ public function __construct( * * @param array $dataSource * @return array - * @since 2.1.0 + * @since 101.0.0 */ public function prepareDataSource(array $dataSource) { @@ -77,7 +77,7 @@ public function prepareDataSource(array $dataSource) * * @param int $attributeSetId * @return string - * @since 2.1.0 + * @since 101.0.0 */ protected function renderColumnText($attributeSetId) { diff --git a/app/code/Magento/Catalog/Ui/Component/Listing/Columns/StatusText.php b/app/code/Magento/Catalog/Ui/Component/Listing/Columns/StatusText.php index 63be8bb69f56c..22e5690a64db6 100644 --- a/app/code/Magento/Catalog/Ui/Component/Listing/Columns/StatusText.php +++ b/app/code/Magento/Catalog/Ui/Component/Listing/Columns/StatusText.php @@ -12,13 +12,13 @@ /** * @api - * @since 2.1.0 + * @since 101.0.0 */ class StatusText extends \Magento\Ui\Component\Listing\Columns\Column { /** * @var \Magento\Catalog\Model\Product\Attribute\Source\Status - * @since 2.1.0 + * @since 101.0.0 */ protected $status; @@ -28,7 +28,7 @@ class StatusText extends \Magento\Ui\Component\Listing\Columns\Column * @param Status $status * @param array $components * @param array $data - * @since 2.1.0 + * @since 101.0.0 */ public function __construct( ContextInterface $context, @@ -47,7 +47,7 @@ public function __construct( * * @param array $dataSource * @return array - * @since 2.1.0 + * @since 101.0.0 */ public function prepareDataSource(array $dataSource) { diff --git a/app/code/Magento/Catalog/Ui/Component/Listing/Columns/Websites.php b/app/code/Magento/Catalog/Ui/Component/Listing/Columns/Websites.php index 642ba9b967020..34742eff1a9c7 100644 --- a/app/code/Magento/Catalog/Ui/Component/Listing/Columns/Websites.php +++ b/app/code/Magento/Catalog/Ui/Component/Listing/Columns/Websites.php @@ -46,7 +46,7 @@ public function __construct( /** * {@inheritdoc} - * @deprecated 2.1.0 + * @deprecated 101.0.0 */ public function prepareDataSource(array $dataSource) { diff --git a/app/code/Magento/Catalog/Ui/Component/Listing/Filters.php b/app/code/Magento/Catalog/Ui/Component/Listing/Filters.php index ae0d0b48a921b..d95ea96bd3720 100644 --- a/app/code/Magento/Catalog/Ui/Component/Listing/Filters.php +++ b/app/code/Magento/Catalog/Ui/Component/Listing/Filters.php @@ -12,26 +12,26 @@ /** * @api - * @since 2.1.0 + * @since 101.0.0 */ class Filters implements ObserverInterface { /** * @var FilterFactory - * @since 2.1.0 + * @since 101.0.0 */ protected $filterFactory; /** * @var CollectionFactory - * @since 2.1.0 + * @since 101.0.0 */ protected $attributeCollectionFactory; /** * @param FilterFactory $filterFactory * @param CollectionFactory $attributeCollectionFactory - * @since 2.1.0 + * @since 101.0.0 */ public function __construct( FilterFactory $filterFactory, @@ -43,7 +43,7 @@ public function __construct( /** * {@inheritdoc} - * @since 2.1.0 + * @since 101.0.0 */ public function update(UiComponentInterface $component) { @@ -64,7 +64,7 @@ public function update(UiComponentInterface $component) /** * @param array $attributeCodes * @return mixed - * @since 2.1.0 + * @since 101.0.0 */ protected function getAttributes($attributeCodes) { diff --git a/app/code/Magento/Catalog/Ui/Component/Product/Form/Categories/Options.php b/app/code/Magento/Catalog/Ui/Component/Product/Form/Categories/Options.php index 7b1e61d388c4e..3c83bcb079cbe 100644 --- a/app/code/Magento/Catalog/Ui/Component/Product/Form/Categories/Options.php +++ b/app/code/Magento/Catalog/Ui/Component/Product/Form/Categories/Options.php @@ -12,32 +12,27 @@ /** * Options tree for "Categories" field - * @since 2.1.0 */ class Options implements OptionSourceInterface { /** * @var \Magento\Catalog\Model\ResourceModel\Category\CollectionFactory - * @since 2.1.0 */ protected $categoryCollectionFactory; /** * @var RequestInterface - * @since 2.1.0 */ protected $request; /** * @var array - * @since 2.1.0 */ protected $categoriesTree; /** * @param CategoryCollectionFactory $categoryCollectionFactory * @param RequestInterface $request - * @since 2.1.0 */ public function __construct( CategoryCollectionFactory $categoryCollectionFactory, @@ -49,7 +44,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.1.0 */ public function toOptionArray() { @@ -60,7 +54,6 @@ public function toOptionArray() * Retrieve categories tree * * @return array - * @since 2.1.0 */ protected function getCategoriesTree() { diff --git a/app/code/Magento/Catalog/Ui/DataProvider/CatalogEavValidationRules.php b/app/code/Magento/Catalog/Ui/DataProvider/CatalogEavValidationRules.php index 94cee4e15ccfc..7e00d0f05b4f1 100644 --- a/app/code/Magento/Catalog/Ui/DataProvider/CatalogEavValidationRules.php +++ b/app/code/Magento/Catalog/Ui/DataProvider/CatalogEavValidationRules.php @@ -11,7 +11,7 @@ * Class build validation rules for catalog EAV attributes * * @api - * @since 2.1.0 + * @since 101.0.0 */ class CatalogEavValidationRules { @@ -21,7 +21,7 @@ class CatalogEavValidationRules * @param ProductAttributeInterface $attribute * @param array $data * @return array - * @since 2.1.0 + * @since 101.0.0 */ public function build(ProductAttributeInterface $attribute, array $data) { @@ -57,7 +57,7 @@ public function build(ProductAttributeInterface $attribute, array $data) * @param string $class * @param array $rules * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function mapRules($class, array $rules) { diff --git a/app/code/Magento/Catalog/Ui/DataProvider/Product/Attributes/Listing.php b/app/code/Magento/Catalog/Ui/DataProvider/Product/Attributes/Listing.php index 8611ad2799e66..8967147968f15 100644 --- a/app/code/Magento/Catalog/Ui/DataProvider/Product/Attributes/Listing.php +++ b/app/code/Magento/Catalog/Ui/DataProvider/Product/Attributes/Listing.php @@ -12,13 +12,11 @@ /** * DataProvider for product attributes listing - * @since 2.1.0 */ class Listing extends \Magento\Ui\DataProvider\AbstractDataProvider { /** * @var RequestInterface - * @since 2.1.0 */ protected $request; @@ -30,7 +28,6 @@ class Listing extends \Magento\Ui\DataProvider\AbstractDataProvider * @param RequestInterface $request * @param array $meta * @param array $data - * @since 2.1.0 */ public function __construct( $name, @@ -48,7 +45,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.1.0 */ public function getData() { diff --git a/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/AbstractModifier.php b/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/AbstractModifier.php index 2321b22b5c824..249a00a98bff2 100644 --- a/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/AbstractModifier.php +++ b/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/AbstractModifier.php @@ -14,7 +14,7 @@ * @api * * @SuppressWarnings(PHPMD.NumberOfChildren) - * @since 2.1.0 + * @since 101.0.0 */ abstract class AbstractModifier implements ModifierInterface { @@ -50,7 +50,7 @@ abstract class AbstractModifier implements ModifierInterface * @param int $defaultSortOrder * @param int $iteration * @return int - * @since 2.1.0 + * @since 101.0.0 */ protected function getNextGroupSortOrder(array $meta, $groupCodes, $defaultSortOrder, $iteration = 1) { @@ -73,7 +73,7 @@ protected function getNextGroupSortOrder(array $meta, $groupCodes, $defaultSortO * @param int $defaultSortOrder * @param int $iteration * @return int - * @since 2.1.0 + * @since 101.0.0 */ protected function getNextAttributeSortOrder(array $meta, $attributeCodes, $defaultSortOrder, $iteration = 1) { @@ -99,7 +99,6 @@ protected function getNextAttributeSortOrder(array $meta, $attributeCodes, $defa * @param int $defaultSortOrder * @param int $iteration * @return mixed - * @since 2.1.0 */ private function _getNextAttributeSortOrder(array $meta, $attributeCodes, $defaultSortOrder, $iteration = 1) { @@ -129,7 +128,7 @@ private function _getNextAttributeSortOrder(array $meta, $attributeCodes, $defau * @param string $haystack * @param string $needle * @return bool - * @since 2.1.0 + * @since 101.0.0 */ protected function startsWith($haystack, $needle) { @@ -141,7 +140,7 @@ protected function startsWith($haystack, $needle) * * @param array $meta * @return string - * @since 2.1.0 + * @since 101.0.0 */ protected function getGeneralPanelName(array $meta) { @@ -161,7 +160,7 @@ protected function getGeneralPanelName(array $meta) * * @param array $meta * @return string|null - * @since 2.1.0 + * @since 101.0.0 */ protected function getFirstPanelCode(array $meta) { @@ -186,7 +185,7 @@ protected function getFirstPanelCode(array $meta) * @param array $meta * @param string $field * @return string|bool - * @since 2.1.0 + * @since 101.0.0 */ protected function getGroupCodeByField(array $meta, $field) { @@ -206,7 +205,7 @@ protected function getGroupCodeByField(array $meta, $field) * * @param mixed $value * @return string - * @since 2.1.0 + * @since 101.0.0 */ protected function formatPrice($value) { @@ -218,7 +217,7 @@ protected function formatPrice($value) * * @param mixed $value * @return string - * @since 2.1.0 + * @since 101.0.0 */ protected function formatWeight($value) { diff --git a/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/AdvancedPricing.php b/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/AdvancedPricing.php index 86dbc6cc3725e..a9c6f6bfba708 100644 --- a/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/AdvancedPricing.php +++ b/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/AdvancedPricing.php @@ -31,73 +31,72 @@ * @api * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.1.0 + * @since 101.0.0 */ class AdvancedPricing extends AbstractModifier { /** * @var LocatorInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $locator; /** * @var ModuleManager - * @since 2.1.0 + * @since 101.0.0 */ protected $moduleManager; /** * @var GroupManagementInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $groupManagement; /** * @var SearchCriteriaBuilder - * @since 2.1.0 + * @since 101.0.0 */ protected $searchCriteriaBuilder; /** * @var GroupRepositoryInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $groupRepository; /** * @var Data - * @since 2.1.0 + * @since 101.0.0 */ protected $directoryHelper; /** * @var StoreManagerInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $storeManager; /** * @var ArrayManager - * @since 2.1.0 + * @since 101.0.0 */ protected $arrayManager; /** * @var string - * @since 2.1.0 + * @since 101.0.0 */ protected $scopeName; /** * @var array - * @since 2.1.0 + * @since 101.0.0 */ protected $meta = []; /** * @var GroupSourceInterface - * @since 2.2.0 */ private $customerGroupSource; @@ -113,7 +112,7 @@ class AdvancedPricing extends AbstractModifier * @param string $scopeName * @param GroupSourceInterface $customerGroupSource * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.1.0 + * @since 101.0.0 */ public function __construct( LocatorInterface $locator, @@ -142,7 +141,7 @@ public function __construct( /** * {@inheritdoc} - * @since 2.1.0 + * @since 101.0.0 */ public function modifyMeta(array $meta) { @@ -161,7 +160,7 @@ public function modifyMeta(array $meta) /** * {@inheritdoc} - * @since 2.1.0 + * @since 101.0.0 */ public function modifyData(array $data) { @@ -175,7 +174,7 @@ public function modifyData(array $data) * * @param string $fieldCode * @return $this - * @since 2.1.0 + * @since 101.0.0 */ protected function preparePriceFields($fieldCode) { @@ -201,7 +200,6 @@ protected function preparePriceFields($fieldCode) * Customize tier price field * * @return $this - * @since 2.1.0 */ private function customizeTierPrice() { @@ -237,7 +235,6 @@ private function customizeTierPrice() * Retrieve allowed customer groups * * @return array - * @since 2.1.0 */ private function getCustomerGroups() { @@ -252,7 +249,6 @@ private function getCustomerGroups() * Check tier_price attribute scope is global * * @return bool - * @since 2.1.0 */ private function isScopeGlobal() { @@ -266,7 +262,6 @@ private function isScopeGlobal() * Get websites list * * @return array - * @since 2.1.0 */ private function getWebsites() { @@ -308,7 +303,6 @@ private function getWebsites() * Retrieve default value for customer group * * @return int - * @since 2.1.0 */ private function getDefaultCustomerGroup() { @@ -319,7 +313,7 @@ private function getDefaultCustomerGroup() * Retrieve default value for website * * @return int - * @since 2.1.0 + * @since 101.0.0 */ public function getDefaultWebsite() { @@ -334,7 +328,6 @@ public function getDefaultWebsite() * Show group prices grid website column * * @return bool - * @since 2.1.0 */ private function isShowWebsiteColumn() { @@ -348,7 +341,6 @@ private function isShowWebsiteColumn() * Show website column and switcher for group price table * * @return bool - * @since 2.1.0 */ private function isMultiWebsites() { @@ -359,7 +351,6 @@ private function isMultiWebsites() * Check is allow change website value for combination * * @return bool - * @since 2.1.0 */ private function isAllowChangeWebsite() { @@ -373,7 +364,6 @@ private function isAllowChangeWebsite() * Add link to open Advanced Pricing Panel * * @return $this - * @since 2.1.0 */ private function addAdvancedPriceLink() { @@ -427,7 +417,6 @@ private function addAdvancedPriceLink() * @param string $tierPricePath * @return array * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.1.0 */ private function getTierPriceStructure($tierPricePath) { @@ -566,7 +555,6 @@ private function getTierPriceStructure($tierPricePath) * Special price data move to inline group * * @return $this - * @since 2.1.0 */ private function specialPriceDataToInline() { @@ -623,7 +611,6 @@ private function specialPriceDataToInline() * Customize Advanced Pricing Panel * * @return $this - * @since 2.1.0 */ private function customizeAdvancedPricing() { @@ -683,7 +670,6 @@ private function customizeAdvancedPricing() * Retrieve store * * @return \Magento\Store\Api\Data\StoreInterface - * @since 2.1.0 */ private function getStore() { diff --git a/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/AttributeSet.php b/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/AttributeSet.php index 9d9d8f7538b3e..5ad9f6d76e3d4 100644 --- a/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/AttributeSet.php +++ b/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/AttributeSet.php @@ -16,7 +16,7 @@ * Add "Attribute Set" to first fieldset * * @api - * @since 2.1.0 + * @since 101.0.0 */ class AttributeSet extends AbstractModifier { @@ -29,19 +29,19 @@ class AttributeSet extends AbstractModifier * Set collection factory * * @var CollectionFactory - * @since 2.1.0 + * @since 101.0.0 */ protected $attributeSetCollectionFactory; /** * @var UrlInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $urlBuilder; /** * @var LocatorInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $locator; @@ -49,7 +49,7 @@ class AttributeSet extends AbstractModifier * @param LocatorInterface $locator * @param CollectionFactory $attributeSetCollectionFactory * @param UrlInterface $urlBuilder - * @since 2.1.0 + * @since 101.0.0 */ public function __construct( LocatorInterface $locator, @@ -65,7 +65,7 @@ public function __construct( * Return options for select * * @return array - * @since 2.1.0 + * @since 101.0.0 */ public function getOptions() { @@ -84,7 +84,7 @@ public function getOptions() /** * {@inheritdoc} - * @since 2.1.0 + * @since 101.0.0 */ public function modifyMeta(array $meta) { @@ -117,7 +117,7 @@ public function modifyMeta(array $meta) /** * {@inheritdoc} - * @since 2.1.0 + * @since 101.0.0 */ public function modifyData(array $data) { diff --git a/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/Attributes.php b/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/Attributes.php index 4c556b4c3d422..9e4e4c974fa7a 100644 --- a/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/Attributes.php +++ b/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/Attributes.php @@ -16,7 +16,7 @@ * Class Attributes * * @api - * @since 2.1.0 + * @since 101.0.0 */ class Attributes extends AbstractModifier { @@ -26,25 +26,25 @@ class Attributes extends AbstractModifier /** * @var UrlInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $urlBuilder; /** * @var Registry - * @since 2.1.0 + * @since 101.0.0 */ protected $registry; /** * @var LocatorInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $locator; /** * @var AuthorizationInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $authorization; @@ -53,7 +53,7 @@ class Attributes extends AbstractModifier * @param Registry $registry * @param AuthorizationInterface $authorization * @param LocatorInterface $locator - * @since 2.1.0 + * @since 101.0.0 */ public function __construct( UrlInterface $urlBuilder, @@ -69,7 +69,7 @@ public function __construct( /** * {@inheritdoc} - * @since 2.1.0 + * @since 101.0.0 */ public function modifyData(array $data) { @@ -78,7 +78,6 @@ public function modifyData(array $data) /** * @return boolean - * @since 2.1.0 */ private function canAddAttributes() { @@ -92,7 +91,7 @@ private function canAddAttributes() /** * {@inheritdoc} - * @since 2.1.0 + * @since 101.0.0 */ public function modifyMeta(array $meta) { @@ -115,7 +114,6 @@ public function modifyMeta(array $meta) /** * @param array $meta * @return array - * @since 2.1.0 */ private function customizeAddAttributeModal(array $meta) { @@ -207,7 +205,6 @@ private function customizeAddAttributeModal(array $meta) /** * @param array $meta * @return array - * @since 2.1.0 */ private function customizeCreateAttributeModal(array $meta) { @@ -290,7 +287,6 @@ private function customizeCreateAttributeModal(array $meta) /** * @param array $meta * @return array - * @since 2.1.0 */ private function customizeAttributesGrid(array $meta) { diff --git a/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/Categories.php b/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/Categories.php index e1f726d90ff11..c28712d5d250d 100644 --- a/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/Categories.php +++ b/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/Categories.php @@ -21,7 +21,7 @@ * @api * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.1.0 + * @since 101.0.0 */ class Categories extends AbstractModifier { @@ -33,50 +33,48 @@ class Categories extends AbstractModifier /** * @var CategoryCollectionFactory - * @since 2.1.0 + * @since 101.0.0 */ protected $categoryCollectionFactory; /** * @var DbHelper - * @since 2.1.0 + * @since 101.0.0 */ protected $dbHelper; /** * @var array - * @deprecated 2.1.3 - * @since 2.1.0 + * @deprecated 101.0.3 + * @since 101.0.0 */ protected $categoriesTrees = []; /** * @var LocatorInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $locator; /** * @var UrlInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $urlBuilder; /** * @var ArrayManager - * @since 2.1.0 + * @since 101.0.0 */ protected $arrayManager; /** * @var CacheInterface - * @since 2.1.3 */ private $cacheManager; /** * @var SerializerInterface - * @since 2.2.0 */ private $serializer; @@ -87,7 +85,7 @@ class Categories extends AbstractModifier * @param UrlInterface $urlBuilder * @param ArrayManager $arrayManager * @param SerializerInterface $serializer - * @since 2.1.0 + * @since 101.0.0 */ public function __construct( LocatorInterface $locator, @@ -109,8 +107,7 @@ public function __construct( * Retrieve cache interface * * @return CacheInterface - * @deprecated 2.1.3 - * @since 2.1.3 + * @deprecated 101.0.3 */ private function getCacheManager() { @@ -123,7 +120,7 @@ private function getCacheManager() /** * {@inheritdoc} - * @since 2.1.0 + * @since 101.0.0 */ public function modifyMeta(array $meta) { @@ -135,7 +132,7 @@ public function modifyMeta(array $meta) /** * {@inheritdoc} - * @since 2.1.0 + * @since 101.0.0 */ public function modifyData(array $data) { @@ -147,7 +144,7 @@ public function modifyData(array $data) * * @param array $meta * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function createNewCategoryModal(array $meta) { @@ -206,7 +203,7 @@ protected function createNewCategoryModal(array $meta) * * @param array $meta * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function customizeCategoriesField(array $meta) { @@ -308,7 +305,7 @@ protected function customizeCategoriesField(array $meta) * * @param string|null $filter * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function getCategoriesTree($filter = null) { @@ -366,7 +363,7 @@ protected function getCategoriesTree($filter = null) $categoryById[$category->getId()]['label'] = $category->getName(); $categoryById[$category->getParentId()]['optgroup'][] = &$categoryById[$category->getId()]; } - + $this->getCacheManager()->save( $this->serializer->serialize($categoryById[CategoryModel::TREE_ROOT_ID]['optgroup']), self::CATEGORY_TREE_ID . '_' . $filter, diff --git a/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/CustomOptions.php b/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/CustomOptions.php index 6ef5ec9376241..18a8d5c94ddce 100755 --- a/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/CustomOptions.php +++ b/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/CustomOptions.php @@ -30,7 +30,7 @@ * @api * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.1.0 + * @since 101.0.0 */ class CustomOptions extends AbstractModifier { @@ -95,50 +95,49 @@ class CustomOptions extends AbstractModifier /**#@-*/ /** - * @var \Magento\Catalog\Model\Locator\LocatorInterface - * @since 2.1.0 + * @var LocatorInterface + * @since 101.0.0 */ protected $locator; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $storeManager; /** * @var \Magento\Catalog\Model\ProductOptions\ConfigInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $productOptionsConfig; /** * @var \Magento\Catalog\Model\Config\Source\Product\Options\Price - * @since 2.1.0 + * @since 101.0.0 */ protected $productOptionsPrice; /** * @var UrlInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $urlBuilder; /** * @var ArrayManager - * @since 2.1.0 + * @since 101.0.0 */ protected $arrayManager; /** * @var array - * @since 2.1.0 + * @since 101.0.0 */ protected $meta = []; /** * @var CurrencyInterface - * @since 2.1.0 */ private $localeCurrency; @@ -149,7 +148,7 @@ class CustomOptions extends AbstractModifier * @param ProductOptionsPrice $productOptionsPrice * @param UrlInterface $urlBuilder * @param ArrayManager $arrayManager - * @since 2.1.0 + * @since 101.0.0 */ public function __construct( LocatorInterface $locator, @@ -169,7 +168,7 @@ public function __construct( /** * {@inheritdoc} - * @since 2.1.0 + * @since 101.0.0 */ public function modifyData(array $data) { @@ -214,7 +213,7 @@ public function modifyData(array $data) * @param string $path * @param array $data * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function formatPriceByPath($path, array $data) { @@ -229,7 +228,7 @@ protected function formatPriceByPath($path, array $data) /** * {@inheritdoc} - * @since 2.1.0 + * @since 101.0.0 */ public function modifyMeta(array $meta) { @@ -244,7 +243,7 @@ public function modifyMeta(array $meta) * Create "Customizable Options" panel * * @return $this - * @since 2.1.0 + * @since 101.0.0 */ protected function createCustomOptionsPanel() { @@ -291,7 +290,7 @@ protected function createCustomOptionsPanel() * * @param int $sortOrder * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function getHeaderContainerConfig($sortOrder) { @@ -367,7 +366,7 @@ protected function getHeaderContainerConfig($sortOrder) * * @param int $sortOrder * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function getOptionsGridConfig($sortOrder) { @@ -437,7 +436,7 @@ protected function getOptionsGridConfig($sortOrder) * * @param int $sortOrder * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function getEnableFieldConfig($sortOrder) { @@ -461,7 +460,7 @@ protected function getEnableFieldConfig($sortOrder) * Get config for modal window "Import Options" * * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function getImportOptionsModalConfig() { @@ -528,7 +527,7 @@ protected function getImportOptionsModalConfig() * * @param int $sortOrder * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function getCommonContainerConfig($sortOrder) { @@ -590,7 +589,7 @@ protected function getCommonContainerConfig($sortOrder) * * @param int $sortOrder * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function getStaticTypeContainerConfig($sortOrder) { @@ -625,7 +624,7 @@ protected function getStaticTypeContainerConfig($sortOrder) * * @param int $sortOrder * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function getSelectTypeGridConfig($sortOrder) { @@ -695,7 +694,7 @@ protected function getSelectTypeGridConfig($sortOrder) * * @param int $sortOrder * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function getOptionIdFieldConfig($sortOrder) { @@ -720,7 +719,7 @@ protected function getOptionIdFieldConfig($sortOrder) * @param int $sortOrder * @param array $options * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function getTitleFieldConfig($sortOrder, array $options = []) { @@ -751,7 +750,7 @@ protected function getTitleFieldConfig($sortOrder, array $options = []) * * @param int $sortOrder * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function getTypeFieldConfig($sortOrder) { @@ -827,7 +826,7 @@ protected function getTypeFieldConfig($sortOrder) * * @param int $sortOrder * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function getIsRequireFieldConfig($sortOrder) { @@ -857,7 +856,7 @@ protected function getIsRequireFieldConfig($sortOrder) * * @param int $sortOrder * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function getPositionFieldConfig($sortOrder) { @@ -882,7 +881,7 @@ protected function getPositionFieldConfig($sortOrder) * * @param int $sortOrder * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function getIsDeleteFieldConfig($sortOrder) { @@ -904,7 +903,7 @@ protected function getIsDeleteFieldConfig($sortOrder) * * @param int $sortOrder * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function getPriceFieldConfig($sortOrder) { @@ -934,7 +933,7 @@ protected function getPriceFieldConfig($sortOrder) * @param int $sortOrder * @param array $config * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function getPriceTypeFieldConfig($sortOrder, array $config = []) { @@ -963,7 +962,7 @@ protected function getPriceTypeFieldConfig($sortOrder, array $config = []) * * @param int $sortOrder * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function getSkuFieldConfig($sortOrder) { @@ -988,7 +987,7 @@ protected function getSkuFieldConfig($sortOrder) * * @param int $sortOrder * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function getMaxCharactersFieldConfig($sortOrder) { @@ -1016,7 +1015,7 @@ protected function getMaxCharactersFieldConfig($sortOrder) * * @param int $sortOrder * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function getFileExtensionFieldConfig($sortOrder) { @@ -1041,7 +1040,7 @@ protected function getFileExtensionFieldConfig($sortOrder) * * @param int $sortOrder * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function getImageSizeXFieldConfig($sortOrder) { @@ -1071,7 +1070,7 @@ protected function getImageSizeXFieldConfig($sortOrder) * * @param int $sortOrder * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function getImageSizeYFieldConfig($sortOrder) { @@ -1099,7 +1098,7 @@ protected function getImageSizeYFieldConfig($sortOrder) * Get options for drop-down control with product option types * * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function getProductOptionTypes() { @@ -1136,7 +1135,7 @@ protected function getProductOptionTypes() * Get currency symbol * * @return string - * @since 2.1.0 + * @since 101.0.0 */ protected function getCurrencySymbol() { @@ -1148,8 +1147,7 @@ protected function getCurrencySymbol() * * @return \Magento\Framework\Locale\CurrencyInterface * - * @deprecated 2.1.0 - * @since 2.1.0 + * @deprecated 101.0.0 */ private function getLocaleCurrency() { @@ -1164,7 +1162,7 @@ private function getLocaleCurrency() * * @param mixed $value * @return string - * @since 2.1.0 + * @since 101.0.0 */ protected function formatPrice($value) { diff --git a/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/Eav.php b/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/Eav.php index cbdba02e7d85f..19dcbc701e821 100755 --- a/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/Eav.php +++ b/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/Eav.php @@ -39,7 +39,7 @@ * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @SuppressWarnings(PHPMD.TooManyFields) - * @since 2.1.0 + * @since 101.0.0 */ class Eav extends AbstractModifier { @@ -47,151 +47,143 @@ class Eav extends AbstractModifier /** * @var LocatorInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $locator; /** * @var Config - * @since 2.1.0 + * @since 101.0.0 */ protected $eavConfig; /** * @var CatalogEavValidationRules - * @since 2.1.0 + * @since 101.0.0 */ protected $catalogEavValidationRules; /** * @var RequestInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $request; /** * @var GroupCollectionFactory - * @since 2.1.0 + * @since 101.0.0 */ protected $groupCollectionFactory; /** * @var StoreManagerInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $storeManager; /** * @var FormElementMapper - * @since 2.1.0 + * @since 101.0.0 */ protected $formElementMapper; /** * @var MetaPropertiesMapper - * @since 2.1.0 + * @since 101.0.0 */ protected $metaPropertiesMapper; /** * @var ProductAttributeGroupRepositoryInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $attributeGroupRepository; /** * @var SearchCriteriaBuilder - * @since 2.1.0 + * @since 101.0.0 */ protected $searchCriteriaBuilder; /** * @var ProductAttributeRepositoryInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $attributeRepository; /** * @var SortOrderBuilder - * @since 2.1.0 + * @since 101.0.0 */ protected $sortOrderBuilder; /** * @var EavAttributeFactory - * @since 2.1.0 + * @since 101.0.0 */ protected $eavAttributeFactory; /** * @var Translit - * @since 2.1.0 + * @since 101.0.0 */ protected $translitFilter; /** * @var ArrayManager - * @since 2.1.0 + * @since 101.0.0 */ protected $arrayManager; /** * @var ScopeOverriddenValue - * @since 2.1.0 */ private $scopeOverriddenValue; /** * @var array - * @since 2.1.0 */ private $attributesToDisable; /** * @var array - * @since 2.1.0 + * @since 101.0.0 */ protected $attributesToEliminate; /** * @var DataPersistorInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $dataPersistor; /** * @var EavAttribute[] - * @since 2.1.0 */ private $attributes = []; /** * @var AttributeGroupInterface[] - * @since 2.1.0 */ private $attributeGroups = []; /** * @var array - * @since 2.1.0 */ private $canDisplayUseDefault = []; /** * @var array - * @since 2.1.0 */ private $bannedInputTypes = ['media_image']; /** * @var array - * @since 2.1.0 */ private $prevSetAttributes; /** * @var CurrencyInterface - * @since 2.1.0 */ private $localeCurrency; @@ -216,7 +208,7 @@ class Eav extends AbstractModifier * @param array $attributesToDisable * @param array $attributesToEliminate * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.1.0 + * @since 101.0.0 */ public function __construct( LocatorInterface $locator, @@ -262,7 +254,7 @@ public function __construct( /** * {@inheritdoc} - * @since 2.1.0 + * @since 101.0.0 */ public function modifyMeta(array $meta) { @@ -294,7 +286,6 @@ public function modifyMeta(array $meta) * @param string $groupCode * @return array * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.1.0 */ private function getAttributesMeta(array $attributes, $groupCode) { @@ -330,7 +321,7 @@ private function getAttributesMeta(array $attributes, $groupCode) * @param int $sortOrder * @return array * @api - * @since 2.1.0 + * @since 101.0.0 */ public function addContainerChildren( array $attributeContainer, @@ -361,7 +352,7 @@ public function addContainerChildren( * @param int $sortOrder * @return array * @api - * @since 2.1.0 + * @since 101.0.0 */ public function getContainerChildren(ProductAttributeInterface $attribute, $groupCode, $sortOrder) { @@ -374,7 +365,7 @@ public function getContainerChildren(ProductAttributeInterface $attribute, $grou /** * {@inheritdoc} - * @since 2.1.0 + * @since 101.0.0 */ public function modifyData(array $data) { @@ -407,7 +398,6 @@ public function modifyData(array $data) * * @param array $data * @return array - * @since 2.1.0 */ private function resolvePersistentData(array $data) { @@ -431,7 +421,6 @@ private function resolvePersistentData(array $data) * Get product type * * @return null|string - * @since 2.1.0 */ private function getProductType() { @@ -442,7 +431,6 @@ private function getProductType() * Return prev set id * * @return int - * @since 2.1.0 */ private function getPreviousSetId() { @@ -453,7 +441,6 @@ private function getPreviousSetId() * Retrieve groups * * @return AttributeGroupInterface[] - * @since 2.1.0 */ private function getGroups() { @@ -472,7 +459,6 @@ private function getGroups() * Initialize attribute group search criteria with filters. * * @return SearchCriteriaBuilder - * @since 2.1.0 */ private function prepareGroupSearchCriteria() { @@ -486,7 +472,6 @@ private function prepareGroupSearchCriteria() * Return current attribute set id * * @return int|null - * @since 2.1.0 */ private function getAttributeSetId() { @@ -497,7 +482,6 @@ private function getAttributeSetId() * Retrieve attributes * * @return ProductAttributeInterface[] - * @since 2.1.0 */ private function getAttributes() { @@ -515,7 +499,6 @@ private function getAttributes() * * @param AttributeGroupInterface $group * @return ProductAttributeInterface[] - * @since 2.1.0 */ private function loadAttributes(AttributeGroupInterface $group) { @@ -547,7 +530,6 @@ private function loadAttributes(AttributeGroupInterface $group) * * @return array * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.1.0 */ private function getPreviousSetAttributes() { @@ -569,7 +551,6 @@ private function getPreviousSetAttributes() * Check is product already new or we trying to create one * * @return bool - * @since 2.2.0 */ private function isProductExists() { @@ -587,7 +568,7 @@ private function isProductExists() * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) * @api - * @since 2.1.0 + * @since 101.0.0 */ public function setupAttributeMeta(ProductAttributeInterface $attribute, $groupCode, $sortOrder) { @@ -669,7 +650,6 @@ public function setupAttributeMeta(ProductAttributeInterface $attribute, $groupC * @param ProductAttributeInterface $attribute * @param array $meta * @return array - * @since 2.1.0 */ private function addUseDefaultValueCheckbox(ProductAttributeInterface $attribute, array $meta) { @@ -695,7 +675,7 @@ private function addUseDefaultValueCheckbox(ProductAttributeInterface $attribute * @param ProductAttributeInterface $attribute * @return array * @api - * @since 2.1.0 + * @since 101.0.0 */ public function setupAttributeContainerMeta(ProductAttributeInterface $attribute) { @@ -730,7 +710,7 @@ public function setupAttributeContainerMeta(ProductAttributeInterface $attribute * @param ProductAttributeInterface $attribute * @return mixed|null * @api - * @since 2.1.0 + * @since 101.0.0 */ public function setupAttributeData(ProductAttributeInterface $attribute) { @@ -753,7 +733,6 @@ public function setupAttributeData(ProductAttributeInterface $attribute) * @param ProductAttributeInterface $attribute * @param array $meta * @return array - * @since 2.1.0 */ private function customizeCheckbox(ProductAttributeInterface $attribute, array $meta) { @@ -774,7 +753,6 @@ private function customizeCheckbox(ProductAttributeInterface $attribute, array $ * @param ProductAttributeInterface $attribute * @param array $meta * @return array - * @since 2.1.0 */ private function customizePriceAttribute(ProductAttributeInterface $attribute, array $meta) { @@ -793,7 +771,6 @@ private function customizePriceAttribute(ProductAttributeInterface $attribute, a * @param ProductAttributeInterface $attribute * @param array $meta * @return array - * @since 2.1.0 */ private function customizeWysiwyg(ProductAttributeInterface $attribute, array $meta) { @@ -819,7 +796,6 @@ private function customizeWysiwyg(ProductAttributeInterface $attribute, array $m * * @param string $value * @return mixed - * @since 2.1.0 */ private function getFormElementsMapValue($value) { @@ -833,7 +809,6 @@ private function getFormElementsMapValue($value) * * @param ProductAttributeInterface $attribute * @return mixed - * @since 2.1.0 */ private function getValue(ProductAttributeInterface $attribute) { @@ -848,7 +823,6 @@ private function getValue(ProductAttributeInterface $attribute) * * @param ProductAttributeInterface $attribute * @return \Magento\Framework\Phrase|string - * @since 2.1.0 */ private function getScopeLabel(ProductAttributeInterface $attribute) { @@ -875,7 +849,6 @@ private function getScopeLabel(ProductAttributeInterface $attribute) * * @param ProductAttributeInterface $attribute * @return bool - * @since 2.1.0 */ private function canDisplayUseDefault(ProductAttributeInterface $attribute) { @@ -900,7 +873,6 @@ private function canDisplayUseDefault(ProductAttributeInterface $attribute) * * @param ProductAttributeInterface $attribute * @return bool - * @since 2.1.0 */ private function isScopeGlobal($attribute) { @@ -914,7 +886,6 @@ private function isScopeGlobal($attribute) * * @param ProductAttributeInterface $attribute * @return EavAttribute - * @since 2.1.0 */ private function getAttributeModel($attribute) { @@ -930,7 +901,6 @@ private function getAttributeModel($attribute) * * @param AttributeGroupInterface $group * @return string - * @since 2.1.0 */ private function calculateGroupCode(AttributeGroupInterface $group) { @@ -948,8 +918,7 @@ private function calculateGroupCode(AttributeGroupInterface $group) * * @return \Magento\Framework\Locale\CurrencyInterface * - * @deprecated 2.1.0 - * @since 2.1.0 + * @deprecated 101.0.0 */ private function getLocaleCurrency() { @@ -964,7 +933,7 @@ private function getLocaleCurrency() * * @param mixed $value * @return string - * @since 2.1.0 + * @since 101.0.0 */ protected function formatPrice($value) { diff --git a/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/General.php b/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/General.php index 4110be205c39f..aea8b9224bbe1 100755 --- a/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/General.php +++ b/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/General.php @@ -14,32 +14,31 @@ * Data provider for main panel of product page * * @api - * @since 2.1.0 + * @since 101.0.0 */ class General extends AbstractModifier { /** * @var LocatorInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $locator; /** * @var ArrayManager - * @since 2.1.0 + * @since 101.0.0 */ protected $arrayManager; /** * @var \Magento\Framework\Locale\CurrencyInterface - * @since 2.1.0 */ private $localeCurrency; /** * @param LocatorInterface $locator * @param ArrayManager $arrayManager - * @since 2.1.0 + * @since 101.0.0 */ public function __construct( LocatorInterface $locator, @@ -51,7 +50,7 @@ public function __construct( /** * {@inheritdoc} - * @since 2.1.0 + * @since 101.0.0 */ public function modifyData(array $data) { @@ -71,7 +70,7 @@ public function modifyData(array $data) * * @param array $data * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function customizeWeightFormat(array $data) { @@ -96,7 +95,7 @@ protected function customizeWeightFormat(array $data) * * @param array $data * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function customizeAdvancedPriceFormat(array $data) { @@ -117,7 +116,7 @@ protected function customizeAdvancedPriceFormat(array $data) /** * {@inheritdoc} - * @since 2.1.0 + * @since 101.0.0 */ public function modifyMeta(array $meta) { @@ -135,7 +134,7 @@ public function modifyMeta(array $meta) * * @param array $meta * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function prepareFirstPanel(array $meta) { @@ -158,7 +157,7 @@ protected function prepareFirstPanel(array $meta) * * @param array $meta * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function customizeStatusField(array $meta) { @@ -184,7 +183,7 @@ protected function customizeStatusField(array $meta) * * @param array $meta * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function customizeWeightField(array $meta) { @@ -253,7 +252,7 @@ protected function customizeWeightField(array $meta) * * @param array $meta * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function customizeNewDateRangeField(array $meta) { @@ -311,7 +310,7 @@ protected function customizeNewDateRangeField(array $meta) * * @param array $meta * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function customizeNameListeners(array $meta) { @@ -366,8 +365,7 @@ protected function customizeNameListeners(array $meta) * * @return \Magento\Framework\Locale\CurrencyInterface * - * @deprecated 2.1.0 - * @since 2.1.0 + * @deprecated 101.0.0 */ private function getLocaleCurrency() { @@ -383,7 +381,7 @@ private function getLocaleCurrency() * * @param mixed $value * @return string - * @since 2.1.0 + * @since 101.0.0 */ protected function formatPrice($value) { @@ -403,7 +401,7 @@ protected function formatPrice($value) * * @param mixed $value * @return string - * @since 2.1.0 + * @since 101.0.0 */ protected function formatNumber($value) { diff --git a/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/Images.php b/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/Images.php index 3256c37a2e11e..64ba061427680 100644 --- a/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/Images.php +++ b/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/Images.php @@ -11,7 +11,7 @@ * Class Images customizes Images panel * * @api - * @since 2.1.0 + * @since 101.0.0 */ class Images extends AbstractModifier { @@ -28,13 +28,13 @@ class Images extends AbstractModifier /** * @var LocatorInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $locator; /** * @param LocatorInterface $locator - * @since 2.1.0 + * @since 101.0.0 */ public function __construct(LocatorInterface $locator) { @@ -43,7 +43,7 @@ public function __construct(LocatorInterface $locator) /** * {@inheritdoc} - * @since 2.1.0 + * @since 101.0.0 */ public function modifyMeta(array $meta) { @@ -54,7 +54,7 @@ public function modifyMeta(array $meta) /** * {@inheritdoc} - * @since 2.1.0 + * @since 101.0.0 */ public function modifyData(array $data) { diff --git a/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/Related.php b/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/Related.php index 987275e378711..ad9b3a0fbdf17 100644 --- a/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/Related.php +++ b/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/Related.php @@ -30,7 +30,7 @@ * @api * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.1.0 + * @since 101.0.0 */ class Related extends AbstractModifier { @@ -42,73 +42,70 @@ class Related extends AbstractModifier /** * @var string - * @since 2.1.0 */ private static $previousGroup = 'search-engine-optimization'; /** * @var int - * @since 2.1.0 */ private static $sortOrder = 90; /** * @var LocatorInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $locator; /** * @var UrlInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $urlBuilder; /** * @var ProductLinkRepositoryInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $productLinkRepository; /** * @var ProductRepositoryInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $productRepository; /** * @var ImageHelper - * @since 2.1.0 + * @since 101.0.0 */ protected $imageHelper; /** * @var Status - * @since 2.1.0 + * @since 101.0.0 */ protected $status; /** * @var AttributeSetRepositoryInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $attributeSetRepository; /** * @var string - * @since 2.1.0 + * @since 101.0.0 */ protected $scopeName; /** * @var string - * @since 2.1.0 + * @since 101.0.0 */ protected $scopePrefix; /** * @var \Magento\Catalog\Ui\Component\Listing\Columns\Price - * @since 2.1.0 */ private $priceModifier; @@ -122,7 +119,7 @@ class Related extends AbstractModifier * @param AttributeSetRepositoryInterface $attributeSetRepository * @param string $scopeName * @param string $scopePrefix - * @since 2.1.0 + * @since 101.0.0 */ public function __construct( LocatorInterface $locator, @@ -148,7 +145,7 @@ public function __construct( /** * {@inheritdoc} - * @since 2.1.0 + * @since 101.0.0 */ public function modifyMeta(array $meta) { @@ -187,7 +184,7 @@ public function modifyMeta(array $meta) /** * {@inheritdoc} - * @since 2.1.0 + * @since 101.0.0 */ public function modifyData(array $data) { @@ -240,8 +237,7 @@ public function modifyData(array $data) * Get price modifier * * @return \Magento\Catalog\Ui\Component\Listing\Columns\Price - * @deprecated 2.1.0 - * @since 2.1.0 + * @deprecated 101.0.0 */ private function getPriceModifier() { @@ -259,7 +255,7 @@ private function getPriceModifier() * @param ProductInterface $linkedProduct * @param ProductLinkInterface $linkItem * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function fillData(ProductInterface $linkedProduct, ProductLinkInterface $linkItem) { @@ -281,7 +277,7 @@ protected function fillData(ProductInterface $linkedProduct, ProductLinkInterfac * Retrieve all data scopes * * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function getDataScopes() { @@ -296,7 +292,7 @@ protected function getDataScopes() * Prepares config for the Related products fieldset * * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function getRelatedFieldset() { @@ -336,7 +332,7 @@ protected function getRelatedFieldset() * Prepares config for the Up-Sell products fieldset * * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function getUpSellFieldset() { @@ -377,7 +373,7 @@ protected function getUpSellFieldset() * Prepares config for the Cross-Sell products fieldset * * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function getCrossSellFieldset() { @@ -421,7 +417,7 @@ protected function getCrossSellFieldset() * @param Phrase $buttonTitle * @param string $scope * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function getButtonSet(Phrase $content, Phrase $buttonTitle, $scope) { @@ -474,7 +470,7 @@ protected function getButtonSet(Phrase $content, Phrase $buttonTitle, $scope) * @param Phrase $title * @param string $scope * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function getGenericModal(Phrase $title, $scope) { @@ -554,7 +550,7 @@ protected function getGenericModal(Phrase $title, $scope) * @param string $scope * @return array * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.1.0 + * @since 101.0.0 */ protected function getGrid($scope) { @@ -616,7 +612,7 @@ protected function getGrid($scope) * Retrieve meta column * * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function fillMeta() { @@ -682,7 +678,7 @@ protected function fillMeta() * @param Phrase $label * @param int $sortOrder * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function getTextColumn($dataScope, $fit, Phrase $label, $sortOrder) { diff --git a/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/ScheduleDesignUpdate.php b/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/ScheduleDesignUpdate.php index a402ca5c8fcab..2c525e6c0e139 100644 --- a/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/ScheduleDesignUpdate.php +++ b/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/ScheduleDesignUpdate.php @@ -11,7 +11,7 @@ * Class ScheduleDesignUpdateMetaProvider customizes Schedule Design Update panel * * @api - * @since 2.1.0 + * @since 101.0.0 */ class ScheduleDesignUpdate extends AbstractModifier { @@ -24,13 +24,13 @@ class ScheduleDesignUpdate extends AbstractModifier /** * @var ArrayManager - * @since 2.1.0 + * @since 101.0.0 */ protected $arrayManager; /** * @param ArrayManager $arrayManager - * @since 2.1.0 + * @since 101.0.0 */ public function __construct(ArrayManager $arrayManager) { @@ -39,7 +39,7 @@ public function __construct(ArrayManager $arrayManager) /** * {@inheritdoc} - * @since 2.1.0 + * @since 101.0.0 */ public function modifyMeta(array $meta) { @@ -49,7 +49,7 @@ public function modifyMeta(array $meta) /** * {@inheritdoc} - * @since 2.1.0 + * @since 101.0.0 */ public function modifyData(array $data) { @@ -61,7 +61,7 @@ public function modifyData(array $data) * * @param array $meta * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function customizeDateRangeField(array $meta) { diff --git a/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/System.php b/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/System.php index 654972dbaf872..a0cdb92f756e6 100644 --- a/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/System.php +++ b/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/System.php @@ -12,7 +12,7 @@ * Class SystemDataProvider * * @api - * @since 2.1.0 + * @since 101.0.0 */ class System extends AbstractModifier { @@ -22,19 +22,19 @@ class System extends AbstractModifier /** * @var LocatorInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $locator; /** * @var UrlInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $urlBuilder; /** * @var array - * @since 2.1.0 + * @since 101.0.0 */ protected $productUrls = [ self::KEY_SUBMIT_URL => 'catalog/product/save', @@ -46,7 +46,7 @@ class System extends AbstractModifier * @param LocatorInterface $locator * @param UrlInterface $urlBuilder * @param array $productUrls - * @since 2.1.0 + * @since 101.0.0 */ public function __construct( LocatorInterface $locator, @@ -60,7 +60,7 @@ public function __construct( /** * {@inheritdoc} - * @since 2.1.0 + * @since 101.0.0 */ public function modifyData(array $data) { @@ -101,7 +101,7 @@ public function modifyData(array $data) /** * {@inheritdoc} - * @since 2.1.0 + * @since 101.0.0 */ public function modifyMeta(array $meta) { diff --git a/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/TierPrice.php b/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/TierPrice.php index 68ec83539aefd..f5aae6f3a0292 100644 --- a/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/TierPrice.php +++ b/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/TierPrice.php @@ -18,26 +18,24 @@ * Tier prices modifier adds price type option to tier prices. * * @api - * @since 2.2.0 + * @since 101.1.0 */ class TierPrice extends AbstractModifier { /** * @var ProductPriceOptionsInterface - * @since 2.2.0 */ private $productPriceOptions; /** * @var ArrayManager - * @since 2.2.0 */ private $arrayManager; /** * @param ProductPriceOptionsInterface $productPriceOptions * @param ArrayManager $arrayManager - * @since 2.2.0 + * @since 101.1.0 */ public function __construct( ProductPriceOptionsInterface $productPriceOptions, @@ -49,7 +47,7 @@ public function __construct( /** * {@inheritdoc} - * @since 2.2.0 + * @since 101.1.0 */ public function modifyData(array $data) { @@ -58,7 +56,7 @@ public function modifyData(array $data) /** * {@inheritdoc} - * @since 2.2.0 + * @since 101.1.0 */ public function modifyMeta(array $meta) { @@ -94,7 +92,6 @@ public function modifyMeta(array $meta) * * @param array $priceMeta * @return array - * @since 2.2.0 */ private function getUpdatedTierPriceStructure(array $priceMeta) { diff --git a/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/Websites.php b/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/Websites.php index 79dc1d170704b..fbfdeffb2056b 100644 --- a/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/Websites.php +++ b/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/Websites.php @@ -19,7 +19,7 @@ * @api * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.1.0 + * @since 101.0.0 */ class Websites extends AbstractModifier { @@ -27,43 +27,43 @@ class Websites extends AbstractModifier /** * @var LocatorInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $locator; /** * @var \Magento\Store\Api\WebsiteRepositoryInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $websiteRepository; /** * @var \Magento\Store\Api\GroupRepositoryInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $groupRepository; /** * @var \Magento\Store\Api\StoreRepositoryInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $storeRepository; /** * @var array - * @since 2.1.0 + * @since 101.0.0 */ protected $websitesOptionsList; /** * @var StoreManagerInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $storeManager; /** * @var array - * @since 2.1.0 + * @since 101.0.0 */ protected $websitesList; @@ -73,7 +73,7 @@ class Websites extends AbstractModifier * @param WebsiteRepositoryInterface $websiteRepository * @param GroupRepositoryInterface $groupRepository * @param StoreRepositoryInterface $storeRepository - * @since 2.1.0 + * @since 101.0.0 */ public function __construct( LocatorInterface $locator, @@ -91,7 +91,7 @@ public function __construct( /** * {@inheritdoc} - * @since 2.1.0 + * @since 101.0.0 */ public function modifyData(array $data) { @@ -119,7 +119,7 @@ public function modifyData(array $data) /** * {@inheritdoc} - * @since 2.1.0 + * @since 101.0.0 */ public function modifyMeta(array $meta) { @@ -158,7 +158,7 @@ public function modifyMeta(array $meta) * Prepares children for the parent fieldset * * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function getFieldsForFieldset() { @@ -221,7 +221,7 @@ protected function getFieldsForFieldset() * @param int $websiteId * @param int $sortOrder * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function getDynamicRow($websiteId, $sortOrder) { @@ -321,7 +321,7 @@ protected function getDynamicRow($websiteId, $sortOrder) * Manage options list for selects * * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function getWebsitesOptions() { @@ -333,7 +333,7 @@ protected function getWebsitesOptions() /** * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function getWebsitesOptionsList() { @@ -388,7 +388,7 @@ protected function getWebsitesOptionsList() * * @return array * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.1.0 + * @since 101.0.0 */ protected function getWebsitesList() { @@ -443,7 +443,7 @@ protected function getWebsitesList() * Return array of websites ids, assigned to the product * * @return array - * @since 2.1.0 + * @since 101.0.0 */ protected function getWebsitesValues() { diff --git a/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/NewCategoryDataProvider.php b/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/NewCategoryDataProvider.php index 087e9fd0aa5f7..814054dfb5b76 100644 --- a/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/NewCategoryDataProvider.php +++ b/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/NewCategoryDataProvider.php @@ -13,13 +13,13 @@ * DataProvider for new category form * * @api - * @since 2.1.0 + * @since 101.0.0 */ class NewCategoryDataProvider extends AbstractDataProvider { /** * @var UrlInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $urlBuilder; @@ -31,7 +31,7 @@ class NewCategoryDataProvider extends AbstractDataProvider * @param UrlInterface $urlBuilder * @param array $meta * @param array $data - * @since 2.1.0 + * @since 101.0.0 */ public function __construct( $name, @@ -49,7 +49,7 @@ public function __construct( /** * {@inheritdoc} - * @since 2.1.0 + * @since 101.0.0 */ public function getData() { @@ -72,7 +72,7 @@ public function getData() /** * {@inheritdoc} - * @since 2.1.0 + * @since 101.0.0 */ public function getMeta() { @@ -93,7 +93,7 @@ public function getMeta() * Get notice message * * @return \Magento\Framework\Phrase - * @since 2.1.0 + * @since 101.0.0 */ protected function getNotice() { diff --git a/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/ProductDataProvider.php b/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/ProductDataProvider.php index 0a0ca0dda4c89..909e7861ddd7d 100644 --- a/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/ProductDataProvider.php +++ b/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/ProductDataProvider.php @@ -14,13 +14,12 @@ * DataProvider for product edit form * * @api - * @since 2.1.0 + * @since 101.0.0 */ class ProductDataProvider extends AbstractDataProvider { /** * @var PoolInterface - * @since 2.1.0 */ private $pool; @@ -32,7 +31,7 @@ class ProductDataProvider extends AbstractDataProvider * @param PoolInterface $pool * @param array $meta * @param array $data - * @since 2.1.0 + * @since 101.0.0 */ public function __construct( $name, @@ -50,7 +49,7 @@ public function __construct( /** * {@inheritdoc} - * @since 2.1.0 + * @since 101.0.0 */ public function getData() { @@ -64,7 +63,7 @@ public function getData() /** * {@inheritdoc} - * @since 2.1.0 + * @since 101.0.0 */ public function getMeta() { diff --git a/app/code/Magento/Catalog/Ui/DataProvider/Product/Listing/Collector/AdditionalInfo.php b/app/code/Magento/Catalog/Ui/DataProvider/Product/Listing/Collector/AdditionalInfo.php index 6124cef22ac36..db058f5087075 100644 --- a/app/code/Magento/Catalog/Ui/DataProvider/Product/Listing/Collector/AdditionalInfo.php +++ b/app/code/Magento/Catalog/Ui/DataProvider/Product/Listing/Collector/AdditionalInfo.php @@ -11,13 +11,11 @@ /** * Collect additional information about product, in order to allow product rendering on front - * @since 2.2.0 */ class AdditionalInfo implements ProductRenderCollectorInterface { /** * @inheritdoc - * @since 2.2.0 */ public function collect(ProductInterface $product, ProductRenderInterface $productRender) { diff --git a/app/code/Magento/Catalog/Ui/DataProvider/Product/Listing/Collector/Image.php b/app/code/Magento/Catalog/Ui/DataProvider/Product/Listing/Collector/Image.php index bef2d4778b4c7..2fc9ef76aa00d 100644 --- a/app/code/Magento/Catalog/Ui/DataProvider/Product/Listing/Collector/Image.php +++ b/app/code/Magento/Catalog/Ui/DataProvider/Product/Listing/Collector/Image.php @@ -22,7 +22,6 @@ * If you want to add new image, that should render on front you need * to configure this class in di.xml * - * @since 2.2.0 */ class Image implements ProductRenderCollectorInterface { @@ -31,37 +30,31 @@ class Image implements ProductRenderCollectorInterface /** * @var ImageFactory - * @since 2.2.0 */ private $imageFactory; /** * @var array - * @since 2.2.0 */ private $imageCodes; /** * @var State - * @since 2.2.0 */ private $state; /** * @var StoreManager - * @since 2.2.0 */ private $storeManager; /** * @var DesignInterface - * @since 2.2.0 */ private $design; /** * @var ImageInterfaceFactory - * @since 2.2.0 */ private $imageRenderInfoFactory; @@ -73,7 +66,6 @@ class Image implements ProductRenderCollectorInterface * @param DesignInterface $design * @param ImageInterfaceFactory $imageRenderInfoFactory * @param array $imageCodes - * @since 2.2.0 */ public function __construct( ImageFactory $imageFactory, @@ -95,7 +87,6 @@ public function __construct( * In order to allow to use image generation using Services, we need to emulate area code and store code * * @inheritdoc - * @since 2.2.0 */ public function collect(ProductInterface $product, ProductRenderInterface $productRender) { @@ -135,7 +126,6 @@ public function collect(ProductInterface $product, ProductRenderInterface $produ * @param int $storeId * @param ImageInterface $image * @return \Magento\Catalog\Helper\Image - * @since 2.2.0 */ public function emulateImageCreating(ProductInterface $product, $imageCode, $storeId, ImageInterface $image) { diff --git a/app/code/Magento/Catalog/Ui/DataProvider/Product/Listing/Collector/Price.php b/app/code/Magento/Catalog/Ui/DataProvider/Product/Listing/Collector/Price.php index 82381cb3caccb..337182abf084c 100644 --- a/app/code/Magento/Catalog/Ui/DataProvider/Product/Listing/Collector/Price.php +++ b/app/code/Magento/Catalog/Ui/DataProvider/Product/Listing/Collector/Price.php @@ -19,7 +19,6 @@ * Base price contains: final_price, min, max and regular prices. * Base price can be applied for all types of products * Base price fully describe simple product - * @since 2.2.0 */ class Price implements ProductRenderCollectorInterface { @@ -37,25 +36,21 @@ class Price implements ProductRenderCollectorInterface /** * @var PriceCurrencyInterface - * @since 2.2.0 */ private $priceCurrency; /** * @var array - * @since 2.2.0 */ private $excludeAdjustments; /** * @var PriceInfoInterfaceFactory - * @since 2.2.0 */ private $priceInfoFactory; /** * @var FormattedPriceInfoBuilder - * @since 2.2.0 */ private $formattedPriceInfoBuilder; @@ -64,7 +59,6 @@ class Price implements ProductRenderCollectorInterface * @param PriceInfoInterfaceFactory $priceInfoFactory * @param FormattedPriceInfoBuilder $formattedPriceInfoBuilder * @param array $excludeAdjustments - * @since 2.2.0 */ public function __construct( PriceCurrencyInterface $priceCurrency, @@ -80,7 +74,6 @@ public function __construct( /** * @inheritdoc - * @since 2.2.0 */ public function collect(ProductInterface $product, ProductRenderInterface $productRender) { diff --git a/app/code/Magento/Catalog/Ui/DataProvider/Product/Listing/Collector/Url.php b/app/code/Magento/Catalog/Ui/DataProvider/Product/Listing/Collector/Url.php index 0e5943645d524..f2dfed7ae4b34 100644 --- a/app/code/Magento/Catalog/Ui/DataProvider/Product/Listing/Collector/Url.php +++ b/app/code/Magento/Catalog/Ui/DataProvider/Product/Listing/Collector/Url.php @@ -17,7 +17,6 @@ /** * Collect information about all urls, that needed to render product on front * Also collect information about add-to-cart, add-to-compare, add-to-wishlist buttons - * @since 2.2.0 */ class Url implements ProductRenderCollectorInterface { @@ -38,25 +37,21 @@ class Url implements ProductRenderCollectorInterface /** * @var AbstractProduct - * @since 2.2.0 */ private $abstractProduct; /** * @var Compare - * @since 2.2.0 */ private $compare; /** * @var PostHelper - * @since 2.2.0 */ private $postHelper; /** * @var ButtonInterfaceFactory - * @since 2.2.0 */ private $buttonFactory; @@ -65,7 +60,6 @@ class Url implements ProductRenderCollectorInterface * @param Compare $compare * @param PostHelper $postHelper * @param ButtonInterfaceFactory $buttonFactory - * @since 2.2.0 */ public function __construct( AbstractProduct $abstractProduct, @@ -81,7 +75,6 @@ public function __construct( /** * @inheritdoc - * @since 2.2.0 */ public function collect(ProductInterface $product, ProductRenderInterface $productRender) { diff --git a/app/code/Magento/Catalog/Ui/DataProvider/Product/Listing/DataProvider.php b/app/code/Magento/Catalog/Ui/DataProvider/Product/Listing/DataProvider.php index 5e314dc8539c2..3090734df0144 100644 --- a/app/code/Magento/Catalog/Ui/DataProvider/Product/Listing/DataProvider.php +++ b/app/code/Magento/Catalog/Ui/DataProvider/Product/Listing/DataProvider.php @@ -14,13 +14,11 @@ /** * Provide information about current store and currency for product listing ui component - * @since 2.2.0 */ class DataProvider extends \Magento\Framework\View\Element\UiComponent\DataProvider\DataProvider { /** * @var StoreManager - * @since 2.2.0 */ private $storeManager; @@ -35,7 +33,6 @@ class DataProvider extends \Magento\Framework\View\Element\UiComponent\DataProvi * @param StoreManager $storeManager * @param array $meta * @param array $data - * @since 2.2.0 */ public function __construct( $name, @@ -65,7 +62,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.2.0 */ public function getData() { diff --git a/app/code/Magento/Catalog/Ui/DataProvider/Product/ProductCustomOptionsDataProvider.php b/app/code/Magento/Catalog/Ui/DataProvider/Product/ProductCustomOptionsDataProvider.php index 1f57123c58a28..b99ed345c64cd 100644 --- a/app/code/Magento/Catalog/Ui/DataProvider/Product/ProductCustomOptionsDataProvider.php +++ b/app/code/Magento/Catalog/Ui/DataProvider/Product/ProductCustomOptionsDataProvider.php @@ -17,25 +17,25 @@ * DataProvider for grid on Import Custom Options modal panel * * @api - * @since 2.1.0 + * @since 101.0.0 */ class ProductCustomOptionsDataProvider extends ProductDataProvider { /** * @var RequestInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $request; /** * @var ProductOptionRepository - * @since 2.1.0 + * @since 101.0.0 */ protected $productOptionRepository; /** * @var ProductOptionValueModel - * @since 2.1.0 + * @since 101.0.0 */ protected $productOptionValueModel; @@ -52,7 +52,7 @@ class ProductCustomOptionsDataProvider extends ProductDataProvider * @param array $meta * @param array $data * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.1.0 + * @since 101.0.0 */ public function __construct( $name, @@ -85,7 +85,7 @@ public function __construct( /** * {@inheritdoc} - * @since 2.1.0 + * @since 101.0.0 */ public function getData() { diff --git a/app/code/Magento/Catalog/Ui/DataProvider/Product/ProductRenderCollectorComposite.php b/app/code/Magento/Catalog/Ui/DataProvider/Product/ProductRenderCollectorComposite.php index b436e91ca0220..359b1a1a948f8 100644 --- a/app/code/Magento/Catalog/Ui/DataProvider/Product/ProductRenderCollectorComposite.php +++ b/app/code/Magento/Catalog/Ui/DataProvider/Product/ProductRenderCollectorComposite.php @@ -11,20 +11,17 @@ /** * Composite, which holds collectors, that collect enought information for * product render - * @since 2.2.0 */ class ProductRenderCollectorComposite implements ProductRenderCollectorInterface { /** * @var ProductRenderCollectorInterface[] - * @since 2.2.0 */ private $productProviders = []; /** * ProductRenderCollectorComposite constructor. * @param array $productProviders - * @since 2.2.0 */ public function __construct(array $productProviders = []) { @@ -33,7 +30,6 @@ public function __construct(array $productProviders = []) /** * @inheritdoc - * @since 2.2.0 */ public function collect(ProductInterface $product, ProductRenderInterface $productRender) { diff --git a/app/code/Magento/Catalog/Ui/DataProvider/Product/ProductRenderCollectorInterface.php b/app/code/Magento/Catalog/Ui/DataProvider/Product/ProductRenderCollectorInterface.php index 1ea4eaa78a0e5..5d14cd21f7b95 100644 --- a/app/code/Magento/Catalog/Ui/DataProvider/Product/ProductRenderCollectorInterface.php +++ b/app/code/Magento/Catalog/Ui/DataProvider/Product/ProductRenderCollectorInterface.php @@ -12,7 +12,7 @@ * Allows to collect absolutely different product render information from different modules * * @api - * @since 2.2.0 + * @since 101.1.0 */ interface ProductRenderCollectorInterface { @@ -23,7 +23,7 @@ interface ProductRenderCollectorInterface * @param ProductRenderInterface $productRender * @param array $data * @return void - * @since 2.2.0 + * @since 101.1.0 */ public function collect(ProductInterface $product, ProductRenderInterface $productRender); } diff --git a/app/code/Magento/Catalog/Ui/DataProvider/Product/Related/AbstractDataProvider.php b/app/code/Magento/Catalog/Ui/DataProvider/Product/Related/AbstractDataProvider.php index fd41bf4c92a0b..33f974e217c05 100644 --- a/app/code/Magento/Catalog/Ui/DataProvider/Product/Related/AbstractDataProvider.php +++ b/app/code/Magento/Catalog/Ui/DataProvider/Product/Related/AbstractDataProvider.php @@ -20,43 +20,41 @@ * Class AbstractDataProvider * * @api - * @since 2.1.0 + * @since 101.0.0 */ abstract class AbstractDataProvider extends ProductDataProvider { /** * @var RequestInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $request; /** * @var ProductRepositoryInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $productRepository; /** * @var StoreRepositoryInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $storeRepository; /** * @var ProductLinkRepositoryInterface - * @since 2.1.0 + * @since 101.0.0 */ protected $productLinkRepository; /** * @var ProductInterface - * @since 2.1.0 */ private $product; /** * @var StoreInterface - * @since 2.1.0 */ private $store; @@ -74,7 +72,7 @@ abstract class AbstractDataProvider extends ProductDataProvider * @param array $meta * @param array $data * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.1.0 + * @since 101.0.0 */ public function __construct( $name, @@ -111,13 +109,13 @@ public function __construct( * Retrieve link type * * @return string - * @since 2.1.0 + * @since 101.0.0 */ abstract protected function getLinkType(); /** * {@inheritdoc} - * @since 2.1.0 + * @since 101.0.0 */ public function getCollection() { @@ -146,7 +144,7 @@ public function getCollection() * * @param Collection $collection * @return Collection - * @since 2.1.0 + * @since 101.0.0 */ protected function addCollectionFilters(Collection $collection) { @@ -175,7 +173,7 @@ protected function addCollectionFilters(Collection $collection) * Retrieve product * * @return ProductInterface|null - * @since 2.1.0 + * @since 101.0.0 */ protected function getProduct() { @@ -194,7 +192,7 @@ protected function getProduct() * Retrieve store * * @return StoreInterface|null - * @since 2.1.0 + * @since 101.0.0 */ protected function getStore() { diff --git a/app/code/Magento/Catalog/Ui/DataProvider/Product/Related/CrossSellDataProvider.php b/app/code/Magento/Catalog/Ui/DataProvider/Product/Related/CrossSellDataProvider.php index 373b92da019cc..047e6ad589457 100644 --- a/app/code/Magento/Catalog/Ui/DataProvider/Product/Related/CrossSellDataProvider.php +++ b/app/code/Magento/Catalog/Ui/DataProvider/Product/Related/CrossSellDataProvider.php @@ -9,13 +9,13 @@ * Class CrossSellDataProvider * * @api - * @since 2.1.0 + * @since 101.0.0 */ class CrossSellDataProvider extends AbstractDataProvider { /** * {@inheritdoc} - * @since 2.1.0 + * @since 101.0.0 */ protected function getLinkType() { diff --git a/app/code/Magento/Catalog/Ui/DataProvider/Product/Related/RelatedDataProvider.php b/app/code/Magento/Catalog/Ui/DataProvider/Product/Related/RelatedDataProvider.php index 6407d53ed889d..dab357a73fd3b 100644 --- a/app/code/Magento/Catalog/Ui/DataProvider/Product/Related/RelatedDataProvider.php +++ b/app/code/Magento/Catalog/Ui/DataProvider/Product/Related/RelatedDataProvider.php @@ -9,13 +9,13 @@ * Class RelatedDataProvider * * @api - * @since 2.1.0 + * @since 101.0.0 */ class RelatedDataProvider extends AbstractDataProvider { /** * {@inheritdoc - * @since 2.1.0 + * @since 101.0.0 */ protected function getLinkType() { diff --git a/app/code/Magento/Catalog/Ui/DataProvider/Product/Related/UpSellDataProvider.php b/app/code/Magento/Catalog/Ui/DataProvider/Product/Related/UpSellDataProvider.php index eb1d706e74df8..104ae02338b5d 100644 --- a/app/code/Magento/Catalog/Ui/DataProvider/Product/Related/UpSellDataProvider.php +++ b/app/code/Magento/Catalog/Ui/DataProvider/Product/Related/UpSellDataProvider.php @@ -9,13 +9,13 @@ * Class UpSellDataProvider * * @api - * @since 2.1.0 + * @since 101.0.0 */ class UpSellDataProvider extends AbstractDataProvider { /** * {@inheritdoc} - * @since 2.1.0 + * @since 101.0.0 */ protected function getLinkType() { diff --git a/app/code/Magento/CatalogImportExport/Model/Export/Product.php b/app/code/Magento/CatalogImportExport/Model/Export/Product.php index aafd8fd696607..88c42a163b522 100644 --- a/app/code/Magento/CatalogImportExport/Model/Export/Product.php +++ b/app/code/Magento/CatalogImportExport/Model/Export/Product.php @@ -132,7 +132,6 @@ class Product extends \Magento\ImportExport\Model\Export\Entity\AbstractEntity * Attributes defined by user * * @var array - * @since 2.1.3 */ private $userDefinedAttributes = []; @@ -267,7 +266,7 @@ class Product extends \Magento\ImportExport\Model\Export\Entity\AbstractEntity * Attributes codes which shows as date * * @var array - * @since 2.1.3 + * @since 100.1.2 */ protected $dateAttrCodes = [ 'special_from_date', @@ -335,7 +334,7 @@ class Product extends \Magento\ImportExport\Model\Export\Entity\AbstractEntity /** * @var \Magento\Framework\EntityManager\MetadataPool - * @since 2.1.0 + * @since 100.1.0 */ protected $metadataPool; @@ -343,7 +342,6 @@ class Product extends \Magento\ImportExport\Model\Export\Entity\AbstractEntity * Product entity link field * * @var string - * @since 2.1.0 */ private $productEntityLinkField; @@ -857,7 +855,7 @@ public function export() /** * {@inheritdoc} - * @since 2.2.0 + * @since 100.2.0 */ protected function _prepareEntityCollection(\Magento\Eav\Model\Entity\Collection\AbstractCollection $collection) { @@ -1023,7 +1021,6 @@ protected function collectRawData() * * @param string|array $value * @return string|array - * @since 2.1.3 */ private function wrapValue($value) { @@ -1140,7 +1137,6 @@ protected function isValidAttributeValue($code, $value) * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.1.0 */ private function appendMultirowData(&$dataRow, &$multiRawData) { @@ -1243,7 +1239,7 @@ private function appendMultirowData(&$dataRow, &$multiRawData) } /** - * @deprecated 2.1.0 + * @deprecated 100.1.0 * @param array $dataRow * @param array $multiRawData * @return array @@ -1452,7 +1448,6 @@ protected function initAttributes() * Get product metadata pool * * @return \Magento\Framework\EntityManager\MetadataPool - * @since 2.1.0 */ private function getMetadataPool() { @@ -1467,7 +1462,7 @@ private function getMetadataPool() * Get product entity link field * * @return string - * @since 2.1.0 + * @since 100.1.0 */ protected function getProductEntityLinkField() { diff --git a/app/code/Magento/CatalogImportExport/Model/Import/Product.php b/app/code/Magento/CatalogImportExport/Model/Import/Product.php index 8280cdcdb6f30..cb633041e21e5 100644 --- a/app/code/Magento/CatalogImportExport/Model/Import/Product.php +++ b/app/code/Magento/CatalogImportExport/Model/Import/Product.php @@ -176,24 +176,24 @@ class Product extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity /** * @var string - * @since 2.0.3 + * @since 100.0.4 */ protected $mediaGalleryTableName; /** * @var string - * @since 2.0.3 + * @since 100.0.4 */ protected $mediaGalleryValueTableName; /** * @var string - * @since 2.0.3 + * @since 100.0.4 */ protected $mediaGalleryEntityToValueTableName; /** * @var string - * @since 2.0.3 + * @since 100.0.4 */ protected $productEntityTableName; @@ -222,7 +222,7 @@ class Product extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * Attributes codes which shows as date * * @var array - * @since 2.1.3 + * @since 100.1.2 */ protected $dateAttrCodes = [ 'special_from_date', @@ -564,13 +564,13 @@ class Product extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity /** * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.1 + * @since 100.0.3 */ protected $scopeConfig; /** * @var \Magento\Catalog\Model\Product\Url - * @since 2.0.1 + * @since 100.0.3 */ protected $productUrl; @@ -586,14 +586,14 @@ class Product extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity /** * @var array - * @since 2.0.1 + * @since 100.0.3 */ protected $productUrlSuffix = []; /** * @var array - * @deprecated 2.2.0 - * @since 2.0.1 + * @deprecated 100.2.0 + * @since 100.0.3 */ protected $productUrlKeys = []; @@ -652,13 +652,13 @@ class Product extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity /** * @var array - * @since 2.0.1 + * @since 100.0.3 */ protected $urlKeys = []; /** * @var array - * @since 2.0.1 + * @since 100.0.3 */ protected $rowNumbers = []; @@ -666,7 +666,6 @@ class Product extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * Product entity link field * * @var string - * @since 2.1.0 */ private $productEntityLinkField; @@ -674,7 +673,6 @@ class Product extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * Product entity identifier field * * @var string - * @since 2.1.0 */ private $productEntityIdentifierField; @@ -682,7 +680,6 @@ class Product extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * Escaped separator value for regular expression. * The value is based on PSEUDO_MULTI_LINE_SEPARATOR constant. * @var string - * @since 2.1.3 */ private $multiLineSeparatorForRegexp; @@ -690,7 +687,6 @@ class Product extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * Container for filesystem object. * * @var Filesystem - * @since 2.2.0 */ private $filesystem; @@ -698,7 +694,6 @@ class Product extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * Catalog config. * * @var CatalogConfig - * @since 2.2.0 */ private $catalogConfig; @@ -1367,7 +1362,7 @@ protected function _saveProductCategories(array $categoriesData) * @param array $entityRowsIn Row for insert * @param array $entityRowsUp Row for update * @return $this - * @since 2.1.0 + * @since 100.1.0 */ public function saveProductEntity(array $entityRowsIn, array $entityRowsUp) { @@ -1408,7 +1403,6 @@ public function saveProductEntity(array $entityRowsIn, array $entityRowsUp) /** * Return additional data, needed to select. * @return array - * @since 2.1.3 */ private function getOldSkuFieldsForSelect() { @@ -1419,7 +1413,6 @@ private function getOldSkuFieldsForSelect() * Adds newly created products to _oldSku * @param array $newProducts * @return void - * @since 2.1.3 */ private function updateOldSku(array $newProducts) { @@ -1443,7 +1436,6 @@ private function updateOldSku(array $newProducts) * Get new SKU fields for select * * @return array - * @since 2.1.0 */ private function getNewSkuFieldsForSelect() { @@ -1457,7 +1449,7 @@ private function getNewSkuFieldsForSelect() /** * Init media gallery resources * @return void - * @since 2.0.3 + * @since 100.0.4 */ protected function initMediaGalleryResources() { @@ -2058,7 +2050,6 @@ protected function uploadMediaFiles($fileName, $renameFileOff = false) * * @param string $fileName * @return string - * @since 2.2.0 */ private function getSystemFile($fileName) { @@ -2281,7 +2272,6 @@ protected function _saveStockItem() * * @param array $productIdsToReindex * @return void - * @since 2.2.0 */ private function reindexProducts($productIdsToReindex = []) { @@ -2544,7 +2534,6 @@ public function validateRow(array $rowData, $rowNum) /** * @param array $rowData * @return bool - * @since 2.0.8 */ private function isNeedToValidateUrlKey($rowData) { @@ -2559,7 +2548,6 @@ private function isNeedToValidateUrlKey($rowData) * * @param string $sku * @return array - * @since 2.1.0 */ private function prepareNewSkuData($sku) { @@ -2600,7 +2588,6 @@ private function _parseAdditionalAttributes($rowData) * * @param string $additionalAttributes Attributes data that will be parsed * @return array - * @since 2.1.3 */ private function parseAdditionalAttributes($additionalAttributes) { @@ -2621,7 +2608,6 @@ private function parseAdditionalAttributes($additionalAttributes) * @param string $attributesData Attributes data that will be parsed. It keeps data in format: * code=value,code2=value2...,codeN=valueN * @return array - * @since 2.1.3 */ private function parseAttributesWithoutWrappedValues($attributesData) { @@ -2661,7 +2647,6 @@ private function parseAttributesWithoutWrappedValues($attributesData) * E.g. attribute with code 'attr_code' has value 'my"value'. This data should be stored as attr_code="my""value" * * @return array - * @since 2.1.3 */ private function parseAttributesWithWrappedValues($attributesData) { @@ -2686,7 +2671,7 @@ private function parseAttributesWithWrappedValues($attributesData) * @param string $values * @param string $delimiter * @return array - * @since 2.1.3 + * @since 100.1.2 */ public function parseMultiselectValues($values, $delimiter = self::PSEUDO_MULTI_LINE_SEPARATOR) { @@ -2705,7 +2690,6 @@ public function parseMultiselectValues($values, $delimiter = self::PSEUDO_MULTI_ * Retrieves escaped PSEUDO_MULTI_LINE_SEPARATOR if it is metacharacter for regular expression * * @return string - * @since 2.1.3 */ private function getMultiLineSeparatorForRegexp() { @@ -2806,7 +2790,7 @@ protected function _saveValidatedBunches() * Check that url_keys are not assigned to other products in DB * * @return void - * @since 2.0.1 + * @since 100.0.3 */ protected function checkUrlKeyDuplicates() { @@ -2835,7 +2819,7 @@ protected function checkUrlKeyDuplicates() * * @param int $storeId * @return string - * @since 2.0.1 + * @since 100.0.3 */ protected function getProductUrlSuffix($storeId = null) { @@ -2852,7 +2836,7 @@ protected function getProductUrlSuffix($storeId = null) /** * @param array $rowData * @return string - * @since 2.0.1 + * @since 100.0.3 */ protected function getUrlKey($rowData) { @@ -2869,7 +2853,7 @@ protected function getUrlKey($rowData) /** * @return Proxy\Product\ResourceModel - * @since 2.0.1 + * @since 100.0.3 */ protected function getResource() { @@ -2883,7 +2867,6 @@ protected function getResource() * Get product entity link field * * @return string - * @since 2.1.0 */ private function getProductEntityLinkField() { @@ -2899,7 +2882,6 @@ private function getProductEntityLinkField() * Get product entity identifier field * * @return string - * @since 2.1.0 */ private function getProductIdentifierField() { @@ -2916,7 +2898,6 @@ private function getProductIdentifierField() * * @param array $labels * @return void - * @since 2.2.0 */ private function updateMediaGalleryLabels(array $labels) { @@ -2963,7 +2944,6 @@ private function updateMediaGalleryLabels(array $labels) * * @param string $labelRow * @return array - * @since 2.2.0 */ private function parseMultipleValues($labelRow) { @@ -2978,7 +2958,6 @@ private function parseMultipleValues($labelRow) * * @param string $sku * @return bool - * @since 2.2.0 */ private function isSkuExist($sku) { @@ -2991,7 +2970,6 @@ private function isSkuExist($sku) * * @param string $sku * @return array - * @since 2.2.0 */ private function getExistingSku($sku) { diff --git a/app/code/Magento/CatalogImportExport/Model/Import/Product/CategoryProcessor.php b/app/code/Magento/CatalogImportExport/Model/Import/Product/CategoryProcessor.php index 8c55f28a586ec..0183610c65347 100644 --- a/app/code/Magento/CatalogImportExport/Model/Import/Product/CategoryProcessor.php +++ b/app/code/Magento/CatalogImportExport/Model/Import/Product/CategoryProcessor.php @@ -47,7 +47,7 @@ class CategoryProcessor * Failed categories during creation * * @var array - * @since 2.1.0 + * @since 100.1.0 */ protected $failedCategories = []; @@ -184,7 +184,6 @@ public function upsertCategories($categoriesString, $categoriesSeparator) * @param \Magento\Framework\Exception\AlreadyExistsException $exception * * @return $this - * @since 2.1.0 */ private function addFailedCategory($category, $exception) { @@ -200,7 +199,7 @@ private function addFailedCategory($category, $exception) * Return failed categories * * @return array - * @since 2.1.0 + * @since 100.1.0 */ public function getFailedCategories() { @@ -211,7 +210,7 @@ public function getFailedCategories() * Resets failed categories' array * * @return $this - * @since 2.2.0 + * @since 100.2.0 */ public function clearFailedCategories() { @@ -238,7 +237,6 @@ public function getCategoryById($categoryId) * * @param string $string * @return string - * @since 2.2.0 */ private function standardizeString($string) { diff --git a/app/code/Magento/CatalogImportExport/Model/Import/Product/Option.php b/app/code/Magento/CatalogImportExport/Model/Import/Product/Option.php index 22306f727ed4e..1e9ea82eb8ff1 100644 --- a/app/code/Magento/CatalogImportExport/Model/Import/Product/Option.php +++ b/app/code/Magento/CatalogImportExport/Model/Import/Product/Option.php @@ -58,7 +58,6 @@ class Option extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity /** * @var string - * @since 2.1.0 */ private $columnMaxCharacters = '_custom_option_max_characters'; @@ -311,7 +310,6 @@ class Option extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * Product entity link field * * @var string - * @since 2.1.0 */ private $productEntityLinkField; @@ -319,7 +317,6 @@ class Option extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * Product entity identifier field * * @var string - * @since 2.1.0 */ private $productEntityIdentifierField; @@ -1105,7 +1102,6 @@ protected function _getMultiRowFormat($rowData) * @param string $name * @param array $optionRow * @return array - * @since 2.1.0 */ private function processOptionRow($name, $optionRow) { @@ -1147,7 +1143,6 @@ private function processOptionRow($name, $optionRow) * @param array $result * @param array $optionRow * @return array - * @since 2.2.0 */ private function addFileOptions($result, $optionRow) { @@ -1878,7 +1873,6 @@ public function clearProductsSkuToId() * Get product entity link field * * @return string - * @since 2.1.0 */ private function getProductEntityLinkField() { @@ -1894,7 +1888,6 @@ private function getProductEntityLinkField() * Get product entity identifier field * * @return string - * @since 2.1.0 */ private function getProductIdentifierField() { diff --git a/app/code/Magento/CatalogImportExport/Model/Import/Product/SkuProcessor.php b/app/code/Magento/CatalogImportExport/Model/Import/Product/SkuProcessor.php index fb4b790fd5f43..bafcdf10b3b22 100644 --- a/app/code/Magento/CatalogImportExport/Model/Import/Product/SkuProcessor.php +++ b/app/code/Magento/CatalogImportExport/Model/Import/Product/SkuProcessor.php @@ -45,7 +45,6 @@ class SkuProcessor * Product metadata pool * * @var \Magento\Framework\EntityManager\MetadataPool - * @since 2.1.0 */ private $metadataPool; @@ -53,7 +52,6 @@ class SkuProcessor * Product entity link field * * @var string - * @since 2.1.0 */ private $productEntityLinkField; @@ -61,7 +59,6 @@ class SkuProcessor * Product entity identifier field * * @var string - * @since 2.1.0 */ private $productEntityIdentifierField; @@ -179,7 +176,6 @@ protected function _getSkus() * Get product metadata pool * * @return \Magento\Framework\EntityManager\MetadataPool - * @since 2.1.0 */ private function getMetadataPool() { @@ -194,7 +190,6 @@ private function getMetadataPool() * Get product entity link field * * @return string - * @since 2.1.0 */ private function getProductEntityLinkField() { @@ -210,7 +205,6 @@ private function getProductEntityLinkField() * Get product entity identifier field * * @return string - * @since 2.1.0 */ private function getProductIdentifierField() { diff --git a/app/code/Magento/CatalogImportExport/Model/Import/Product/Type/AbstractType.php b/app/code/Magento/CatalogImportExport/Model/Import/Product/Type/AbstractType.php index 900a036a573c2..ae4c09dda4fbf 100644 --- a/app/code/Magento/CatalogImportExport/Model/Import/Product/Type/AbstractType.php +++ b/app/code/Magento/CatalogImportExport/Model/Import/Product/Type/AbstractType.php @@ -134,7 +134,7 @@ abstract class AbstractType * Product metadata pool * * @var \Magento\Framework\EntityManager\MetadataPool - * @since 2.1.0 + * @since 100.1.0 */ protected $metadataPool; @@ -142,7 +142,6 @@ abstract class AbstractType * Product entity link field * * @var string - * @since 2.1.0 */ private $productEntityLinkField; @@ -555,7 +554,7 @@ public function saveData() * Get product metadata pool * * @return \Magento\Framework\EntityManager\MetadataPool - * @since 2.1.0 + * @since 100.1.0 */ protected function getMetadataPool() { @@ -570,7 +569,7 @@ protected function getMetadataPool() * Get product entity link field * * @return string - * @since 2.1.0 + * @since 100.1.0 */ protected function getProductEntityLinkField() { @@ -584,7 +583,7 @@ protected function getProductEntityLinkField() /** * Clean cached values - * @since 2.2.0 + * @since 100.2.0 */ public function __destruct() { diff --git a/app/code/Magento/CatalogImportExport/Model/Import/Product/Validator.php b/app/code/Magento/CatalogImportExport/Model/Import/Product/Validator.php index 3433fab59ed95..6c25ad4110914 100644 --- a/app/code/Magento/CatalogImportExport/Model/Import/Product/Validator.php +++ b/app/code/Magento/CatalogImportExport/Model/Import/Product/Validator.php @@ -42,7 +42,7 @@ class Validator extends AbstractValidator implements RowValidatorInterface /** * @var string|null - * @since 2.1.0 + * @since 100.1.0 */ protected $invalidAttribute; @@ -84,7 +84,6 @@ protected function textValidation($attrCode, $type) * @param array $possibleOptions * @param string $value * @return bool - * @since 2.1.3 */ private function validateOption($attrCode, $possibleOptions, $value) { @@ -241,7 +240,7 @@ public function isAttributeValid($attrCode, array $attrParams, array $rowData) /** * @param string|null $attribute * @return void - * @since 2.1.0 + * @since 100.1.0 */ protected function setInvalidAttribute($attribute) { @@ -250,7 +249,7 @@ protected function setInvalidAttribute($attribute) /** * @return string - * @since 2.1.0 + * @since 100.1.0 */ public function getInvalidAttribute() { diff --git a/app/code/Magento/CatalogImportExport/Model/Import/Product/Validator/Media.php b/app/code/Magento/CatalogImportExport/Model/Import/Product/Validator/Media.php index 19c191ade7920..a6c4f56bb51f0 100644 --- a/app/code/Magento/CatalogImportExport/Model/Import/Product/Validator/Media.php +++ b/app/code/Magento/CatalogImportExport/Model/Import/Product/Validator/Media.php @@ -29,13 +29,11 @@ class Media extends AbstractImportValidator implements RowValidatorInterface * The url validator. Checks if given url is valid. * * @var Validator - * @since 2.2.0 */ private $validator; /** * @param Validator $validator The url validator - * @since 2.2.0 */ public function __construct(Validator $validator = null) { @@ -56,7 +54,7 @@ public function __construct(Validator $validator = null) /** * @param string $string * @return bool - * @deprecated 2.2.0 As this method doesn't give guarantee of correct url validation. + * @deprecated 100.2.0 As this method doesn't give guarantee of correct url validation. * @see \Magento\Framework\Url\Validator::isValid() It provides better url validation. */ protected function checkValidUrl($string) diff --git a/app/code/Magento/CatalogImportExport/Model/Import/Uploader.php b/app/code/Magento/CatalogImportExport/Model/Import/Uploader.php index 03d773aa91aa4..e2d2b8244262a 100644 --- a/app/code/Magento/CatalogImportExport/Model/Import/Uploader.php +++ b/app/code/Magento/CatalogImportExport/Model/Import/Uploader.php @@ -20,7 +20,6 @@ class Uploader extends \Magento\MediaStorage\Model\File\Uploader * HTTP scheme * used to compare against the filename and select the proper DriverPool adapter * @var string - * @since 2.2.0 */ private $httpScheme = 'http://'; diff --git a/app/code/Magento/CatalogInventory/Helper/Minsaleqty.php b/app/code/Magento/CatalogInventory/Helper/Minsaleqty.php index baa1a9e02ab9e..b4f5d8b670fb2 100644 --- a/app/code/Magento/CatalogInventory/Helper/Minsaleqty.php +++ b/app/code/Magento/CatalogInventory/Helper/Minsaleqty.php @@ -35,13 +35,11 @@ class Minsaleqty /** * @var Json - * @since 2.2.0 */ private $serializer; /** * @var array - * @since 2.2.0 */ private $minSaleQtyCache = []; diff --git a/app/code/Magento/CatalogInventory/Helper/Stock.php b/app/code/Magento/CatalogInventory/Helper/Stock.php index faa7e6bc32afc..410e35096ee58 100644 --- a/app/code/Magento/CatalogInventory/Helper/Stock.php +++ b/app/code/Magento/CatalogInventory/Helper/Stock.php @@ -51,7 +51,6 @@ class Stock /** * @var StockConfigurationInterface - * @since 2.1.0 */ private $stockConfiguration; @@ -94,7 +93,7 @@ public function assignStatusToProduct(Product $product, $status = null) * Add stock status information to products * * @param AbstractCollection $productCollection - * @deprecated 2.1.0 Use Stock::addIsInStockFilterToCollection instead + * @deprecated 100.1.0 Use Stock::addIsInStockFilterToCollection instead * @return void */ public function addStockStatusToProducts(AbstractCollection $productCollection) @@ -177,8 +176,7 @@ protected function getStockStatusResource() /** * @return StockConfigurationInterface * - * @deprecated 2.1.0 - * @since 2.1.0 + * @deprecated 100.1.0 */ private function getStockConfiguration() { diff --git a/app/code/Magento/CatalogInventory/Model/AddStockStatusToCollection.php b/app/code/Magento/CatalogInventory/Model/AddStockStatusToCollection.php index abaef96a3a2cd..2c52b49c1a039 100644 --- a/app/code/Magento/CatalogInventory/Model/AddStockStatusToCollection.php +++ b/app/code/Magento/CatalogInventory/Model/AddStockStatusToCollection.php @@ -10,20 +10,17 @@ /** * Catalog inventory module plugin - * @since 2.0.9 */ class AddStockStatusToCollection { /** * @var \Magento\CatalogInventory\Helper\Stock - * @since 2.0.9 */ protected $stockHelper; /** * @param \Magento\CatalogInventory\Model\Configuration $configuration * @param \Magento\CatalogInventory\Helper\Stock $stockHelper - * @since 2.0.9 */ public function __construct( \Magento\CatalogInventory\Helper\Stock $stockHelper @@ -36,7 +33,6 @@ public function __construct( * @param bool $printQuery * @param bool $logQuery * @return array - * @since 2.0.9 */ public function beforeLoad(Collection $productCollection, $printQuery = false, $logQuery = false) { diff --git a/app/code/Magento/CatalogInventory/Model/Configuration.php b/app/code/Magento/CatalogInventory/Model/Configuration.php index 69d1bbf790fb8..06cfde0b7d247 100644 --- a/app/code/Magento/CatalogInventory/Model/Configuration.php +++ b/app/code/Magento/CatalogInventory/Model/Configuration.php @@ -393,7 +393,6 @@ public function getDefaultConfigValue($field, $store = null) /** * @param null|string|bool|int|\Magento\Store\Model\Store $store * @return string|null - * @since 2.2.0 */ public function getStockThresholdQty($store = null) { diff --git a/app/code/Magento/CatalogInventory/Model/Indexer/Stock.php b/app/code/Magento/CatalogInventory/Model/Indexer/Stock.php index cb1bfd851c6b8..418c4bdc367b3 100644 --- a/app/code/Magento/CatalogInventory/Model/Indexer/Stock.php +++ b/app/code/Magento/CatalogInventory/Model/Indexer/Stock.php @@ -30,7 +30,6 @@ class Stock implements \Magento\Framework\Indexer\ActionInterface, \Magento\Fram /** * @var \Magento\Framework\Indexer\CacheContext - * @since 2.0.11 */ private $cacheContext; @@ -106,8 +105,7 @@ public function executeRow($id) * Get cache context * * @return \Magento\Framework\Indexer\CacheContext - * @deprecated 2.0.11 - * @since 2.0.11 + * @deprecated 100.0.7 */ protected function getCacheContext() { diff --git a/app/code/Magento/CatalogInventory/Model/Indexer/Stock/AbstractAction.php b/app/code/Magento/CatalogInventory/Model/Indexer/Stock/AbstractAction.php index 3e1ccba58a39c..1e7c800ea1c38 100644 --- a/app/code/Magento/CatalogInventory/Model/Indexer/Stock/AbstractAction.php +++ b/app/code/Magento/CatalogInventory/Model/Indexer/Stock/AbstractAction.php @@ -67,7 +67,6 @@ abstract class AbstractAction /** * @var CacheCleaner - * @since 2.2.0 */ private $cacheCleaner; @@ -244,7 +243,6 @@ protected function _reindexRows($productIds = []) * * @param array $productIds * @return void - * @since 2.2.0 */ private function doReindex($productIds = []) { @@ -274,7 +272,6 @@ private function doReindex($productIds = []) /** * @return CacheCleaner - * @since 2.2.0 */ private function getCacheCleaner() { diff --git a/app/code/Magento/CatalogInventory/Model/Indexer/Stock/Action/Full.php b/app/code/Magento/CatalogInventory/Model/Indexer/Stock/Action/Full.php index 4ec526c1e20b4..bc10d38173b4d 100644 --- a/app/code/Magento/CatalogInventory/Model/Indexer/Stock/Action/Full.php +++ b/app/code/Magento/CatalogInventory/Model/Indexer/Stock/Action/Full.php @@ -37,31 +37,26 @@ class Full extends AbstractAction /** * @var MetadataPool - * @since 2.2.0 */ private $metadataPool; /** * @var BatchSizeManagementInterface - * @since 2.2.0 */ private $batchSizeManagement; /** * @var BatchProviderInterface - * @since 2.2.0 */ private $batchProvider; /** * @var array - * @since 2.2.0 */ private $batchRowsCount; /** * @var ActiveTableSwitcher - * @since 2.2.0 */ private $activeTableSwitcher; @@ -78,7 +73,6 @@ class Full extends AbstractAction * @param ActiveTableSwitcher|null $activeTableSwitcher * * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.2.0 */ public function __construct( ResourceConnection $resource, @@ -177,7 +171,6 @@ public function execute($ids = null) * * @param array $indexers * @return void - * @since 2.2.0 */ private function cleanIndexersTables(array $indexers) { diff --git a/app/code/Magento/CatalogInventory/Model/Indexer/Stock/CacheCleaner.php b/app/code/Magento/CatalogInventory/Model/Indexer/Stock/CacheCleaner.php index d153d626553e2..a32faa4640a86 100644 --- a/app/code/Magento/CatalogInventory/Model/Indexer/Stock/CacheCleaner.php +++ b/app/code/Magento/CatalogInventory/Model/Indexer/Stock/CacheCleaner.php @@ -18,37 +18,31 @@ /** * Clean product cache only when stock status was updated - * @since 2.2.0 */ class CacheCleaner { /** * @var ResourceConnection - * @since 2.2.0 */ private $resource; /** * @var StockConfigurationInterface - * @since 2.2.0 */ private $stockConfiguration; /** * @var CacheContext - * @since 2.2.0 */ private $cacheContext; /** * @var ManagerInterface - * @since 2.2.0 */ private $eventManager; /** * @var AdapterInterface - * @since 2.2.0 */ private $connection; @@ -57,7 +51,6 @@ class CacheCleaner * @param StockConfigurationInterface $stockConfiguration * @param CacheContext $cacheContext * @param ManagerInterface $eventManager - * @since 2.2.0 */ public function __construct( ResourceConnection $resource, @@ -75,7 +68,6 @@ public function __construct( * @param array $productIds * @param callable $reindex * @return void - * @since 2.2.0 */ public function clean(array $productIds, callable $reindex) { @@ -92,7 +84,6 @@ public function clean(array $productIds, callable $reindex) /** * @param array $productIds * @return array - * @since 2.2.0 */ private function getProductStockStatuses(array $productIds) { @@ -117,7 +108,6 @@ private function getProductStockStatuses(array $productIds) * @param array $productStatusesBefore * @param array $productStatusesAfter * @return array - * @since 2.2.0 */ private function getProductIdsForCacheClean(array $productStatusesBefore, array $productStatusesAfter) { @@ -143,7 +133,6 @@ private function getProductIdsForCacheClean(array $productStatusesBefore, array /** * @return AdapterInterface - * @since 2.2.0 */ private function getConnection() { diff --git a/app/code/Magento/CatalogInventory/Model/Plugin/AfterProductLoad.php b/app/code/Magento/CatalogInventory/Model/Plugin/AfterProductLoad.php index b12e486fb0822..1495037c37471 100644 --- a/app/code/Magento/CatalogInventory/Model/Plugin/AfterProductLoad.php +++ b/app/code/Magento/CatalogInventory/Model/Plugin/AfterProductLoad.php @@ -7,7 +7,7 @@ namespace Magento\CatalogInventory\Model\Plugin; /** - * @deprecated 2.2.0 Stock Item as a part of ExtensionAttributes is deprecated + * @deprecated 100.2.0 Stock Item as a part of ExtensionAttributes is deprecated * @see StockItemInterface when you want to change the stock data * @see StockStatusInterface when you want to read the stock data for representation layer (storefront) * @see StockItemRepositoryInterface::save as extension point for customization of saving process diff --git a/app/code/Magento/CatalogInventory/Model/Plugin/AroundProductRepositorySave.php b/app/code/Magento/CatalogInventory/Model/Plugin/AroundProductRepositorySave.php index 27575fa955232..d8378556ec3c2 100644 --- a/app/code/Magento/CatalogInventory/Model/Plugin/AroundProductRepositorySave.php +++ b/app/code/Magento/CatalogInventory/Model/Plugin/AroundProductRepositorySave.php @@ -13,7 +13,7 @@ /** * Plugin is needed for backward compatibility * - * @deprecated 2.2.0 Stock data should be processed using the module API + * @deprecated 100.2.0 Stock data should be processed using the module API * @see StockItemInterface when you want to change the stock data * @see StockStatusInterface when you want to read the stock data for representation layer (storefront) * @see StockItemRepositoryInterface::save as extension point for customization of saving process @@ -31,7 +31,6 @@ class AroundProductRepositorySave * @throws CouldNotSaveException * * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.2.0 */ public function afterSave( ProductRepositoryInterface $subject, diff --git a/app/code/Magento/CatalogInventory/Model/Plugin/ProductLinks.php b/app/code/Magento/CatalogInventory/Model/Plugin/ProductLinks.php index fc1087c425f16..ca312d6a2e8ce 100644 --- a/app/code/Magento/CatalogInventory/Model/Plugin/ProductLinks.php +++ b/app/code/Magento/CatalogInventory/Model/Plugin/ProductLinks.php @@ -14,19 +14,16 @@ /** * Class \Magento\CatalogInventory\Model\Plugin\ProductLinks * - * @since 2.1.0 */ class ProductLinks { /** * @var Configuration - * @since 2.1.0 */ private $configuration; /** * @var Stock - * @since 2.1.0 */ private $stockHelper; @@ -35,7 +32,6 @@ class ProductLinks * * @param Configuration $configuration * @param Stock $stockHelper - * @since 2.1.0 */ public function __construct(Configuration $configuration, Stock $stockHelper) { @@ -48,7 +44,6 @@ public function __construct(Configuration $configuration, Stock $stockHelper) * @param Collection $collection * @return Collection * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.1.0 */ public function afterGetProductCollection(Link $subject, Collection $collection) { diff --git a/app/code/Magento/CatalogInventory/Model/ProductCollectionStockCondition.php b/app/code/Magento/CatalogInventory/Model/ProductCollectionStockCondition.php index 4e18e9a16a0e6..8de5f9821d143 100644 --- a/app/code/Magento/CatalogInventory/Model/ProductCollectionStockCondition.php +++ b/app/code/Magento/CatalogInventory/Model/ProductCollectionStockCondition.php @@ -14,20 +14,17 @@ * Add stock data to each product in product collection * and filter products by "In Stock" option, if configuration not allow to show * Out of stock Items - * @since 2.2.0 */ class ProductCollectionStockCondition implements CollectionModifierInterface { /** * @var \Magento\CatalogInventory\Helper\Stock - * @since 2.2.0 */ private $stockHelper; /** * ProductCollectionStockCondition constructor. * @param \Magento\CatalogInventory\Helper\Stock $stockHelper - * @since 2.2.0 */ public function __construct(\Magento\CatalogInventory\Helper\Stock $stockHelper) { @@ -36,7 +33,6 @@ public function __construct(\Magento\CatalogInventory\Helper\Stock $stockHelper) /** * @inheritdoc - * @since 2.2.0 */ public function apply(AbstractDb $collection) { diff --git a/app/code/Magento/CatalogInventory/Model/Quote/Item/QuantityValidator.php b/app/code/Magento/CatalogInventory/Model/Quote/Item/QuantityValidator.php index 3667836bdf75c..1f1bfef677358 100644 --- a/app/code/Magento/CatalogInventory/Model/Quote/Item/QuantityValidator.php +++ b/app/code/Magento/CatalogInventory/Model/Quote/Item/QuantityValidator.php @@ -68,7 +68,6 @@ public function __construct( * @param \Magento\Quote\Model\Quote\Item $quoteItem * @param bool $removeError * @return void - * @since 2.2.0 */ private function addErrorInfoToQuote($result, $quoteItem) { diff --git a/app/code/Magento/CatalogInventory/Model/Quote/Item/QuantityValidator/Initializer/QtyProcessor.php b/app/code/Magento/CatalogInventory/Model/Quote/Item/QuantityValidator/Initializer/QtyProcessor.php index 68ab1dcf4510e..6ba35d4d170ea 100644 --- a/app/code/Magento/CatalogInventory/Model/Quote/Item/QuantityValidator/Initializer/QtyProcessor.php +++ b/app/code/Magento/CatalogInventory/Model/Quote/Item/QuantityValidator/Initializer/QtyProcessor.php @@ -9,7 +9,7 @@ use Magento\Quote\Model\Quote\Item; /** - * @deprecated 2.2.0 No more used + * @deprecated 100.2.0 No more used */ class QtyProcessor { @@ -34,7 +34,7 @@ public function __construct(QuoteItemQtyList $quoteItemQtyList) /** * @param Item $quoteItem * @return $this - * @deprecated 2.2.0 No more used + * @deprecated 100.2.0 No more used */ public function setItem(Item $quoteItem) { @@ -45,7 +45,7 @@ public function setItem(Item $quoteItem) /** * @param float $qty * @return float|int - * @deprecated 2.2.0 No more used + * @deprecated 100.2.0 No more used */ public function getRowQty($qty) { @@ -59,7 +59,7 @@ public function getRowQty($qty) /** * @param int $qty * @return int - * @deprecated 2.2.0 No more used + * @deprecated 100.2.0 No more used */ public function getQtyForCheck($qty) { diff --git a/app/code/Magento/CatalogInventory/Model/ResourceModel/Indexer/Stock/DefaultStock.php b/app/code/Magento/CatalogInventory/Model/ResourceModel/Indexer/Stock/DefaultStock.php index 5b4b7c5a8a7dd..5ada34464130b 100644 --- a/app/code/Magento/CatalogInventory/Model/ResourceModel/Indexer/Stock/DefaultStock.php +++ b/app/code/Magento/CatalogInventory/Model/ResourceModel/Indexer/Stock/DefaultStock.php @@ -43,13 +43,12 @@ class DefaultStock extends AbstractIndexer implements StockInterface /** * @var QueryProcessorComposite - * @since 2.1.0 */ private $queryProcessorComposite; /** * @var StockConfigurationInterface - * @since 2.1.0 + * @since 100.1.0 */ protected $stockConfiguration; @@ -57,7 +56,6 @@ class DefaultStock extends AbstractIndexer implements StockInterface * Param for switching logic which depends on action type (full reindex or partial) * * @var string - * @since 2.2.0 */ private $actionType; @@ -133,7 +131,7 @@ public function reindexEntity($entityIds) * Returns action run type * * @return string - * @since 2.2.0 + * @since 100.2.0 */ public function getActionType() { @@ -145,7 +143,7 @@ public function getActionType() * * @param string $type * @return $this - * @since 2.2.0 + * @since 100.2.0 */ public function setActionType($type) { @@ -324,7 +322,6 @@ protected function _updateIndex($entityIds) * @param array $ids * @return void * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.2.0 */ private function deleteOldRecords(array $ids) { @@ -367,7 +364,7 @@ public function getIdxTable($table = null) * @param AdapterInterface $connection * @param bool $isAggregate * @return mixed - * @since 2.1.0 + * @since 100.1.0 */ protected function getStatusExpression(AdapterInterface $connection, $isAggregate = false) { @@ -391,8 +388,8 @@ protected function getStatusExpression(AdapterInterface $connection, $isAggregat /** * @return StockConfigurationInterface * - * @deprecated 2.1.0 - * @since 2.1.0 + * @deprecated 100.1.0 + * @since 100.1.0 */ protected function getStockConfiguration() { @@ -405,7 +402,6 @@ protected function getStockConfiguration() /** * @return QueryProcessorComposite - * @since 2.1.0 */ private function getQueryProcessorComposite() { diff --git a/app/code/Magento/CatalogInventory/Model/ResourceModel/Indexer/Stock/QueryProcessorComposite.php b/app/code/Magento/CatalogInventory/Model/ResourceModel/Indexer/Stock/QueryProcessorComposite.php index 2b7031dd86048..914f72958d0fe 100644 --- a/app/code/Magento/CatalogInventory/Model/ResourceModel/Indexer/Stock/QueryProcessorComposite.php +++ b/app/code/Magento/CatalogInventory/Model/ResourceModel/Indexer/Stock/QueryProcessorComposite.php @@ -9,20 +9,17 @@ /** * Class \Magento\CatalogInventory\Model\ResourceModel\Indexer\Stock\QueryProcessorComposite * - * @since 2.1.0 */ class QueryProcessorComposite implements QueryProcessorInterface { /** * @var array - * @since 2.1.0 */ private $queryProcessors; /** * QueryProcessorPool constructor. * @param QueryProcessorInterface[] $queryProcessors - * @since 2.1.0 */ public function __construct(array $queryProcessors = []) { @@ -34,7 +31,6 @@ public function __construct(array $queryProcessors = []) * @param null|array $entityIds * @param bool $usePrimaryTable * @return \Magento\Framework\DB\Select - * @since 2.1.0 */ public function processQuery(\Magento\Framework\DB\Select $select, $entityIds = null, $usePrimaryTable = false) { diff --git a/app/code/Magento/CatalogInventory/Model/ResourceModel/Indexer/Stock/QueryProcessorInterface.php b/app/code/Magento/CatalogInventory/Model/ResourceModel/Indexer/Stock/QueryProcessorInterface.php index 80ec765a26e21..abe473bd9682b 100644 --- a/app/code/Magento/CatalogInventory/Model/ResourceModel/Indexer/Stock/QueryProcessorInterface.php +++ b/app/code/Magento/CatalogInventory/Model/ResourceModel/Indexer/Stock/QueryProcessorInterface.php @@ -10,7 +10,7 @@ /** * @api - * @since 2.1.0 + * @since 100.1.0 */ interface QueryProcessorInterface { @@ -19,7 +19,7 @@ interface QueryProcessorInterface * @param null|array $entityIds * @param bool $usePrimaryTable * @return Select - * @since 2.1.0 + * @since 100.1.0 */ public function processQuery(Select $select, $entityIds = null, $usePrimaryTable = false); } diff --git a/app/code/Magento/CatalogInventory/Model/ResourceModel/Product/StockStatusBaseSelectProcessor.php b/app/code/Magento/CatalogInventory/Model/ResourceModel/Product/StockStatusBaseSelectProcessor.php index 52bffc92cdc1f..9f89d380a8f96 100644 --- a/app/code/Magento/CatalogInventory/Model/ResourceModel/Product/StockStatusBaseSelectProcessor.php +++ b/app/code/Magento/CatalogInventory/Model/ResourceModel/Product/StockStatusBaseSelectProcessor.php @@ -14,26 +14,22 @@ /** * Class StockStatusBaseSelectProcessor - * @since 2.1.3 */ class StockStatusBaseSelectProcessor implements BaseSelectProcessorInterface { /** * @var ResourceConnection - * @since 2.1.3 */ private $resource; /** * @var \Magento\CatalogInventory\Api\StockConfigurationInterface - * @since 2.2.0 */ private $stockConfig; /** * @param ResourceConnection $resource * @param \Magento\CatalogInventory\Api\StockConfigurationInterface|null $stockConfig - * @since 2.1.3 */ public function __construct( ResourceConnection $resource, @@ -49,7 +45,6 @@ public function __construct( * * @param Select $select * @return Select - * @since 2.1.3 */ public function process(Select $select) { diff --git a/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock.php b/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock.php index 62ce1d9086498..9223fd32e3567 100644 --- a/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock.php +++ b/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock.php @@ -75,7 +75,7 @@ class Stock extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb impleme /** * @var StoreManagerInterface - * @deprecated 2.1.0 + * @deprecated 100.1.0 */ protected $storeManager; diff --git a/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/Item/StockItemCriteriaMapper.php b/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/Item/StockItemCriteriaMapper.php index 5d6abfc5c1b75..21b6dfefeb1f5 100644 --- a/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/Item/StockItemCriteriaMapper.php +++ b/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/Item/StockItemCriteriaMapper.php @@ -24,14 +24,12 @@ class StockItemCriteriaMapper extends GenericMapper { /** * @var StockConfigurationInterface - * @since 2.1.0 */ private $stockConfiguration; /** * @var StoreManagerInterface - * @deprecated 2.1.0 - * @since 2.1.0 + * @deprecated 100.1.0 */ private $storeManager; @@ -169,8 +167,7 @@ public function mapQtyFilter($comparisonMethod, $qty) /** * @return StockConfigurationInterface * - * @deprecated 2.1.0 - * @since 2.1.0 + * @deprecated 100.1.0 */ private function getStockConfiguration() { diff --git a/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/Status.php b/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/Status.php index 76baac07de919..e9f3cd59af0bb 100644 --- a/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/Status.php +++ b/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/Status.php @@ -19,7 +19,7 @@ class Status extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * Store model manager * * @var \Magento\Store\Model\StoreManagerInterface - * @deprecated 2.1.0 + * @deprecated 100.1.0 */ protected $_storeManager; @@ -37,7 +37,6 @@ class Status extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb /** * @var StockConfigurationInterface - * @since 2.1.0 */ private $stockConfiguration; @@ -219,7 +218,6 @@ public function addStockStatusToSelect(\Magento\Framework\DB\Select $select, \Ma * @param \Magento\Catalog\Model\ResourceModel\Product\Collection $collection * @param bool $isFilterInStock * @return \Magento\Catalog\Model\ResourceModel\Product\Collection $collection - * @since 2.0.9 */ public function addStockDataToCollection($collection, $isFilterInStock) { @@ -341,8 +339,7 @@ public function getProductStatus($productIds, $storeId = null) /** * @return StockConfigurationInterface * - * @deprecated 2.1.0 - * @since 2.1.0 + * @deprecated 100.1.0 */ private function getStockConfiguration() { diff --git a/app/code/Magento/CatalogInventory/Model/Source/StockConfiguration.php b/app/code/Magento/CatalogInventory/Model/Source/StockConfiguration.php index e23762ac48025..b5ce04ffde2af 100644 --- a/app/code/Magento/CatalogInventory/Model/Source/StockConfiguration.php +++ b/app/code/Magento/CatalogInventory/Model/Source/StockConfiguration.php @@ -10,19 +10,16 @@ /** * Class StockConfiguration - * @since 2.1.0 */ class StockConfiguration implements ValueSourceInterface { /** * @var StockConfigurationInterface - * @since 2.1.0 */ protected $stockConfiguration; /** * @param StockConfigurationInterface $stockConfiguration - * @since 2.1.0 */ public function __construct(StockConfigurationInterface $stockConfiguration) { @@ -31,7 +28,6 @@ public function __construct(StockConfigurationInterface $stockConfiguration) /** * {@inheritdoc} - * @since 2.1.0 */ public function getValue($name) { diff --git a/app/code/Magento/CatalogInventory/Model/Stock.php b/app/code/Magento/CatalogInventory/Model/Stock.php index f36d49f632fa1..d4568429e3a52 100644 --- a/app/code/Magento/CatalogInventory/Model/Stock.php +++ b/app/code/Magento/CatalogInventory/Model/Stock.php @@ -23,7 +23,6 @@ class Stock extends AbstractExtensibleModel implements StockInterface * Prefix of model events names * * @var string - * @since 2.2.0 */ protected $_eventPrefix = 'cataloginventory_stock'; @@ -32,7 +31,6 @@ class Stock extends AbstractExtensibleModel implements StockInterface * In observe method you can use $observer->getEvent()->getStock() in this case * * @var string - * @since 2.2.0 */ protected $_eventObject = 'stock'; diff --git a/app/code/Magento/CatalogInventory/Model/Stock/Item.php b/app/code/Magento/CatalogInventory/Model/Stock/Item.php index 15200cf453d43..b4b70041ce148 100644 --- a/app/code/Magento/CatalogInventory/Model/Stock/Item.php +++ b/app/code/Magento/CatalogInventory/Model/Stock/Item.php @@ -31,7 +31,6 @@ class Item extends AbstractExtensibleModel implements StockItemInterface * Prefix of model events names * * @var string - * @since 2.2.0 */ protected $_eventPrefix = 'cataloginventory_stock_item'; @@ -43,7 +42,6 @@ class Item extends AbstractExtensibleModel implements StockItemInterface * In observe method you can use $observer->getEvent()->getItem() in this case * * @var string - * @since 2.2.0 */ protected $_eventObject = 'item'; diff --git a/app/code/Magento/CatalogInventory/Model/Stock/StockItemRepository.php b/app/code/Magento/CatalogInventory/Model/Stock/StockItemRepository.php index 3492a5ed2fcff..04e15cf07c2ce 100644 --- a/app/code/Magento/CatalogInventory/Model/Stock/StockItemRepository.php +++ b/app/code/Magento/CatalogInventory/Model/Stock/StockItemRepository.php @@ -87,13 +87,11 @@ class StockItemRepository implements StockItemRepositoryInterface /** * @var StockRegistryStorage - * @since 2.1.0 */ protected $stockRegistryStorage; /** * @var \Magento\Catalog\Model\ResourceModel\Product\CollectionFactory - * @since 2.1.3 */ protected $productCollectionFactory; @@ -254,7 +252,6 @@ public function deleteById($id) /** * @return StockRegistryStorage - * @since 2.1.0 */ private function getStockRegistryStorage() { diff --git a/app/code/Magento/CatalogInventory/Model/Stock/StockRepository.php b/app/code/Magento/CatalogInventory/Model/Stock/StockRepository.php index 84e4be91c42fb..0e7add8a95181 100644 --- a/app/code/Magento/CatalogInventory/Model/Stock/StockRepository.php +++ b/app/code/Magento/CatalogInventory/Model/Stock/StockRepository.php @@ -50,7 +50,6 @@ class StockRepository implements StockRepositoryInterface /** * @var StockRegistryStorage - * @since 2.1.0 */ protected $stockRegistryStorage; @@ -159,7 +158,6 @@ public function deleteById($id) /** * @return StockRegistryStorage - * @since 2.1.0 */ private function getStockRegistryStorage() { diff --git a/app/code/Magento/CatalogInventory/Model/Stock/StockStatusRepository.php b/app/code/Magento/CatalogInventory/Model/Stock/StockStatusRepository.php index 09aaefd36cd7c..3dfc4c49a5d63 100644 --- a/app/code/Magento/CatalogInventory/Model/Stock/StockStatusRepository.php +++ b/app/code/Magento/CatalogInventory/Model/Stock/StockStatusRepository.php @@ -48,7 +48,6 @@ class StockStatusRepository implements StockStatusRepositoryInterface /** * @var StockRegistryStorage - * @since 2.1.0 */ protected $stockRegistryStorage; @@ -153,7 +152,6 @@ public function deleteById($id) /** * @return StockRegistryStorage - * @since 2.1.0 */ private function getStockRegistryStorage() { diff --git a/app/code/Magento/CatalogInventory/Model/StockIndex.php b/app/code/Magento/CatalogInventory/Model/StockIndex.php index d930925022738..6081ef20efd64 100644 --- a/app/code/Magento/CatalogInventory/Model/StockIndex.php +++ b/app/code/Magento/CatalogInventory/Model/StockIndex.php @@ -78,7 +78,7 @@ public function __construct( * * @param int $productId * @param int $scopeId - * @deprecated 2.1.0 + * @deprecated 100.1.0 * @return true * @SuppressWarnings(PHPMD.UnusedLocalVariable) */ @@ -109,7 +109,7 @@ public function rebuild($productId = null, $scopeId = null) * * @param int $productId * @param int $websiteId - * @deprecated 2.1.0 + * @deprecated 100.1.0 * @return void */ public function updateProductStockStatus($productId, $websiteId) diff --git a/app/code/Magento/CatalogInventory/Model/StockItemValidator.php b/app/code/Magento/CatalogInventory/Model/StockItemValidator.php index 5d02226cbeb13..2cc4832159d55 100644 --- a/app/code/Magento/CatalogInventory/Model/StockItemValidator.php +++ b/app/code/Magento/CatalogInventory/Model/StockItemValidator.php @@ -13,26 +13,22 @@ /** * StockItemValidator - * @since 2.2.0 */ class StockItemValidator { /** * @var StockConfigurationInterface - * @since 2.2.0 */ private $stockConfiguration; /** * @var StockRegistryInterface - * @since 2.2.0 */ private $stockRegistry; /** * @param StockConfigurationInterface $stockConfiguration * @param StockRegistryInterface $stockRegistry - * @since 2.2.0 */ public function __construct( StockConfigurationInterface $stockConfiguration, @@ -49,7 +45,6 @@ public function __construct( * @param StockItemInterface $stockItem * @throws LocalizedException * @return void - * @since 2.2.0 */ public function validate(ProductInterface $product, StockItemInterface $stockItem) { diff --git a/app/code/Magento/CatalogInventory/Model/StockRegistryProvider.php b/app/code/Magento/CatalogInventory/Model/StockRegistryProvider.php index 80d28adbb1a64..8bdc4288445c1 100644 --- a/app/code/Magento/CatalogInventory/Model/StockRegistryProvider.php +++ b/app/code/Magento/CatalogInventory/Model/StockRegistryProvider.php @@ -70,7 +70,6 @@ class StockRegistryProvider implements StockRegistryProviderInterface /** * @var StockRegistryStorage - * @since 2.1.0 */ protected $stockRegistryStorage; @@ -176,7 +175,6 @@ public function getStockStatus($productId, $scopeId) /** * @return StockRegistryStorage - * @since 2.1.0 */ private function getStockRegistryStorage() { diff --git a/app/code/Magento/CatalogInventory/Model/StockRegistryStorage.php b/app/code/Magento/CatalogInventory/Model/StockRegistryStorage.php index a6e9ff9526275..af417954a8412 100644 --- a/app/code/Magento/CatalogInventory/Model/StockRegistryStorage.php +++ b/app/code/Magento/CatalogInventory/Model/StockRegistryStorage.php @@ -11,32 +11,27 @@ /** * Class StockRegistryStorage - * @since 2.1.0 */ class StockRegistryStorage { /** * @var array - * @since 2.1.0 */ protected $stocks = []; /** * @var array - * @since 2.1.0 */ private $stockItems = []; /** * @var array - * @since 2.1.0 */ private $stockStatuses = []; /** * @param int $scopeId * @return StockInterface - * @since 2.1.0 */ public function getStock($scopeId) { @@ -47,7 +42,6 @@ public function getStock($scopeId) * @param int $scopeId * @param StockInterface $value * @return void - * @since 2.1.0 */ public function setStock($scopeId, StockInterface $value) { @@ -57,7 +51,6 @@ public function setStock($scopeId, StockInterface $value) /** * @param int|null $scopeId * @return void - * @since 2.1.0 */ public function removeStock($scopeId = null) { @@ -72,7 +65,6 @@ public function removeStock($scopeId = null) * @param int $productId * @param int $scopeId * @return StockItemInterface - * @since 2.1.0 */ public function getStockItem($productId, $scopeId) { @@ -84,7 +76,6 @@ public function getStockItem($productId, $scopeId) * @param int $scopeId * @param StockItemInterface $value * @return void - * @since 2.1.0 */ public function setStockItem($productId, $scopeId, StockItemInterface $value) { @@ -95,7 +86,6 @@ public function setStockItem($productId, $scopeId, StockItemInterface $value) * @param int $productId * @param int|null $scopeId * @return void - * @since 2.1.0 */ public function removeStockItem($productId, $scopeId = null) { @@ -110,7 +100,6 @@ public function removeStockItem($productId, $scopeId = null) * @param int $productId * @param int $scopeId * @return StockStatusInterface - * @since 2.1.0 */ public function getStockStatus($productId, $scopeId) { @@ -122,7 +111,6 @@ public function getStockStatus($productId, $scopeId) * @param int $scopeId * @param StockStatusInterface $value * @return void - * @since 2.1.0 */ public function setStockStatus($productId, $scopeId, StockStatusInterface $value) { @@ -133,7 +121,6 @@ public function setStockStatus($productId, $scopeId, StockStatusInterface $value * @param int $productId * @param int|null $scopeId * @return void - * @since 2.1.0 */ public function removeStockStatus($productId, $scopeId = null) { diff --git a/app/code/Magento/CatalogInventory/Observer/ProcessInventoryDataObserver.php b/app/code/Magento/CatalogInventory/Observer/ProcessInventoryDataObserver.php index 03aa80eb1a48a..e473f714bd21d 100644 --- a/app/code/Magento/CatalogInventory/Observer/ProcessInventoryDataObserver.php +++ b/app/code/Magento/CatalogInventory/Observer/ProcessInventoryDataObserver.php @@ -15,11 +15,10 @@ * This observer prepares stock data for saving by combining stock data from the stock data property * and quantity_and_stock_status attribute and setting it to the single point represented by stock data property. * - * @deprecated 2.2.0 Stock data should be processed using the module API + * @deprecated 100.2.0 Stock data should be processed using the module API * @see StockItemInterface when you want to change the stock data * @see StockStatusInterface when you want to read the stock data for representation layer (storefront) * @see StockItemRepositoryInterface::save as extension point for customization of saving process - * @since 2.2.0 */ class ProcessInventoryDataObserver implements ObserverInterface { @@ -27,7 +26,6 @@ class ProcessInventoryDataObserver implements ObserverInterface * Stock Registry * * @var \Magento\CatalogInventory\Api\StockRegistryInterface - * @since 2.2.0 */ private $stockRegistry; @@ -35,7 +33,6 @@ class ProcessInventoryDataObserver implements ObserverInterface * Construct * * @param \Magento\CatalogInventory\Api\StockRegistryInterface $stockRegistry - * @since 2.2.0 */ public function __construct( \Magento\CatalogInventory\Api\StockRegistryInterface $stockRegistry @@ -48,7 +45,6 @@ public function __construct( * * @param EventObserver $observer * @return void - * @since 2.2.0 */ public function execute(EventObserver $observer) { @@ -64,7 +60,6 @@ public function execute(EventObserver $observer) * * @param Product $product * @return void - * @since 2.2.0 */ private function processStockData(Product $product) { @@ -91,7 +86,6 @@ private function processStockData(Product $product) * @param StockItemInterface $stockItem * @param array $quantityAndStockStatus * @return array - * @since 2.2.0 */ private function prepareQuantityAndStockStatus(StockItemInterface $stockItem, array $quantityAndStockStatus) { @@ -126,7 +120,6 @@ private function prepareQuantityAndStockStatus(StockItemInterface $stockItem, ar * @param Item $stockItem * @param array $quantityAndStockStatus * @return void - * @since 2.2.0 */ private function setStockDataToProduct(Product $product, Item $stockItem, array $quantityAndStockStatus) { diff --git a/app/code/Magento/CatalogInventory/Observer/SaveInventoryDataObserver.php b/app/code/Magento/CatalogInventory/Observer/SaveInventoryDataObserver.php index 16e1f6b76a088..03ba58d3f4987 100644 --- a/app/code/Magento/CatalogInventory/Observer/SaveInventoryDataObserver.php +++ b/app/code/Magento/CatalogInventory/Observer/SaveInventoryDataObserver.php @@ -17,7 +17,7 @@ /** * Saves stock data from a product to the Stock Item * - * @deprecated 2.2.0 Stock data should be processed using the module API + * @deprecated 100.2.0 Stock data should be processed using the module API * @see StockItemInterface when you want to change the stock data * @see StockStatusInterface when you want to read the stock data for representation layer (storefront) * @see StockItemRepositoryInterface::save as extension point for customization of saving process @@ -36,7 +36,6 @@ class SaveInventoryDataObserver implements ObserverInterface /** * @var StockItemValidator - * @since 2.2.0 */ private $stockItemValidator; @@ -116,7 +115,6 @@ public function execute(EventObserver $observer) * * @param Product $product * @return Item - * @since 2.2.0 */ private function getStockItemToBeUpdated(Product $product) { @@ -134,7 +132,6 @@ private function getStockItemToBeUpdated(Product $product) * * @param Product $product * @return array - * @since 2.2.0 */ private function getStockData(Product $product) { diff --git a/app/code/Magento/CatalogInventory/Setup/Recurring.php b/app/code/Magento/CatalogInventory/Setup/Recurring.php index cc95474a28e5e..44d4f447502b5 100644 --- a/app/code/Magento/CatalogInventory/Setup/Recurring.php +++ b/app/code/Magento/CatalogInventory/Setup/Recurring.php @@ -14,26 +14,22 @@ /** * @codeCoverageIgnore - * @since 2.1.0 */ class Recurring implements InstallSchemaInterface { /** * @var MetadataPool - * @since 2.1.0 */ protected $metadataPool; /** * @var ExternalFKSetup - * @since 2.1.0 */ protected $externalFKSetup; /** * @param MetadataPool $metadataPool * @param ExternalFKSetup $externalFKSetup - * @since 2.1.0 */ public function __construct( MetadataPool $metadataPool, @@ -45,7 +41,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.1.0 */ public function install(SchemaSetupInterface $setup, ModuleContextInterface $context) { @@ -63,7 +58,6 @@ public function install(SchemaSetupInterface $setup, ModuleContextInterface $con * @param SchemaSetupInterface $installer * @return void * @throws \Exception - * @since 2.1.0 */ protected function addExternalForeignKeys(SchemaSetupInterface $installer) { diff --git a/app/code/Magento/CatalogInventory/Setup/UpgradeData.php b/app/code/Magento/CatalogInventory/Setup/UpgradeData.php index d2d84eb0a18c0..8c99861308ba1 100644 --- a/app/code/Magento/CatalogInventory/Setup/UpgradeData.php +++ b/app/code/Magento/CatalogInventory/Setup/UpgradeData.php @@ -18,37 +18,31 @@ /** * Upgrade Data script * @codeCoverageIgnore - * @since 2.1.3 */ class UpgradeData implements UpgradeDataInterface { /** * @var StockConfigurationInterface - * @since 2.1.3 */ private $configuration; /** * @var AbstractProcessor - * @since 2.1.3 */ private $indexerProcessor; /** * @var StoreManagerInterface - * @since 2.1.3 */ private $storeManager; /** * @var FieldDataConverterFactory - * @since 2.2.0 */ private $fieldDataConverterFactory; /** * @var QueryModifierFactory - * @since 2.2.0 */ private $queryModifierFactory; @@ -58,7 +52,6 @@ class UpgradeData implements UpgradeDataInterface * @param AbstractProcessor $indexerProcessor * @param FieldDataConverterFactory $fieldDataConverterFactory * @param QueryModifierFactory $queryModifierFactory - * @since 2.1.3 */ public function __construct( StockConfigurationInterface $configuration, @@ -76,7 +69,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.1.3 */ public function upgrade(ModuleDataSetupInterface $setup, ModuleContextInterface $context) { @@ -94,7 +86,6 @@ public function upgrade(ModuleDataSetupInterface $setup, ModuleContextInterface /** * @param ModuleDataSetupInterface $setup * @return void - * @since 2.1.3 */ private function upgradeCatalogInventoryStockItem($setup) { @@ -113,7 +104,6 @@ private function upgradeCatalogInventoryStockItem($setup) * * @param ModuleDataSetupInterface $setup * @return void - * @since 2.2.0 */ private function convertSerializedDataToJson(ModuleDataSetupInterface $setup) { @@ -154,7 +144,6 @@ private function convertSerializedDataToJson(ModuleDataSetupInterface $setup) * * @param string $value * @return boolean - * @since 2.2.0 */ private function isSerialized($value) { diff --git a/app/code/Magento/CatalogInventory/Setup/UpgradeSchema.php b/app/code/Magento/CatalogInventory/Setup/UpgradeSchema.php index ee75b5e3a4327..87212c4cfbc72 100644 --- a/app/code/Magento/CatalogInventory/Setup/UpgradeSchema.php +++ b/app/code/Magento/CatalogInventory/Setup/UpgradeSchema.php @@ -14,19 +14,16 @@ /** * Class \Magento\CatalogInventory\Setup\UpgradeSchema * - * @since 2.2.0 */ class UpgradeSchema implements UpgradeSchemaInterface { /** * @var string - * @since 2.2.0 */ private $productCompositeKeyVersion = '2.2.0'; /** * {@inheritdoc} - * @since 2.2.0 */ public function upgrade(SchemaSetupInterface $setup, ModuleContextInterface $context) { @@ -47,7 +44,6 @@ public function upgrade(SchemaSetupInterface $setup, ModuleContextInterface $con /** * @param SchemaSetupInterface $setup * @return void - * @since 2.2.0 */ private function upgradeProductCompositeKey(SchemaSetupInterface $setup) { @@ -89,7 +85,6 @@ private function upgradeProductCompositeKey(SchemaSetupInterface $setup) * @param SchemaSetupInterface $setup * @param array $keys * @return void - * @since 2.2.0 */ private function dropForeignKeys(SchemaSetupInterface $setup, array $keys) { @@ -102,7 +97,6 @@ private function dropForeignKeys(SchemaSetupInterface $setup, array $keys) * @param SchemaSetupInterface $setup * @param array $keys * @return void - * @since 2.2.0 */ private function createForeignKeys(SchemaSetupInterface $setup, array $keys) { @@ -122,7 +116,6 @@ private function createForeignKeys(SchemaSetupInterface $setup, array $keys) * @param SchemaSetupInterface $setup * @param array $compositeKeys * @return array - * @since 2.2.0 */ private function getForeignKeys(SchemaSetupInterface $setup, array $compositeKeys) { @@ -142,7 +135,6 @@ private function getForeignKeys(SchemaSetupInterface $setup, array $compositeKey * * @param SchemaSetupInterface $setup * @return void - * @since 2.2.0 */ private function addCatalogInventoryStockStatusIndexOnStockStatus(SchemaSetupInterface $setup) { @@ -166,7 +158,6 @@ private function addCatalogInventoryStockStatusIndexOnStockStatus(SchemaSetupInt * @param string $existingTable * @param string $replicaTable * @return void - * @since 2.2.0 */ private function addReplicaTable(SchemaSetupInterface $setup, $existingTable, $replicaTable) { diff --git a/app/code/Magento/CatalogInventory/Ui/Component/Product/Form/Element/UseConfigSettings.php b/app/code/Magento/CatalogInventory/Ui/Component/Product/Form/Element/UseConfigSettings.php index 80aac259f162d..67b5699c17bd6 100644 --- a/app/code/Magento/CatalogInventory/Ui/Component/Product/Form/Element/UseConfigSettings.php +++ b/app/code/Magento/CatalogInventory/Ui/Component/Product/Form/Element/UseConfigSettings.php @@ -14,19 +14,16 @@ /** * Class UseConfigSettings sets default value from configuration - * @since 2.1.0 */ class UseConfigSettings extends Checkbox { /** * @var Json - * @since 2.2.0 */ private $serializer; /** * @var JsonValidator - * @since 2.2.0 */ private $jsonValidator; @@ -38,7 +35,6 @@ class UseConfigSettings extends Checkbox * @param array $data * @param Json|null $serializer * @param JsonValidator|null $jsonValidator - * @since 2.2.0 */ public function __construct( ContextInterface $context, @@ -56,7 +52,6 @@ public function __construct( * Prepare component configuration * * @return void - * @since 2.1.0 */ public function prepare() { diff --git a/app/code/Magento/CatalogInventory/Ui/DataProvider/Product/Form/Modifier/AdvancedInventory.php b/app/code/Magento/CatalogInventory/Ui/DataProvider/Product/Form/Modifier/AdvancedInventory.php index f48bad3b10a6c..c5d18ea727534 100644 --- a/app/code/Magento/CatalogInventory/Ui/DataProvider/Product/Form/Modifier/AdvancedInventory.php +++ b/app/code/Magento/CatalogInventory/Ui/DataProvider/Product/Form/Modifier/AdvancedInventory.php @@ -18,7 +18,6 @@ /** * Data provider for advanced inventory form - * @since 2.1.0 */ class AdvancedInventory extends AbstractModifier { @@ -26,43 +25,36 @@ class AdvancedInventory extends AbstractModifier /** * @var LocatorInterface - * @since 2.1.0 */ private $locator; /** * @var StockRegistryInterface - * @since 2.1.0 */ private $stockRegistry; /** * @var ArrayManager - * @since 2.1.0 */ private $arrayManager; /** * @var StockConfigurationInterface - * @since 2.1.0 */ private $stockConfiguration; /** * @var array - * @since 2.1.0 */ private $meta = []; /** * @var Json - * @since 2.2.0 */ private $serializer; /** * @var JsonValidator - * @since 2.2.0 */ private $jsonValidator; @@ -75,7 +67,6 @@ class AdvancedInventory extends AbstractModifier * @param StockConfigurationInterface $stockConfiguration * @param Json|null $serializer * @param JsonValidator|null $jsonValidator - * @since 2.1.0 */ public function __construct( LocatorInterface $locator, @@ -95,7 +86,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.1.0 */ public function modifyData(array $data) { @@ -151,7 +141,6 @@ function ($group, $qty) { * * @param StockItemInterface $stockItem * @return array - * @since 2.1.0 */ private function getData(StockItemInterface $stockItem) { @@ -175,7 +164,6 @@ private function getData(StockItemInterface $stockItem) /** * {@inheritdoc} - * @since 2.1.0 */ public function modifyMeta(array $meta) { @@ -188,7 +176,6 @@ public function modifyMeta(array $meta) /** * @return void - * @since 2.1.0 */ private function prepareMeta() { diff --git a/app/code/Magento/CatalogRule/Api/CatalogRuleRepositoryInterface.php b/app/code/Magento/CatalogRule/Api/CatalogRuleRepositoryInterface.php index 854867d6d1463..9a2b702e8c02c 100644 --- a/app/code/Magento/CatalogRule/Api/CatalogRuleRepositoryInterface.php +++ b/app/code/Magento/CatalogRule/Api/CatalogRuleRepositoryInterface.php @@ -8,7 +8,7 @@ /** * Interface CatalogRuleRepositoryInterface * @api - * @since 2.1.0 + * @since 100.1.0 */ interface CatalogRuleRepositoryInterface { @@ -16,7 +16,7 @@ interface CatalogRuleRepositoryInterface * @param \Magento\CatalogRule\Api\Data\RuleInterface $rule * @return \Magento\CatalogRule\Api\Data\RuleInterface * @throws \Magento\Framework\Exception\CouldNotSaveException - * @since 2.1.0 + * @since 100.1.0 */ public function save(\Magento\CatalogRule\Api\Data\RuleInterface $rule); @@ -24,7 +24,7 @@ public function save(\Magento\CatalogRule\Api\Data\RuleInterface $rule); * @param int $ruleId * @return \Magento\CatalogRule\Api\Data\RuleInterface * @throws \Magento\Framework\Exception\NoSuchEntityException - * @since 2.1.0 + * @since 100.1.0 */ public function get($ruleId); @@ -32,7 +32,7 @@ public function get($ruleId); * @param \Magento\CatalogRule\Api\Data\RuleInterface $rule * @return bool * @throws \Magento\Framework\Exception\CouldNotDeleteException - * @since 2.1.0 + * @since 100.1.0 */ public function delete(\Magento\CatalogRule\Api\Data\RuleInterface $rule); @@ -40,7 +40,7 @@ public function delete(\Magento\CatalogRule\Api\Data\RuleInterface $rule); * @param int $ruleId * @return bool * @throws \Magento\Framework\Exception\CouldNotDeleteException - * @since 2.1.0 + * @since 100.1.0 */ public function deleteById($ruleId); } diff --git a/app/code/Magento/CatalogRule/Api/Data/ConditionInterface.php b/app/code/Magento/CatalogRule/Api/Data/ConditionInterface.php index bc66687d80a29..bf476a3049914 100644 --- a/app/code/Magento/CatalogRule/Api/Data/ConditionInterface.php +++ b/app/code/Magento/CatalogRule/Api/Data/ConditionInterface.php @@ -7,7 +7,7 @@ /** * @api - * @since 2.1.0 + * @since 100.1.0 */ interface ConditionInterface extends \Magento\Framework\Api\CustomAttributesDataInterface { @@ -32,92 +32,92 @@ interface ConditionInterface extends \Magento\Framework\Api\CustomAttributesData /** * @param string $type * @return $this - * @since 2.1.0 + * @since 100.1.0 */ public function setType($type); /** * @return string - * @since 2.1.0 + * @since 100.1.0 */ public function getType(); /** * @param string $attribute * @return $this - * @since 2.1.0 + * @since 100.1.0 */ public function setAttribute($attribute); /** * @return string - * @since 2.1.0 + * @since 100.1.0 */ public function getAttribute(); /** * @param string $operator * @return $this - * @since 2.1.0 + * @since 100.1.0 */ public function setOperator($operator); /** * @return string - * @since 2.1.0 + * @since 100.1.0 */ public function getOperator(); /** * @param string $value * @return $this - * @since 2.1.0 + * @since 100.1.0 */ public function setValue($value); /** * @return string - * @since 2.1.0 + * @since 100.1.0 */ public function getValue(); /** * @param bool $isValueParsed * @return $this - * @since 2.1.0 + * @since 100.1.0 */ public function setIsValueParsed($isValueParsed); /** * @return bool|null * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.1.0 + * @since 100.1.0 */ public function getIsValueParsed(); /** * @param string $aggregator * @return $this - * @since 2.1.0 + * @since 100.1.0 */ public function setAggregator($aggregator); /** * @return string - * @since 2.1.0 + * @since 100.1.0 */ public function getAggregator(); /** * @param \Magento\CatalogRule\Api\Data\ConditionInterface[] $conditions * @return $this - * @since 2.1.0 + * @since 100.1.0 */ public function setConditions($conditions); /** * @return \Magento\CatalogRule\Api\Data\ConditionInterface[]|null - * @since 2.1.0 + * @since 100.1.0 */ public function getConditions(); @@ -125,7 +125,7 @@ public function getConditions(); * Retrieve existing extension attributes object or create a new one. * * @return \Magento\CatalogRule\Api\Data\ConditionExtensionInterface|null - * @since 2.1.0 + * @since 100.1.0 */ public function getExtensionAttributes(); @@ -134,7 +134,7 @@ public function getExtensionAttributes(); * * @param \Magento\CatalogRule\Api\Data\ConditionExtensionInterface $extensionAttributes * @return $this - * @since 2.1.0 + * @since 100.1.0 */ public function setExtensionAttributes( \Magento\CatalogRule\Api\Data\ConditionExtensionInterface $extensionAttributes diff --git a/app/code/Magento/CatalogRule/Api/Data/RuleInterface.php b/app/code/Magento/CatalogRule/Api/Data/RuleInterface.php index e5e30a6ce8b8b..723cce82b1cac 100644 --- a/app/code/Magento/CatalogRule/Api/Data/RuleInterface.php +++ b/app/code/Magento/CatalogRule/Api/Data/RuleInterface.php @@ -7,7 +7,7 @@ /** * @api - * @since 2.1.0 + * @since 100.1.0 */ interface RuleInterface extends \Magento\Framework\Api\CustomAttributesDataInterface { @@ -36,14 +36,14 @@ interface RuleInterface extends \Magento\Framework\Api\CustomAttributesDataInter * Returns rule id field * * @return int|null - * @since 2.1.0 + * @since 100.1.0 */ public function getRuleId(); /** * @param int $ruleId * @return $this - * @since 2.1.0 + * @since 100.1.0 */ public function setRuleId($ruleId); @@ -51,14 +51,14 @@ public function setRuleId($ruleId); * Returns rule name * * @return string - * @since 2.1.0 + * @since 100.1.0 */ public function getName(); /** * @param string $name * @return $this - * @since 2.1.0 + * @since 100.1.0 */ public function setName($name); @@ -66,14 +66,14 @@ public function setName($name); * Returns rule description * * @return string|null - * @since 2.1.0 + * @since 100.1.0 */ public function getDescription(); /** * @param string $description * @return $this - * @since 2.1.0 + * @since 100.1.0 */ public function setDescription($description); @@ -81,14 +81,14 @@ public function setDescription($description); * Returns rule activity flag * * @return int - * @since 2.1.0 + * @since 100.1.0 */ public function getIsActive(); /** * @param int $isActive * @return $this - * @since 2.1.0 + * @since 100.1.0 */ public function setIsActive($isActive); @@ -96,14 +96,14 @@ public function setIsActive($isActive); * Returns rule condition * * @return \Magento\CatalogRule\Api\Data\ConditionInterface|null - * @since 2.1.0 + * @since 100.1.0 */ public function getRuleCondition(); /** * @param \Magento\CatalogRule\Api\Data\ConditionInterface $condition * @return $this - * @since 2.1.0 + * @since 100.1.0 */ public function setRuleCondition($condition); @@ -111,14 +111,14 @@ public function setRuleCondition($condition); * Returns stop rule processing flag * * @return int|null - * @since 2.1.0 + * @since 100.1.0 */ public function getStopRulesProcessing(); /** * @param int $isStopProcessing * @return $this - * @since 2.1.0 + * @since 100.1.0 */ public function setStopRulesProcessing($isStopProcessing); @@ -126,14 +126,14 @@ public function setStopRulesProcessing($isStopProcessing); * Returns rule sort order * * @return int|null - * @since 2.1.0 + * @since 100.1.0 */ public function getSortOrder(); /** * @param int $sortOrder * @return $this - * @since 2.1.0 + * @since 100.1.0 */ public function setSortOrder($sortOrder); @@ -141,14 +141,14 @@ public function setSortOrder($sortOrder); * Returns rule simple action * * @return string - * @since 2.1.0 + * @since 100.1.0 */ public function getSimpleAction(); /** * @param string $action * @return $this - * @since 2.1.0 + * @since 100.1.0 */ public function setSimpleAction($action); @@ -156,14 +156,14 @@ public function setSimpleAction($action); * Returns discount amount * * @return float - * @since 2.1.0 + * @since 100.1.0 */ public function getDiscountAmount(); /** * @param float $amount * @return $this - * @since 2.1.0 + * @since 100.1.0 */ public function setDiscountAmount($amount); @@ -171,7 +171,7 @@ public function setDiscountAmount($amount); * Retrieve existing extension attributes object or create a new one. * * @return \Magento\CatalogRule\Api\Data\RuleExtensionInterface|null - * @since 2.1.0 + * @since 100.1.0 */ public function getExtensionAttributes(); @@ -180,7 +180,7 @@ public function getExtensionAttributes(); * * @param \Magento\CatalogRule\Api\Data\RuleExtensionInterface $extensionAttributes * @return $this - * @since 2.1.0 + * @since 100.1.0 */ public function setExtensionAttributes(\Magento\CatalogRule\Api\Data\RuleExtensionInterface $extensionAttributes); } diff --git a/app/code/Magento/CatalogRule/Block/Adminhtml/Edit/DeleteButton.php b/app/code/Magento/CatalogRule/Block/Adminhtml/Edit/DeleteButton.php index 9b3aa0b61784a..6390822b58f4a 100644 --- a/app/code/Magento/CatalogRule/Block/Adminhtml/Edit/DeleteButton.php +++ b/app/code/Magento/CatalogRule/Block/Adminhtml/Edit/DeleteButton.php @@ -9,13 +9,11 @@ /** * Class DeleteButton - * @since 2.1.0 */ class DeleteButton extends GenericButton implements ButtonProviderInterface { /** * @return array - * @since 2.1.0 */ public function getButtonData() { diff --git a/app/code/Magento/CatalogRule/Block/Adminhtml/Edit/GenericButton.php b/app/code/Magento/CatalogRule/Block/Adminhtml/Edit/GenericButton.php index 3038af27f83aa..562a42e0f8f89 100644 --- a/app/code/Magento/CatalogRule/Block/Adminhtml/Edit/GenericButton.php +++ b/app/code/Magento/CatalogRule/Block/Adminhtml/Edit/GenericButton.php @@ -11,7 +11,6 @@ /** * Class \Magento\CatalogRule\Block\Adminhtml\Edit\GenericButton * - * @since 2.1.0 */ class GenericButton { @@ -19,7 +18,6 @@ class GenericButton * Url Builder * * @var \Magento\Framework\UrlInterface - * @since 2.1.0 */ protected $urlBuilder; @@ -27,7 +25,6 @@ class GenericButton * Registry * * @var \Magento\Framework\Registry - * @since 2.1.0 */ protected $registry; @@ -36,7 +33,6 @@ class GenericButton * * @param \Magento\Backend\Block\Widget\Context $context * @param \Magento\Framework\Registry $registry - * @since 2.1.0 */ public function __construct( \Magento\Backend\Block\Widget\Context $context, @@ -50,7 +46,6 @@ public function __construct( * Return the current Catalog Rule Id. * * @return int|null - * @since 2.1.0 */ public function getRuleId() { @@ -64,7 +59,6 @@ public function getRuleId() * @param string $route * @param array $params * @return string - * @since 2.1.0 */ public function getUrl($route = '', $params = []) { @@ -76,7 +70,6 @@ public function getUrl($route = '', $params = []) * * @param string $name * @return string - * @since 2.1.0 */ public function canRender($name) { diff --git a/app/code/Magento/CatalogRule/Block/Adminhtml/Edit/ResetButton.php b/app/code/Magento/CatalogRule/Block/Adminhtml/Edit/ResetButton.php index 7d418fdd4eb3d..2442d991c3ec4 100644 --- a/app/code/Magento/CatalogRule/Block/Adminhtml/Edit/ResetButton.php +++ b/app/code/Magento/CatalogRule/Block/Adminhtml/Edit/ResetButton.php @@ -11,14 +11,12 @@ /** * Class \Magento\CatalogRule\Block\Adminhtml\Edit\ResetButton * - * @since 2.1.0 */ class ResetButton extends GenericButton implements ButtonProviderInterface { /** * @return array * @codeCoverageIgnore - * @since 2.1.0 */ public function getButtonData() { diff --git a/app/code/Magento/CatalogRule/Block/Adminhtml/Edit/SaveAndApplyButton.php b/app/code/Magento/CatalogRule/Block/Adminhtml/Edit/SaveAndApplyButton.php index 3549df705f7b6..46d31e8bd4baf 100644 --- a/app/code/Magento/CatalogRule/Block/Adminhtml/Edit/SaveAndApplyButton.php +++ b/app/code/Magento/CatalogRule/Block/Adminhtml/Edit/SaveAndApplyButton.php @@ -11,14 +11,12 @@ /** * Class \Magento\CatalogRule\Block\Adminhtml\Edit\SaveAndApplyButton * - * @since 2.1.0 */ class SaveAndApplyButton extends GenericButton implements ButtonProviderInterface { /** * @return array * @codeCoverageIgnore - * @since 2.1.0 */ public function getButtonData() { diff --git a/app/code/Magento/CatalogRule/Block/Adminhtml/Edit/SaveAndContinueButton.php b/app/code/Magento/CatalogRule/Block/Adminhtml/Edit/SaveAndContinueButton.php index ae0aa68fa479e..e6657de2adc95 100644 --- a/app/code/Magento/CatalogRule/Block/Adminhtml/Edit/SaveAndContinueButton.php +++ b/app/code/Magento/CatalogRule/Block/Adminhtml/Edit/SaveAndContinueButton.php @@ -11,14 +11,12 @@ /** * Class \Magento\CatalogRule\Block\Adminhtml\Edit\SaveAndContinueButton * - * @since 2.1.0 */ class SaveAndContinueButton extends GenericButton implements ButtonProviderInterface { /** * @return array * @codeCoverageIgnore - * @since 2.1.0 */ public function getButtonData() { diff --git a/app/code/Magento/CatalogRule/Block/Adminhtml/Edit/SaveButton.php b/app/code/Magento/CatalogRule/Block/Adminhtml/Edit/SaveButton.php index a7624cd4d50f4..574ddbefc53a3 100644 --- a/app/code/Magento/CatalogRule/Block/Adminhtml/Edit/SaveButton.php +++ b/app/code/Magento/CatalogRule/Block/Adminhtml/Edit/SaveButton.php @@ -11,14 +11,12 @@ /** * Class \Magento\CatalogRule\Block\Adminhtml\Edit\SaveButton * - * @since 2.1.0 */ class SaveButton extends GenericButton implements ButtonProviderInterface { /** * @return array * @codeCoverageIgnore - * @since 2.1.0 */ public function getButtonData() { diff --git a/app/code/Magento/CatalogRule/Block/Adminhtml/Promo/Catalog/Edit/Tab/Conditions.php b/app/code/Magento/CatalogRule/Block/Adminhtml/Promo/Catalog/Edit/Tab/Conditions.php index 5c659f5cd5f33..6e43015d003c4 100644 --- a/app/code/Magento/CatalogRule/Block/Adminhtml/Promo/Catalog/Edit/Tab/Conditions.php +++ b/app/code/Magento/CatalogRule/Block/Adminhtml/Promo/Catalog/Edit/Tab/Conditions.php @@ -96,7 +96,6 @@ public function isHidden() * * @return string * @codeCoverageIgnore - * @since 2.1.0 */ public function getTabClass() { @@ -108,7 +107,6 @@ public function getTabClass() * * @return string * @codeCoverageIgnore - * @since 2.1.0 */ public function getTabUrl() { @@ -120,7 +118,6 @@ public function getTabUrl() * * @return bool * @codeCoverageIgnore - * @since 2.1.0 */ public function isAjaxLoaded() { @@ -147,7 +144,6 @@ protected function _prepareForm() * @param string $formName * @return \Magento\Framework\Data\Form * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.1.0 */ protected function addTabToForm($model, $fieldsetId = 'conditions_fieldset', $formName = 'catalog_rule_form') { @@ -195,7 +191,6 @@ protected function addTabToForm($model, $fieldsetId = 'conditions_fieldset', $fo * @param string $formName * @param string $jsFormName * @return void - * @since 2.1.0 */ private function setConditionFormName(AbstractCondition $conditions, $formName, $jsFormName) { diff --git a/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Catalog/Save.php b/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Catalog/Save.php index 6d2b11d4ec687..0170fc76b6aab 100644 --- a/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Catalog/Save.php +++ b/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Catalog/Save.php @@ -19,7 +19,6 @@ class Save extends \Magento\CatalogRule\Controller\Adminhtml\Promo\Catalog { /** * @var DataPersistorInterface - * @since 2.1.0 */ protected $dataPersistor; @@ -28,7 +27,6 @@ class Save extends \Magento\CatalogRule\Controller\Adminhtml\Promo\Catalog * @param Registry $coreRegistry * @param Date $dateFilter * @param DataPersistorInterface $dataPersistor - * @since 2.1.0 */ public function __construct( Context $context, diff --git a/app/code/Magento/CatalogRule/Controller/RegistryConstants.php b/app/code/Magento/CatalogRule/Controller/RegistryConstants.php index d4f71af823a2e..745850f779bc5 100644 --- a/app/code/Magento/CatalogRule/Controller/RegistryConstants.php +++ b/app/code/Magento/CatalogRule/Controller/RegistryConstants.php @@ -9,7 +9,6 @@ /** * Declarations of core registry keys used by the CatalogRule module * - * @since 2.1.0 */ class RegistryConstants { diff --git a/app/code/Magento/CatalogRule/Model/CatalogRuleRepository.php b/app/code/Magento/CatalogRule/Model/CatalogRuleRepository.php index f4aa8875140a8..867c2f2ba0a71 100644 --- a/app/code/Magento/CatalogRule/Model/CatalogRuleRepository.php +++ b/app/code/Magento/CatalogRule/Model/CatalogRuleRepository.php @@ -14,32 +14,27 @@ /** * Class \Magento\CatalogRule\Model\CatalogRuleRepository * - * @since 2.1.0 */ class CatalogRuleRepository implements \Magento\CatalogRule\Api\CatalogRuleRepositoryInterface { /** * @var ResourceModel\Rule - * @since 2.1.0 */ protected $ruleResource; /** * @var RuleFactory - * @since 2.1.0 */ protected $ruleFactory; /** * @var array - * @since 2.1.0 */ private $rules = []; /** * @param ResourceModel\Rule $ruleResource * @param RuleFactory $ruleFactory - * @since 2.1.0 */ public function __construct( \Magento\CatalogRule\Model\ResourceModel\Rule $ruleResource, @@ -51,7 +46,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.1.0 */ public function save(Data\RuleInterface $rule) { @@ -72,7 +66,6 @@ public function save(Data\RuleInterface $rule) /** * {@inheritdoc} - * @since 2.1.0 */ public function get($ruleId) { @@ -92,7 +85,6 @@ public function get($ruleId) /** * {@inheritdoc} - * @since 2.1.0 */ public function delete(Data\RuleInterface $rule) { @@ -109,7 +101,6 @@ public function delete(Data\RuleInterface $rule) /** * {@inheritdoc} - * @since 2.1.0 */ public function deleteById($ruleId) { diff --git a/app/code/Magento/CatalogRule/Model/Data/Condition.php b/app/code/Magento/CatalogRule/Model/Data/Condition.php index 3437ef6470c00..3b6136860c6ae 100644 --- a/app/code/Magento/CatalogRule/Model/Data/Condition.php +++ b/app/code/Magento/CatalogRule/Model/Data/Condition.php @@ -10,13 +10,11 @@ /** * Class Condition * @codeCoverageIgnore - * @since 2.1.0 */ class Condition extends AbstractExtensibleModel implements \Magento\CatalogRule\Api\Data\ConditionInterface { /** * {@inheritdoc} - * @since 2.1.0 */ public function setType($type) { @@ -25,7 +23,6 @@ public function setType($type) /** * {@inheritdoc} - * @since 2.1.0 */ public function getType() { @@ -34,7 +31,6 @@ public function getType() /** * {@inheritdoc} - * @since 2.1.0 */ public function setAttribute($attribute) { @@ -43,7 +39,6 @@ public function setAttribute($attribute) /** * {@inheritdoc} - * @since 2.1.0 */ public function getAttribute() { @@ -52,7 +47,6 @@ public function getAttribute() /** * {@inheritdoc} - * @since 2.1.0 */ public function setOperator($operator) { @@ -61,7 +55,6 @@ public function setOperator($operator) /** * {@inheritdoc} - * @since 2.1.0 */ public function getOperator() { @@ -70,7 +63,6 @@ public function getOperator() /** * {@inheritdoc} - * @since 2.1.0 */ public function setValue($value) { @@ -79,7 +71,6 @@ public function setValue($value) /** * {@inheritdoc} - * @since 2.1.0 */ public function getValue() { @@ -88,7 +79,6 @@ public function getValue() /** * {@inheritdoc} - * @since 2.1.0 */ public function setIsValueParsed($isValueParsed) { @@ -97,7 +87,6 @@ public function setIsValueParsed($isValueParsed) /** * {@inheritdoc} - * @since 2.1.0 */ public function getIsValueParsed() { @@ -106,7 +95,6 @@ public function getIsValueParsed() /** * {@inheritdoc} - * @since 2.1.0 */ public function setAggregator($aggregator) { @@ -115,7 +103,6 @@ public function setAggregator($aggregator) /** * {@inheritdoc} - * @since 2.1.0 */ public function getAggregator() { @@ -124,7 +111,6 @@ public function getAggregator() /** * {@inheritdoc} - * @since 2.1.0 */ public function setConditions($conditions) { @@ -133,7 +119,6 @@ public function setConditions($conditions) /** * {@inheritdoc} - * @since 2.1.0 */ public function getConditions() { @@ -142,7 +127,6 @@ public function getConditions() /** * {@inheritdoc} - * @since 2.1.0 */ public function getExtensionAttributes() { @@ -151,7 +135,6 @@ public function getExtensionAttributes() /** * {@inheritdoc} - * @since 2.1.0 */ public function setExtensionAttributes( \Magento\CatalogRule\Api\Data\ConditionExtensionInterface $extensionAttributes diff --git a/app/code/Magento/CatalogRule/Model/Data/Condition/Converter.php b/app/code/Magento/CatalogRule/Model/Data/Condition/Converter.php index 24b1aa270ac61..336f378746beb 100644 --- a/app/code/Magento/CatalogRule/Model/Data/Condition/Converter.php +++ b/app/code/Magento/CatalogRule/Model/Data/Condition/Converter.php @@ -8,19 +8,16 @@ /** * Class \Magento\CatalogRule\Model\Data\Condition\Converter * - * @since 2.1.0 */ class Converter { /** * @var \Magento\CatalogRule\Api\Data\ConditionInterfaceFactory - * @since 2.1.0 */ protected $ruleConditionFactory; /** * @param \Magento\CatalogRule\Api\Data\ConditionInterfaceFactory $ruleConditionFactory - * @since 2.1.0 */ public function __construct(\Magento\CatalogRule\Api\Data\ConditionInterfaceFactory $ruleConditionFactory) { @@ -30,7 +27,6 @@ public function __construct(\Magento\CatalogRule\Api\Data\ConditionInterfaceFact /** * @param \Magento\CatalogRule\Api\Data\ConditionInterface $dataModel * @return array - * @since 2.1.0 */ public function dataModelToArray(\Magento\CatalogRule\Api\Data\ConditionInterface $dataModel) { @@ -54,7 +50,6 @@ public function dataModelToArray(\Magento\CatalogRule\Api\Data\ConditionInterfac * @param array $conditionArray * @return \Magento\CatalogRule\Api\Data\ConditionInterface * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.1.0 */ public function arrayToDataModel(array $conditionArray) { diff --git a/app/code/Magento/CatalogRule/Model/Indexer/AbstractIndexer.php b/app/code/Magento/CatalogRule/Model/Indexer/AbstractIndexer.php index 98b1da56b6471..2688b11697c72 100644 --- a/app/code/Magento/CatalogRule/Model/Indexer/AbstractIndexer.php +++ b/app/code/Magento/CatalogRule/Model/Indexer/AbstractIndexer.php @@ -30,13 +30,11 @@ abstract class AbstractIndexer implements IndexerActionInterface, MviewActionInt /** * @var \Magento\Framework\App\CacheInterface - * @since 2.0.11 */ private $cacheManager; /** * @var \Magento\Framework\Indexer\CacheContext - * @since 2.0.11 */ protected $cacheContext; @@ -145,8 +143,7 @@ abstract protected function doExecuteRow($id); /** * @return \Magento\Framework\App\CacheInterface|mixed * - * @deprecated 2.0.11 - * @since 2.0.11 + * @deprecated 100.0.7 */ private function getCacheManager() { @@ -162,8 +159,7 @@ private function getCacheManager() * Get cache context * * @return \Magento\Framework\Indexer\CacheContext - * @deprecated 2.0.11 - * @since 2.0.11 + * @deprecated 100.0.7 */ protected function getCacheContext() { diff --git a/app/code/Magento/CatalogRule/Model/Indexer/IndexBuilder.php b/app/code/Magento/CatalogRule/Model/Indexer/IndexBuilder.php index 45c52b637630a..cc6849a0186d0 100644 --- a/app/code/Magento/CatalogRule/Model/Indexer/IndexBuilder.php +++ b/app/code/Magento/CatalogRule/Model/Indexer/IndexBuilder.php @@ -24,8 +24,8 @@ class IndexBuilder /** * @var \Magento\Framework\EntityManager\MetadataPool - * @deprecated 2.2.0 - * @since 2.1.0 + * @deprecated 100.2.0 + * @since 100.1.0 */ protected $metadataPool; @@ -35,7 +35,7 @@ class IndexBuilder * This array contain list of CatalogRuleGroupWebsite table columns * * @var array - * @deprecated 2.2.0 + * @deprecated 100.2.0 */ protected $_catalogRuleGroupWebsiteColumnsList = ['rule_id', 'customer_group_id', 'website_id']; @@ -101,43 +101,36 @@ class IndexBuilder /** * @var \Magento\CatalogRule\Model\Indexer\ProductPriceCalculator - * @since 2.2.0 */ private $productPriceCalculator; /** * @var \Magento\CatalogRule\Model\Indexer\ReindexRuleProduct - * @since 2.2.0 */ private $reindexRuleProduct; /** * @var \Magento\CatalogRule\Model\Indexer\ReindexRuleGroupWebsite - * @since 2.2.0 */ private $reindexRuleGroupWebsite; /** * @var \Magento\CatalogRule\Model\Indexer\RuleProductsSelectBuilder - * @since 2.2.0 */ private $ruleProductsSelectBuilder; /** * @var \Magento\CatalogRule\Model\Indexer\ReindexRuleProductPrice - * @since 2.2.0 */ private $reindexRuleProductPrice; /** * @var \Magento\CatalogRule\Model\Indexer\RuleProductPricesPersistor - * @since 2.2.0 */ private $pricesPersistor; /** * @var \Magento\Catalog\Model\ResourceModel\Indexer\ActiveTableSwitcher - * @since 2.2.0 */ private $activeTableSwitcher; @@ -425,7 +418,7 @@ protected function getTable($tableName) /** * @param Rule $rule * @return $this - * @deprecated 2.2.0 + * @deprecated 100.2.0 * @see \Magento\CatalogRule\Model\Indexer\ReindexRuleProduct::execute */ protected function updateRuleProductData(Rule $rule) @@ -451,7 +444,7 @@ protected function updateRuleProductData(Rule $rule) * @param Product|null $product * @throws \Exception * @return $this - * @deprecated 2.2.0 + * @deprecated 100.2.0 * @see \Magento\CatalogRule\Model\Indexer\ReindexRuleProductPrice::execute * @see \Magento\CatalogRule\Model\Indexer\ReindexRuleGroupWebsite::execute */ @@ -466,7 +459,7 @@ protected function applyAllRules(Product $product = null) * Update CatalogRuleGroupWebsite data * * @return $this - * @deprecated 2.2.0 + * @deprecated 100.2.0 * @see \Magento\CatalogRule\Model\Indexer\ReindexRuleGroupWebsite::execute */ protected function updateCatalogRuleGroupWebsiteData() @@ -490,7 +483,7 @@ protected function deleteOldData() * @param array $ruleData * @param null $productData * @return float - * @deprecated 2.2.0 + * @deprecated 100.2.0 * @see \Magento\CatalogRule\Model\Indexer\ProductPriceCalculator::calculate */ protected function calcRuleProductPrice($ruleData, $productData = null) @@ -503,7 +496,7 @@ protected function calcRuleProductPrice($ruleData, $productData = null) * @param Product|null $product * @return \Zend_Db_Statement_Interface * @throws \Magento\Framework\Exception\LocalizedException - * @deprecated 2.2.0 + * @deprecated 100.2.0 * @see \Magento\CatalogRule\Model\Indexer\RuleProductsSelectBuilder::build */ protected function getRuleProductsStmt($websiteId, Product $product = null) @@ -515,7 +508,7 @@ protected function getRuleProductsStmt($websiteId, Product $product = null) * @param array $arrData * @return $this * @throws \Exception - * @deprecated 2.2.0 + * @deprecated 100.2.0 * @see \Magento\CatalogRule\Model\Indexer\RuleProductPricesPersistor::execute */ protected function saveRuleProductPrices($arrData) diff --git a/app/code/Magento/CatalogRule/Model/Indexer/ProductPriceCalculator.php b/app/code/Magento/CatalogRule/Model/Indexer/ProductPriceCalculator.php index 159fbc1b13265..02b499c75b7e9 100644 --- a/app/code/Magento/CatalogRule/Model/Indexer/ProductPriceCalculator.php +++ b/app/code/Magento/CatalogRule/Model/Indexer/ProductPriceCalculator.php @@ -8,19 +8,16 @@ /** * Product price calculation according rules settings. - * @since 2.2.0 */ class ProductPriceCalculator { /** * @var \Magento\Framework\Pricing\PriceCurrencyInterface - * @since 2.2.0 */ private $priceCurrency; /** * @param \Magento\Framework\Pricing\PriceCurrencyInterface $priceCurrency - * @since 2.2.0 */ public function __construct(\Magento\Framework\Pricing\PriceCurrencyInterface $priceCurrency) { @@ -33,7 +30,6 @@ public function __construct(\Magento\Framework\Pricing\PriceCurrencyInterface $p * @param array $ruleData * @param null $productData * @return float - * @since 2.2.0 */ public function calculate($ruleData, $productData = null) { diff --git a/app/code/Magento/CatalogRule/Model/Indexer/ReindexRuleGroupWebsite.php b/app/code/Magento/CatalogRule/Model/Indexer/ReindexRuleGroupWebsite.php index 841e6848dd3ec..cc5d07b18e0fa 100644 --- a/app/code/Magento/CatalogRule/Model/Indexer/ReindexRuleGroupWebsite.php +++ b/app/code/Magento/CatalogRule/Model/Indexer/ReindexRuleGroupWebsite.php @@ -8,31 +8,26 @@ /** * Reindex information about rule relations with customer groups and websites. - * @since 2.2.0 */ class ReindexRuleGroupWebsite { /** * @var \Magento\Framework\Stdlib\DateTime\DateTime - * @since 2.2.0 */ private $dateTime; /** * @var \Magento\Framework\App\ResourceConnection - * @since 2.2.0 */ private $resource; /** * @var array - * @since 2.2.0 */ private $catalogRuleGroupWebsiteColumnsList = ['rule_id', 'customer_group_id', 'website_id']; /** * @var \Magento\Catalog\Model\ResourceModel\Indexer\ActiveTableSwitcher - * @since 2.2.0 */ private $activeTableSwitcher; @@ -40,7 +35,6 @@ class ReindexRuleGroupWebsite * @param \Magento\Framework\Stdlib\DateTime\DateTime $dateTime * @param \Magento\Framework\App\ResourceConnection $resource * @param \Magento\Catalog\Model\ResourceModel\Indexer\ActiveTableSwitcher $activeTableSwitcher - * @since 2.2.0 */ public function __construct( \Magento\Framework\Stdlib\DateTime\DateTime $dateTime, @@ -57,7 +51,6 @@ public function __construct( * * @param bool $useAdditionalTable * @return bool - * @since 2.2.0 */ public function execute($useAdditionalTable = false) { diff --git a/app/code/Magento/CatalogRule/Model/Indexer/ReindexRuleProduct.php b/app/code/Magento/CatalogRule/Model/Indexer/ReindexRuleProduct.php index 1902669942e7e..534061d593123 100644 --- a/app/code/Magento/CatalogRule/Model/Indexer/ReindexRuleProduct.php +++ b/app/code/Magento/CatalogRule/Model/Indexer/ReindexRuleProduct.php @@ -8,26 +8,22 @@ /** * Reindex rule relations with products. - * @since 2.2.0 */ class ReindexRuleProduct { /** * @var \Magento\Framework\App\ResourceConnection - * @since 2.2.0 */ private $resource; /** * @var \Magento\Catalog\Model\ResourceModel\Indexer\ActiveTableSwitcher - * @since 2.2.0 */ private $activeTableSwitcher; /** * @param \Magento\Framework\App\ResourceConnection $resource * @param \Magento\Catalog\Model\ResourceModel\Indexer\ActiveTableSwitcher $activeTableSwitcher - * @since 2.2.0 */ public function __construct( \Magento\Framework\App\ResourceConnection $resource, @@ -46,7 +42,6 @@ public function __construct( * @return bool * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.2.0 */ public function execute( \Magento\CatalogRule\Model\Rule $rule, diff --git a/app/code/Magento/CatalogRule/Model/Indexer/ReindexRuleProductPrice.php b/app/code/Magento/CatalogRule/Model/Indexer/ReindexRuleProductPrice.php index 2b9f395823cff..6a87be3c50a64 100644 --- a/app/code/Magento/CatalogRule/Model/Indexer/ReindexRuleProductPrice.php +++ b/app/code/Magento/CatalogRule/Model/Indexer/ReindexRuleProductPrice.php @@ -8,37 +8,31 @@ /** * Reindex product prices according rule settings. - * @since 2.2.0 */ class ReindexRuleProductPrice { /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.2.0 */ private $storeManager; /** * @var \Magento\CatalogRule\Model\Indexer\RuleProductsSelectBuilder - * @since 2.2.0 */ private $ruleProductsSelectBuilder; /** * @var \Magento\CatalogRule\Model\Indexer\ProductPriceCalculator - * @since 2.2.0 */ private $productPriceCalculator; /** * @var \Magento\Framework\Stdlib\DateTime\DateTime - * @since 2.2.0 */ private $dateTime; /** * @var \Magento\CatalogRule\Model\Indexer\RuleProductPricesPersistor - * @since 2.2.0 */ private $pricesPersistor; @@ -48,7 +42,6 @@ class ReindexRuleProductPrice * @param ProductPriceCalculator $productPriceCalculator * @param \Magento\Framework\Stdlib\DateTime\DateTime $dateTime * @param \Magento\CatalogRule\Model\Indexer\RuleProductPricesPersistor $pricesPersistor - * @since 2.2.0 */ public function __construct( \Magento\Store\Model\StoreManagerInterface $storeManager, @@ -72,7 +65,6 @@ public function __construct( * @param bool $useAdditionalTable * @return bool * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.2.0 */ public function execute( $batchCount, @@ -165,7 +157,6 @@ public function execute( /** * @param int $timeStamp * @return int - * @since 2.2.0 */ private function roundTime($timeStamp) { diff --git a/app/code/Magento/CatalogRule/Model/Indexer/RuleProductPricesPersistor.php b/app/code/Magento/CatalogRule/Model/Indexer/RuleProductPricesPersistor.php index 295f3f33e1b5d..853be1888b5b9 100644 --- a/app/code/Magento/CatalogRule/Model/Indexer/RuleProductPricesPersistor.php +++ b/app/code/Magento/CatalogRule/Model/Indexer/RuleProductPricesPersistor.php @@ -8,25 +8,21 @@ /** * Persist product prices to index table. - * @since 2.2.0 */ class RuleProductPricesPersistor { /** * @var \Magento\Framework\App\ResourceConnection - * @since 2.2.0 */ private $resource; /** * @var \Magento\Framework\Stdlib\DateTime - * @since 2.2.0 */ private $dateFormat; /** * @var \Magento\Catalog\Model\ResourceModel\Indexer\ActiveTableSwitcher - * @since 2.2.0 */ private $activeTableSwitcher; @@ -34,7 +30,6 @@ class RuleProductPricesPersistor * @param \Magento\Framework\Stdlib\DateTime $dateFormat * @param \Magento\Framework\App\ResourceConnection $resource * @param \Magento\Catalog\Model\ResourceModel\Indexer\ActiveTableSwitcher $activeTableSwitcher - * @since 2.2.0 */ public function __construct( \Magento\Framework\Stdlib\DateTime $dateFormat, @@ -53,7 +48,6 @@ public function __construct( * @param bool $useAdditionalTable * @return bool * @throws \Exception - * @since 2.2.0 */ public function execute(array $priceData, $useAdditionalTable = false) { diff --git a/app/code/Magento/CatalogRule/Model/Indexer/RuleProductsSelectBuilder.php b/app/code/Magento/CatalogRule/Model/Indexer/RuleProductsSelectBuilder.php index 7862e4482721a..25d164aeee5c3 100644 --- a/app/code/Magento/CatalogRule/Model/Indexer/RuleProductsSelectBuilder.php +++ b/app/code/Magento/CatalogRule/Model/Indexer/RuleProductsSelectBuilder.php @@ -8,37 +8,31 @@ /** * Build select for rule relation with product. - * @since 2.2.0 */ class RuleProductsSelectBuilder { /** * @var \Magento\Framework\App\ResourceConnection - * @since 2.2.0 */ private $resource; /** * @var \Magento\Eav\Model\Config - * @since 2.2.0 */ private $eavConfig; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.2.0 */ private $storeManager; /** * @var \Magento\Framework\EntityManager\MetadataPool - * @since 2.2.0 */ private $metadataPool; /** * @var \Magento\Catalog\Model\ResourceModel\Indexer\ActiveTableSwitcher - * @since 2.2.0 */ private $activeTableSwitcher; @@ -48,7 +42,6 @@ class RuleProductsSelectBuilder * @param \Magento\Store\Model\StoreManagerInterface $storeManager * @param \Magento\Framework\EntityManager\MetadataPool $metadataPool * @param \Magento\Catalog\Model\ResourceModel\Indexer\ActiveTableSwitcher $activeTableSwitcher - * @since 2.2.0 */ public function __construct( \Magento\Framework\App\ResourceConnection $resource, @@ -71,7 +64,6 @@ public function __construct( * @param \Magento\Catalog\Model\Product|null $product * @param bool $useAdditionalTable * @return \Zend_Db_Statement_Interface - * @since 2.2.0 */ public function build( $websiteId, diff --git a/app/code/Magento/CatalogRule/Model/ResourceModel/Product/CollectionProcessor.php b/app/code/Magento/CatalogRule/Model/ResourceModel/Product/CollectionProcessor.php index 3b66113677fb1..0ea31f5dbafb2 100644 --- a/app/code/Magento/CatalogRule/Model/ResourceModel/Product/CollectionProcessor.php +++ b/app/code/Magento/CatalogRule/Model/ResourceModel/Product/CollectionProcessor.php @@ -11,37 +11,31 @@ /** * Add catalog rule prices to collection - * @since 2.2.0 */ class CollectionProcessor { /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.2.0 */ private $storeManager; /** * @var \Magento\Framework\App\ResourceConnection - * @since 2.2.0 */ private $resource; /** * @var \Magento\Customer\Model\Session - * @since 2.2.0 */ private $customerSession; /** * @var \Magento\Framework\Stdlib\DateTime - * @since 2.2.0 */ private $dateTime; /** * @var \Magento\Framework\Stdlib\DateTime\TimezoneInterface - * @since 2.2.0 */ private $localeDate; @@ -51,7 +45,6 @@ class CollectionProcessor * @param \Magento\Customer\Model\Session $customerSession * @param \Magento\Framework\Stdlib\DateTime $dateTime * @param \Magento\Framework\Stdlib\DateTime\TimezoneInterface $localeDate - * @since 2.2.0 */ public function __construct( \Magento\Store\Model\StoreManagerInterface $storeManager, @@ -71,7 +64,6 @@ public function __construct( * @param ProductCollection $productCollection * @param string $joinColumn * @return ProductCollection - * @since 2.2.0 */ public function addPriceData(ProductCollection $productCollection, $joinColumn = 'e.entity_id') { diff --git a/app/code/Magento/CatalogRule/Model/ResourceModel/Product/LinkedProductSelectBuilderByCatalogRulePrice.php b/app/code/Magento/CatalogRule/Model/ResourceModel/Product/LinkedProductSelectBuilderByCatalogRulePrice.php index 48b73f042349a..a615892f26ea5 100644 --- a/app/code/Magento/CatalogRule/Model/ResourceModel/Product/LinkedProductSelectBuilderByCatalogRulePrice.php +++ b/app/code/Magento/CatalogRule/Model/ResourceModel/Product/LinkedProductSelectBuilderByCatalogRulePrice.php @@ -14,49 +14,41 @@ /** * Class \Magento\CatalogRule\Model\ResourceModel\Product\LinkedProductSelectBuilderByCatalogRulePrice * - * @since 2.1.1 */ class LinkedProductSelectBuilderByCatalogRulePrice implements LinkedProductSelectBuilderInterface { /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.1.1 */ private $storeManager; /** * @var \Magento\Framework\App\ResourceConnection - * @since 2.1.1 */ private $resource; /** * @var \Magento\Customer\Model\Session - * @since 2.1.1 */ private $customerSession; /** * @var \Magento\Framework\Stdlib\DateTime - * @since 2.1.1 */ private $dateTime; /** * @var \Magento\Framework\Stdlib\DateTime\TimezoneInterface - * @since 2.1.1 */ private $localeDate; /** * @var \Magento\Framework\EntityManager\MetadataPool - * @since 2.1.1 */ private $metadataPool; /** * @var BaseSelectProcessorInterface - * @since 2.1.3 */ private $baseSelectProcessor; @@ -68,7 +60,6 @@ class LinkedProductSelectBuilderByCatalogRulePrice implements LinkedProductSelec * @param \Magento\Framework\Stdlib\DateTime\TimezoneInterface $localeDate * @param \Magento\Framework\EntityManager\MetadataPool $metadataPool * @param BaseSelectProcessorInterface $baseSelectProcessor - * @since 2.1.1 */ public function __construct( \Magento\Store\Model\StoreManagerInterface $storeManager, @@ -91,7 +82,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.1.1 */ public function build($productId) { diff --git a/app/code/Magento/CatalogRule/Model/ResourceModel/ReadHandler.php b/app/code/Magento/CatalogRule/Model/ResourceModel/ReadHandler.php index fc58f39ff3e0c..ef3eb1ce674eb 100644 --- a/app/code/Magento/CatalogRule/Model/ResourceModel/ReadHandler.php +++ b/app/code/Magento/CatalogRule/Model/ResourceModel/ReadHandler.php @@ -11,26 +11,22 @@ /** * Class ReadHandler - * @since 2.1.0 */ class ReadHandler implements AttributeInterface { /** * @var Rule - * @since 2.1.0 */ protected $ruleResource; /** * @var MetadataPool - * @since 2.1.0 */ protected $metadataPool; /** * @param Rule $ruleResource * @param MetadataPool $metadataPool - * @since 2.1.0 */ public function __construct( Rule $ruleResource, @@ -46,7 +42,6 @@ public function __construct( * @param array $arguments * @return array * @throws \Exception - * @since 2.1.0 */ public function execute($entityType, $entityData, $arguments = []) { diff --git a/app/code/Magento/CatalogRule/Model/ResourceModel/Rule.php b/app/code/Magento/CatalogRule/Model/ResourceModel/Rule.php index 40c20fc706cc8..662cdede84ede 100644 --- a/app/code/Magento/CatalogRule/Model/ResourceModel/Rule.php +++ b/app/code/Magento/CatalogRule/Model/ResourceModel/Rule.php @@ -76,7 +76,6 @@ class Rule extends \Magento\Rule\Model\ResourceModel\AbstractResource /** * @var \Magento\Framework\EntityManager\EntityManager - * @since 2.1.0 */ protected $entityManager; @@ -225,7 +224,6 @@ public function getRulesFromProduct($date, $websiteId, $customerGroupId, $produc * @param string $field * @return $this * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.1.0 */ public function load(\Magento\Framework\Model\AbstractModel $object, $value, $field = null) { @@ -237,7 +235,6 @@ public function load(\Magento\Framework\Model\AbstractModel $object, $value, $fi * @param AbstractModel $object * @return $this * @throws \Exception - * @since 2.1.0 */ public function save(\Magento\Framework\Model\AbstractModel $object) { @@ -251,7 +248,6 @@ public function save(\Magento\Framework\Model\AbstractModel $object) * @param \Magento\Framework\Model\AbstractModel $object * @return $this * @throws \Exception - * @since 2.1.0 */ public function delete(AbstractModel $object) { @@ -261,8 +257,7 @@ public function delete(AbstractModel $object) /** * @return array - * @deprecated 2.1.0 - * @since 2.1.0 + * @deprecated 100.1.0 */ private function getAssociatedEntitiesMap() { @@ -276,8 +271,7 @@ private function getAssociatedEntitiesMap() /** * @return \Magento\Framework\EntityManager\EntityManager - * @deprecated 2.1.0 - * @since 2.1.0 + * @deprecated 100.1.0 */ private function getEntityManager() { diff --git a/app/code/Magento/CatalogRule/Model/ResourceModel/Rule/Collection.php b/app/code/Magento/CatalogRule/Model/ResourceModel/Rule/Collection.php index 656c569016664..e03126e2da072 100644 --- a/app/code/Magento/CatalogRule/Model/ResourceModel/Rule/Collection.php +++ b/app/code/Magento/CatalogRule/Model/ResourceModel/Rule/Collection.php @@ -23,7 +23,6 @@ class Collection extends \Magento\Rule\Model\ResourceModel\Rule\Collection\Abstr /** * @var Json - * @since 2.2.0 */ protected $serializer; @@ -36,7 +35,6 @@ class Collection extends \Magento\Rule\Model\ResourceModel\Rule\Collection\Abstr * @param \Magento\Framework\DB\Adapter\AdapterInterface $connection * @param \Magento\Framework\Model\ResourceModel\Db\AbstractDb $resource * @param Json|null $serializer - * @since 2.1.0 */ public function __construct( \Magento\Framework\Data\Collection\EntityFactoryInterface $entityFactory, @@ -83,7 +81,6 @@ public function addAttributeInConditionFilter($attributeCode) * @param string $objectField * @throws \Magento\Framework\Exception\LocalizedException * @return void - * @since 2.1.0 */ protected function mapAssociatedEntities($entityType, $objectField) { @@ -114,7 +111,6 @@ protected function mapAssociatedEntities($entityType, $objectField) /** * @return $this - * @since 2.1.0 */ protected function _afterLoad() { @@ -130,7 +126,6 @@ protected function _afterLoad() * * @param int $customerGroupId * @return $this - * @since 2.1.0 */ public function addCustomerGroupFilter($customerGroupId) { @@ -151,8 +146,7 @@ public function addCustomerGroupFilter($customerGroupId) /** * @return array - * @deprecated 2.1.0 - * @since 2.1.0 + * @deprecated 100.1.0 */ private function getAssociatedEntitiesMap() { diff --git a/app/code/Magento/CatalogRule/Model/ResourceModel/SaveHandler.php b/app/code/Magento/CatalogRule/Model/ResourceModel/SaveHandler.php index 5ee0fb8a2ad29..57e99f7a2ae01 100644 --- a/app/code/Magento/CatalogRule/Model/ResourceModel/SaveHandler.php +++ b/app/code/Magento/CatalogRule/Model/ResourceModel/SaveHandler.php @@ -11,26 +11,22 @@ /** * Class SaveHandler - * @since 2.1.0 */ class SaveHandler implements AttributeInterface { /** * @var Rule - * @since 2.1.0 */ protected $ruleResource; /** * @var MetadataPool - * @since 2.1.0 */ protected $metadataPool; /** * @param Rule $ruleResource * @param MetadataPool $metadataPool - * @since 2.1.0 */ public function __construct( Rule $ruleResource, @@ -46,7 +42,6 @@ public function __construct( * @param array $arguments * @return array * @throws \Exception - * @since 2.1.0 */ public function execute($entityType, $entityData, $arguments = []) { diff --git a/app/code/Magento/CatalogRule/Model/Rule.php b/app/code/Magento/CatalogRule/Model/Rule.php index 8ec23142a0b7a..bf177f307d649 100644 --- a/app/code/Magento/CatalogRule/Model/Rule.php +++ b/app/code/Magento/CatalogRule/Model/Rule.php @@ -135,7 +135,6 @@ class Rule extends \Magento\Rule\Model\AbstractModel implements RuleInterface, I /** * @var Data\Condition\Converter - * @since 2.1.0 */ protected $ruleConditionConverter; @@ -534,7 +533,6 @@ public function afterSave() * Init indexing process after rule save * * @return void - * @since 2.2.0 */ public function reindex() { @@ -595,7 +593,6 @@ protected function dataDiff($array1, $array2) /** * @param string $formName * @return string - * @since 2.1.0 */ public function getConditionsFieldSetId($formName = '') { @@ -606,7 +603,6 @@ public function getConditionsFieldSetId($formName = '') /** * {@inheritdoc} - * @since 2.1.0 */ public function getRuleId() { @@ -615,7 +611,6 @@ public function getRuleId() /** * {@inheritdoc} - * @since 2.1.0 */ public function setRuleId($ruleId) { @@ -624,7 +619,6 @@ public function setRuleId($ruleId) /** * {@inheritdoc} - * @since 2.1.0 */ public function getName() { @@ -633,7 +627,6 @@ public function getName() /** * {@inheritdoc} - * @since 2.1.0 */ public function setName($name) { @@ -642,7 +635,6 @@ public function setName($name) /** * {@inheritdoc} - * @since 2.1.0 */ public function getDescription() { @@ -651,7 +643,6 @@ public function getDescription() /** * {@inheritdoc} - * @since 2.1.0 */ public function setDescription($description) { @@ -660,7 +651,6 @@ public function setDescription($description) /** * {@inheritdoc} - * @since 2.1.0 */ public function getIsActive() { @@ -669,7 +659,6 @@ public function getIsActive() /** * {@inheritdoc} - * @since 2.1.0 */ public function setIsActive($isActive) { @@ -678,7 +667,6 @@ public function setIsActive($isActive) /** * {@inheritdoc} - * @since 2.1.0 */ public function getRuleCondition() { @@ -687,7 +675,6 @@ public function getRuleCondition() /** * {@inheritdoc} - * @since 2.1.0 */ public function setRuleCondition($condition) { @@ -699,7 +686,6 @@ public function setRuleCondition($condition) /** * {@inheritdoc} - * @since 2.1.0 */ public function getStopRulesProcessing() { @@ -708,7 +694,6 @@ public function getStopRulesProcessing() /** * {@inheritdoc} - * @since 2.1.0 */ public function setStopRulesProcessing($isStopProcessing) { @@ -717,7 +702,6 @@ public function setStopRulesProcessing($isStopProcessing) /** * {@inheritdoc} - * @since 2.1.0 */ public function getSortOrder() { @@ -726,7 +710,6 @@ public function getSortOrder() /** * {@inheritdoc} - * @since 2.1.0 */ public function setSortOrder($sortOrder) { @@ -735,7 +718,6 @@ public function setSortOrder($sortOrder) /** * {@inheritdoc} - * @since 2.1.0 */ public function getSimpleAction() { @@ -744,7 +726,6 @@ public function getSimpleAction() /** * {@inheritdoc} - * @since 2.1.0 */ public function setSimpleAction($action) { @@ -753,7 +734,6 @@ public function setSimpleAction($action) /** * {@inheritdoc} - * @since 2.1.0 */ public function getDiscountAmount() { @@ -762,7 +742,6 @@ public function getDiscountAmount() /** * {@inheritdoc} - * @since 2.1.0 */ public function setDiscountAmount($amount) { @@ -771,7 +750,6 @@ public function setDiscountAmount($amount) /** * @return string - * @since 2.1.0 */ public function getFromDate() { @@ -780,7 +758,6 @@ public function getFromDate() /** * @return string - * @since 2.1.0 */ public function getToDate() { @@ -791,7 +768,6 @@ public function getToDate() * {@inheritdoc} * * @return \Magento\CatalogRule\Api\Data\RuleExtensionInterface|null - * @since 2.1.0 */ public function getExtensionAttributes() { @@ -803,7 +779,6 @@ public function getExtensionAttributes() * * @param \Magento\CatalogRule\Api\Data\RuleExtensionInterface $extensionAttributes * @return $this - * @since 2.1.0 */ public function setExtensionAttributes(\Magento\CatalogRule\Api\Data\RuleExtensionInterface $extensionAttributes) { @@ -812,8 +787,7 @@ public function setExtensionAttributes(\Magento\CatalogRule\Api\Data\RuleExtensi /** * @return Data\Condition\Converter - * @deprecated 2.1.0 - * @since 2.1.0 + * @deprecated 100.1.0 */ private function getRuleConditionConverter() { @@ -828,7 +802,6 @@ private function getRuleConditionConverter() /** * @inheritDoc - * @since 2.1.1 */ public function getIdentities() { diff --git a/app/code/Magento/CatalogRule/Model/Rule/Action/SimpleActionOptionsProvider.php b/app/code/Magento/CatalogRule/Model/Rule/Action/SimpleActionOptionsProvider.php index 3897c3762fe69..60c504a71675d 100644 --- a/app/code/Magento/CatalogRule/Model/Rule/Action/SimpleActionOptionsProvider.php +++ b/app/code/Magento/CatalogRule/Model/Rule/Action/SimpleActionOptionsProvider.php @@ -8,13 +8,11 @@ /** * Class \Magento\CatalogRule\Model\Rule\Action\SimpleActionOptionsProvider * - * @since 2.1.0 */ class SimpleActionOptionsProvider implements \Magento\Framework\Data\OptionSourceInterface { /** * @return array - * @since 2.1.0 */ public function toOptionArray() { diff --git a/app/code/Magento/CatalogRule/Model/Rule/CustomerGroupsOptionsProvider.php b/app/code/Magento/CatalogRule/Model/Rule/CustomerGroupsOptionsProvider.php index 7aa93d6cddb97..255fa38b45743 100644 --- a/app/code/Magento/CatalogRule/Model/Rule/CustomerGroupsOptionsProvider.php +++ b/app/code/Magento/CatalogRule/Model/Rule/CustomerGroupsOptionsProvider.php @@ -8,25 +8,21 @@ /** * Class \Magento\CatalogRule\Model\Rule\CustomerGroupsOptionsProvider * - * @since 2.1.0 */ class CustomerGroupsOptionsProvider implements \Magento\Framework\Data\OptionSourceInterface { /** * @var \Magento\Customer\Api\GroupRepositoryInterface - * @since 2.1.0 */ private $groupRepository; /** * @var \Magento\Framework\Api\SearchCriteriaBuilder - * @since 2.1.0 */ private $searchCriteriaBuilder; /** * @var \Magento\Framework\Convert\DataObject - * @since 2.1.0 */ private $objectConverter; @@ -34,7 +30,6 @@ class CustomerGroupsOptionsProvider implements \Magento\Framework\Data\OptionSou * @param \Magento\Customer\Api\GroupRepositoryInterface $groupRepository * @param \Magento\Framework\Api\SearchCriteriaBuilder $searchCriteriaBuilder * @param \Magento\Framework\Convert\DataObject $objectConverter - * @since 2.1.0 */ public function __construct( \Magento\Customer\Api\GroupRepositoryInterface $groupRepository, @@ -48,7 +43,6 @@ public function __construct( /** * @return array - * @since 2.1.0 */ public function toOptionArray() { diff --git a/app/code/Magento/CatalogRule/Model/Rule/DataProvider.php b/app/code/Magento/CatalogRule/Model/Rule/DataProvider.php index a735c4e865b75..f8085d37c5f72 100644 --- a/app/code/Magento/CatalogRule/Model/Rule/DataProvider.php +++ b/app/code/Magento/CatalogRule/Model/Rule/DataProvider.php @@ -13,25 +13,21 @@ /** * Class DataProvider * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.1.0 */ class DataProvider extends \Magento\Ui\DataProvider\AbstractDataProvider { /** * @var Collection - * @since 2.1.0 */ protected $collection; /** * @var array - * @since 2.1.0 */ protected $loadedData; /** * @var DataPersistorInterface - * @since 2.1.0 */ protected $dataPersistor; @@ -43,7 +39,6 @@ class DataProvider extends \Magento\Ui\DataProvider\AbstractDataProvider * @param DataPersistorInterface $dataPersistor * @param array $meta * @param array $data - * @since 2.1.0 */ public function __construct( $name, @@ -61,7 +56,6 @@ public function __construct( /** * @return array - * @since 2.1.0 */ public function getData() { diff --git a/app/code/Magento/CatalogRule/Model/Rule/WebsitesOptionsProvider.php b/app/code/Magento/CatalogRule/Model/Rule/WebsitesOptionsProvider.php index 57b5f9faacdf9..52b35b15929d5 100644 --- a/app/code/Magento/CatalogRule/Model/Rule/WebsitesOptionsProvider.php +++ b/app/code/Magento/CatalogRule/Model/Rule/WebsitesOptionsProvider.php @@ -8,19 +8,16 @@ /** * Class \Magento\CatalogRule\Model\Rule\WebsitesOptionsProvider * - * @since 2.1.0 */ class WebsitesOptionsProvider implements \Magento\Framework\Data\OptionSourceInterface { /** * @var \Magento\Store\Model\System\Store - * @since 2.1.0 */ private $store; /** * @param \Magento\Store\Model\System\Store $store - * @since 2.1.0 */ public function __construct(\Magento\Store\Model\System\Store $store) { @@ -29,7 +26,6 @@ public function __construct(\Magento\Store\Model\System\Store $store) /** * @return array - * @since 2.1.0 */ public function toOptionArray() { diff --git a/app/code/Magento/CatalogRule/Observer/AddDirtyRulesNotice.php b/app/code/Magento/CatalogRule/Observer/AddDirtyRulesNotice.php index 3026d01f820e5..08c3d97b216ed 100644 --- a/app/code/Magento/CatalogRule/Observer/AddDirtyRulesNotice.php +++ b/app/code/Magento/CatalogRule/Observer/AddDirtyRulesNotice.php @@ -10,13 +10,11 @@ /** * Class AddDirtyRulesNotice - * @since 2.1.0 */ class AddDirtyRulesNotice implements ObserverInterface { /** * @var \Magento\Framework\Message\ManagerInterface - * @since 2.1.0 */ private $messageManager; @@ -24,7 +22,6 @@ class AddDirtyRulesNotice implements ObserverInterface * AddDirtyRulesNotice constructor. * * @param \Magento\Framework\Message\ManagerInterface $messageManager - * @since 2.1.0 */ public function __construct(\Magento\Framework\Message\ManagerInterface $messageManager) { @@ -34,7 +31,6 @@ public function __construct(\Magento\Framework\Message\ManagerInterface $message /** * @param Observer $observer * @return void - * @since 2.1.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { diff --git a/app/code/Magento/CatalogRule/Plugin/Indexer/Product/Save/ApplyRules.php b/app/code/Magento/CatalogRule/Plugin/Indexer/Product/Save/ApplyRules.php index 5050eb91b15d9..af59c92381965 100644 --- a/app/code/Magento/CatalogRule/Plugin/Indexer/Product/Save/ApplyRules.php +++ b/app/code/Magento/CatalogRule/Plugin/Indexer/Product/Save/ApplyRules.php @@ -34,7 +34,6 @@ public function __construct(ProductRuleProcessor $productRuleProcessor) * @param \Magento\Framework\Model\AbstractModel $product * @return \Magento\Catalog\Model\ResourceModel\Product * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.2.0 */ public function afterSave( \Magento\Catalog\Model\ResourceModel\Product $subject, diff --git a/app/code/Magento/CatalogRule/Plugin/Indexer/Product/Save/ApplyRulesAfterReindex.php b/app/code/Magento/CatalogRule/Plugin/Indexer/Product/Save/ApplyRulesAfterReindex.php index 60580607c2278..1b9fedf76f11a 100644 --- a/app/code/Magento/CatalogRule/Plugin/Indexer/Product/Save/ApplyRulesAfterReindex.php +++ b/app/code/Magento/CatalogRule/Plugin/Indexer/Product/Save/ApplyRulesAfterReindex.php @@ -10,19 +10,16 @@ /** * Plugin for Magento\Catalog\Model\Product - * @since 2.0.1 */ class ApplyRulesAfterReindex { /** * @var ProductRuleProcessor - * @since 2.0.1 */ protected $productRuleProcessor; /** * @param ProductRuleProcessor $productRuleProcessor - * @since 2.0.1 */ public function __construct(ProductRuleProcessor $productRuleProcessor) { @@ -34,7 +31,6 @@ public function __construct(ProductRuleProcessor $productRuleProcessor) * * @param Product $subject * @return void - * @since 2.2.0 */ public function afterReindex(Product $subject) { diff --git a/app/code/Magento/CatalogRule/Pricing/Price/CatalogRulePrice.php b/app/code/Magento/CatalogRule/Pricing/Price/CatalogRulePrice.php index e0b26f4480cf9..a45a548264a4c 100644 --- a/app/code/Magento/CatalogRule/Pricing/Price/CatalogRulePrice.php +++ b/app/code/Magento/CatalogRule/Pricing/Price/CatalogRulePrice.php @@ -44,13 +44,12 @@ class CatalogRulePrice extends AbstractPrice implements BasePriceProviderInterfa /** * @var \Magento\CatalogRule\Model\ResourceModel\RuleFactory - * @deprecated 2.1.1 + * @deprecated 100.1.1 */ protected $resourceRuleFactory; /** * @var \Magento\CatalogRule\Model\ResourceModel\Rule - * @since 2.1.1 */ private $ruleResource; @@ -111,8 +110,7 @@ public function getValue() /** * @return Rule - * @deprecated 2.1.1 - * @since 2.1.1 + * @deprecated 100.1.1 */ private function getRuleResource() { diff --git a/app/code/Magento/CatalogRule/Setup/UpgradeData.php b/app/code/Magento/CatalogRule/Setup/UpgradeData.php index 24c8fdb838948..b7670ee39c05a 100644 --- a/app/code/Magento/CatalogRule/Setup/UpgradeData.php +++ b/app/code/Magento/CatalogRule/Setup/UpgradeData.php @@ -18,19 +18,16 @@ /** * Class \Magento\CatalogRule\Setup\UpgradeData * - * @since 2.2.0 */ class UpgradeData implements UpgradeDataInterface { /** * @var MetadataPool - * @since 2.2.0 */ private $metadataPool; /** * @var AggregatedFieldDataConverter - * @since 2.2.0 */ private $aggregatedFieldConverter; @@ -39,7 +36,6 @@ class UpgradeData implements UpgradeDataInterface * * @param AggregatedFieldDataConverter $aggregatedFieldConverter * @param MetadataPool $metadataPool - * @since 2.2.0 */ public function __construct( AggregatedFieldDataConverter $aggregatedFieldConverter, @@ -51,7 +47,6 @@ public function __construct( /** * @inheritdoc - * @since 2.2.0 */ public function upgrade(ModuleDataSetupInterface $setup, ModuleContextInterface $context) { @@ -70,7 +65,6 @@ public function upgrade(ModuleDataSetupInterface $setup, ModuleContextInterface * @param ModuleDataSetupInterface $setup * * @return void - * @since 2.2.0 */ public function convertSerializedDataToJson($setup) { diff --git a/app/code/Magento/CatalogRule/Setup/UpgradeSchema.php b/app/code/Magento/CatalogRule/Setup/UpgradeSchema.php index 95c57eae19145..b75e5ea61fe6e 100644 --- a/app/code/Magento/CatalogRule/Setup/UpgradeSchema.php +++ b/app/code/Magento/CatalogRule/Setup/UpgradeSchema.php @@ -12,13 +12,11 @@ /** * Upgrade the CatalogRule module DB scheme - * @since 2.1.0 */ class UpgradeSchema implements UpgradeSchemaInterface { /** * {@inheritdoc} - * @since 2.1.0 */ public function upgrade(SchemaSetupInterface $setup, ModuleContextInterface $context) { @@ -74,7 +72,6 @@ public function upgrade(SchemaSetupInterface $setup, ModuleContextInterface $con * Remove Sub Product Discounts * @param SchemaSetupInterface $setup * @return void - * @since 2.1.0 */ private function removeSubProductDiscounts(SchemaSetupInterface $setup) { @@ -105,7 +102,6 @@ private function removeSubProductDiscounts(SchemaSetupInterface $setup) * @param string $existingTable * @param string $replicaTable * @return void - * @since 2.2.0 */ private function addReplicaTable(SchemaSetupInterface $setup, $existingTable, $replicaTable) { diff --git a/app/code/Magento/CatalogRuleConfigurable/Plugin/CatalogRule/Model/ConfigurableProductsProvider.php b/app/code/Magento/CatalogRuleConfigurable/Plugin/CatalogRule/Model/ConfigurableProductsProvider.php index bf9dce287eee0..88fec93c2a4ab 100644 --- a/app/code/Magento/CatalogRuleConfigurable/Plugin/CatalogRule/Model/ConfigurableProductsProvider.php +++ b/app/code/Magento/CatalogRuleConfigurable/Plugin/CatalogRule/Model/ConfigurableProductsProvider.php @@ -19,7 +19,6 @@ class ConfigurableProductsProvider /** * @var array - * @since 2.1.0 */ private $productIds = []; diff --git a/app/code/Magento/CatalogRuleConfigurable/Plugin/CatalogRule/Model/Rule/ConfigurableProductHandler.php b/app/code/Magento/CatalogRuleConfigurable/Plugin/CatalogRule/Model/Rule/ConfigurableProductHandler.php index 80cf8548b5de4..d27c424ed9ea3 100644 --- a/app/code/Magento/CatalogRuleConfigurable/Plugin/CatalogRule/Model/Rule/ConfigurableProductHandler.php +++ b/app/code/Magento/CatalogRuleConfigurable/Plugin/CatalogRule/Model/Rule/ConfigurableProductHandler.php @@ -26,7 +26,6 @@ class ConfigurableProductHandler /** * @var array - * @since 2.1.0 */ private $childrenProducts = []; diff --git a/app/code/Magento/CatalogRuleConfigurable/Plugin/CatalogRule/Model/Rule/Validation.php b/app/code/Magento/CatalogRuleConfigurable/Plugin/CatalogRule/Model/Rule/Validation.php index f194a0f885760..a4be621ad513e 100644 --- a/app/code/Magento/CatalogRuleConfigurable/Plugin/CatalogRule/Model/Rule/Validation.php +++ b/app/code/Magento/CatalogRuleConfigurable/Plugin/CatalogRule/Model/Rule/Validation.php @@ -36,7 +36,6 @@ public function __construct(Configurable $configurableType) * @param bool $validateResult * @param DataObject|Product $product * @return bool - * @since 2.2.0 */ public function afterValidate(Rule $rule, $validateResult, DataObject $product) { diff --git a/app/code/Magento/CatalogRuleConfigurable/Plugin/ConfigurableProduct/Model/ResourceModel/AddCatalogRulePrice.php b/app/code/Magento/CatalogRuleConfigurable/Plugin/ConfigurableProduct/Model/ResourceModel/AddCatalogRulePrice.php index 27f7370f41704..1da3d52ae56b9 100644 --- a/app/code/Magento/CatalogRuleConfigurable/Plugin/ConfigurableProduct/Model/ResourceModel/AddCatalogRulePrice.php +++ b/app/code/Magento/CatalogRuleConfigurable/Plugin/ConfigurableProduct/Model/ResourceModel/AddCatalogRulePrice.php @@ -12,19 +12,16 @@ /** * Class \Magento\CatalogRuleConfigurable\Plugin\ConfigurableProduct\Model\ResourceModel\AddCatalogRulePrice * - * @since 2.1.1 */ class AddCatalogRulePrice { /** * @var \Magento\CatalogRule\Model\ResourceModel\Product\CollectionProcessorFactory - * @since 2.2.0 */ private $catalogRuleCollectionFactory; /** * @param \Magento\CatalogRule\Model\ResourceModel\Product\CollectionProcessorFactory $catalogRuleCollectionFactory - * @since 2.1.1 */ public function __construct( \Magento\CatalogRule\Model\ResourceModel\Product\CollectionProcessorFactory $catalogRuleCollectionFactory @@ -37,7 +34,6 @@ public function __construct( * @param bool $printQuery * @param bool $logQuery * @return array - * @since 2.1.1 */ public function beforeLoad(Collection $productCollection, $printQuery = false, $logQuery = false) { diff --git a/app/code/Magento/CatalogSearch/Block/Advanced/Result.php b/app/code/Magento/CatalogSearch/Block/Advanced/Result.php index 83cc8891c4fff..0e88d01e2349c 100644 --- a/app/code/Magento/CatalogSearch/Block/Advanced/Result.php +++ b/app/code/Magento/CatalogSearch/Block/Advanced/Result.php @@ -91,7 +91,6 @@ protected function _prepareLayout() * Get page title * * @return \Magento\Framework\Phrase - * @since 2.2.0 */ private function getPageTitle() { diff --git a/app/code/Magento/CatalogSearch/Block/Plugin/FrontTabPlugin.php b/app/code/Magento/CatalogSearch/Block/Plugin/FrontTabPlugin.php index caabec6cbf8b0..94cb9c3c8fcf2 100644 --- a/app/code/Magento/CatalogSearch/Block/Plugin/FrontTabPlugin.php +++ b/app/code/Magento/CatalogSearch/Block/Plugin/FrontTabPlugin.php @@ -34,7 +34,6 @@ public function __construct(Weight $weightSource) * @param ProductAttributeFrontTabBlock $subject * @param Form $form * @return void - * @since 2.2.0 */ public function beforeSetForm(ProductAttributeFrontTabBlock $subject, Form $form) { diff --git a/app/code/Magento/CatalogSearch/Model/Adapter/Aggregation/AggregationResolver.php b/app/code/Magento/CatalogSearch/Model/Adapter/Aggregation/AggregationResolver.php index bd1be6c4d8b97..4261401d7e1d0 100644 --- a/app/code/Magento/CatalogSearch/Model/Adapter/Aggregation/AggregationResolver.php +++ b/app/code/Magento/CatalogSearch/Model/Adapter/Aggregation/AggregationResolver.php @@ -17,43 +17,36 @@ /** * Class \Magento\CatalogSearch\Model\Adapter\Aggregation\AggregationResolver * - * @since 2.1.0 */ class AggregationResolver implements AggregationResolverInterface { /** * @var AttributeSetFinderInterface - * @since 2.1.0 */ private $attributeSetFinder; /** * @var ProductAttributeRepositoryInterface - * @since 2.1.0 */ private $productAttributeRepository; /** * @var SearchCriteriaBuilder - * @since 2.1.0 */ private $searchCriteriaBuilder; /** * @var Config - * @since 2.1.0 */ private $config; /** * @var RequestCheckerInterface - * @since 2.2.0 */ private $requestChecker; /** * @var AttributeCollection - * @since 2.2.0 */ private $attributeCollection; @@ -66,7 +59,6 @@ class AggregationResolver implements AggregationResolverInterface * @param Config $config * @param AttributeCollection $attributeCollection [optional] * @param RequestCheckerInterface|null $aggregationChecker - * @since 2.1.0 */ public function __construct( AttributeSetFinderInterface $attributeSetFinder, @@ -88,7 +80,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.1.0 */ public function resolve(RequestInterface $request, array $documentIds) { @@ -117,7 +108,6 @@ function ($bucket) use ($attributeCodes, $bucketKeys) { * * @param array $documentIds * @return array - * @since 2.1.0 */ private function getApplicableAttributeCodes(array $documentIds) { diff --git a/app/code/Magento/CatalogSearch/Model/Adapter/Aggregation/Checker/Query/AdvancedSearch.php b/app/code/Magento/CatalogSearch/Model/Adapter/Aggregation/Checker/Query/AdvancedSearch.php index e65024c02050c..8f1f3fde14240 100644 --- a/app/code/Magento/CatalogSearch/Model/Adapter/Aggregation/Checker/Query/AdvancedSearch.php +++ b/app/code/Magento/CatalogSearch/Model/Adapter/Aggregation/Checker/Query/AdvancedSearch.php @@ -12,19 +12,16 @@ * Request checker for advanced search. * * Checks advanced search query whether required to collect all attributes for entity. - * @since 2.2.0 */ class AdvancedSearch implements RequestCheckerInterface { /** * Identifier for query name - * @since 2.2.0 */ private $name; /** * @param string $name - * @since 2.2.0 */ public function __construct($name) { @@ -33,7 +30,6 @@ public function __construct($name) /** * {@inheritdoc} - * @since 2.2.0 */ public function isApplicable(RequestInterface $request) { diff --git a/app/code/Magento/CatalogSearch/Model/Adapter/Aggregation/Checker/Query/CatalogView.php b/app/code/Magento/CatalogSearch/Model/Adapter/Aggregation/Checker/Query/CatalogView.php index 2e7817a5a7a70..01e95c4676af4 100644 --- a/app/code/Magento/CatalogSearch/Model/Adapter/Aggregation/Checker/Query/CatalogView.php +++ b/app/code/Magento/CatalogSearch/Model/Adapter/Aggregation/Checker/Query/CatalogView.php @@ -17,25 +17,21 @@ * Request checker for catalog view. * * Checks catalog view query whether required to collect all attributes for entity. - * @since 2.2.0 */ class CatalogView implements RequestCheckerInterface { /** * Identifier for query name - * @since 2.2.0 */ private $name; /** * @var CategoryRepositoryInterface - * @since 2.2.0 */ private $categoryRepository; /** * @var StoreManagerInterface - * @since 2.2.0 */ private $storeManager; @@ -43,7 +39,6 @@ class CatalogView implements RequestCheckerInterface * @param CategoryRepositoryInterface $categoryRepository * @param StoreManagerInterface $storeManager * @param string $name - * @since 2.2.0 */ public function __construct( CategoryRepositoryInterface $categoryRepository, @@ -57,7 +52,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.2.0 */ public function isApplicable(RequestInterface $request) { @@ -76,7 +70,6 @@ public function isApplicable(RequestInterface $request) * * @param RequestInterface $request * @return bool - * @since 2.2.0 */ private function hasAnchorCategory(RequestInterface $request) { @@ -107,7 +100,6 @@ private function hasAnchorCategory(RequestInterface $request) * * @param QueryInterface $queryExpression * @return \Magento\Catalog\Api\Data\CategoryInterface[]|[] - * @since 2.2.0 */ private function getCategoriesFromQuery(QueryInterface $queryExpression) { @@ -134,7 +126,6 @@ private function getCategoriesFromQuery(QueryInterface $queryExpression) * * @param QueryInterface $queryExpression * @return array - * @since 2.2.0 */ private function getCategoryIdsFromQuery(QueryInterface $queryExpression) { diff --git a/app/code/Magento/CatalogSearch/Model/Adapter/Aggregation/RequestCheckerComposite.php b/app/code/Magento/CatalogSearch/Model/Adapter/Aggregation/RequestCheckerComposite.php index 94b7f2692cbda..61271b86c6751 100644 --- a/app/code/Magento/CatalogSearch/Model/Adapter/Aggregation/RequestCheckerComposite.php +++ b/app/code/Magento/CatalogSearch/Model/Adapter/Aggregation/RequestCheckerComposite.php @@ -12,25 +12,21 @@ /** * Class \Magento\CatalogSearch\Model\Adapter\Aggregation\RequestCheckerComposite * - * @since 2.2.0 */ class RequestCheckerComposite implements RequestCheckerInterface { /** * @var CategoryRepositoryInterface - * @since 2.2.0 */ private $categoryRepository; /** * @var StoreManagerInterface - * @since 2.2.0 */ private $storeManager; /** * @var RequestCheckerInterface[] - * @since 2.2.0 */ private $queryCheckers; @@ -39,7 +35,6 @@ class RequestCheckerComposite implements RequestCheckerInterface * @param StoreManagerInterface $storeManager * @param RequestCheckerInterface[] $queryCheckers * @throws \InvalidArgumentException - * @since 2.2.0 */ public function __construct( CategoryRepositoryInterface $categoryRepository, @@ -63,7 +58,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.2.0 */ public function isApplicable(RequestInterface $request) { diff --git a/app/code/Magento/CatalogSearch/Model/Adapter/Aggregation/RequestCheckerInterface.php b/app/code/Magento/CatalogSearch/Model/Adapter/Aggregation/RequestCheckerInterface.php index f57d8103c3505..7efe708a5755f 100644 --- a/app/code/Magento/CatalogSearch/Model/Adapter/Aggregation/RequestCheckerInterface.php +++ b/app/code/Magento/CatalogSearch/Model/Adapter/Aggregation/RequestCheckerInterface.php @@ -9,7 +9,6 @@ /** * RequestCheckerInterface provides the interface to work with query checkers. - * @since 2.2.0 */ interface RequestCheckerInterface { @@ -20,7 +19,6 @@ interface RequestCheckerInterface * * @param RequestInterface $request * @return bool - * @since 2.2.0 */ public function isApplicable(RequestInterface $request); } diff --git a/app/code/Magento/CatalogSearch/Model/Adapter/Mysql/BaseSelectStrategy/BaseSelectAttributesSearchStrategy.php b/app/code/Magento/CatalogSearch/Model/Adapter/Mysql/BaseSelectStrategy/BaseSelectAttributesSearchStrategy.php index f6cd0ab4def86..87fc896f50956 100644 --- a/app/code/Magento/CatalogSearch/Model/Adapter/Mysql/BaseSelectStrategy/BaseSelectAttributesSearchStrategy.php +++ b/app/code/Magento/CatalogSearch/Model/Adapter/Mysql/BaseSelectStrategy/BaseSelectAttributesSearchStrategy.php @@ -18,25 +18,21 @@ * * The main idea of this strategy is using eav index table as main table for query * in case when search request requires search by attributes - * @since 2.2.0 */ class BaseSelectAttributesSearchStrategy implements BaseSelectStrategyInterface { /** * @var ResourceConnection - * @since 2.2.0 */ private $resource; /** * @var StoreManagerInterface - * @since 2.2.0 */ private $storeManager; /** * @var IndexScopeResolver - * @since 2.2.0 */ private $scopeResolver; @@ -44,7 +40,6 @@ class BaseSelectAttributesSearchStrategy implements BaseSelectStrategyInterface * @param ResourceConnection $resource * @param StoreManagerInterface $storeManager * @param IndexScopeResolver $scopeResolver - * @since 2.2.0 */ public function __construct( ResourceConnection $resource, @@ -62,7 +57,6 @@ public function __construct( * @param SelectContainer $selectContainer * @return SelectContainer * @throws \DomainException - * @since 2.2.0 */ public function createBaseSelect(SelectContainer $selectContainer) { diff --git a/app/code/Magento/CatalogSearch/Model/Adapter/Mysql/BaseSelectStrategy/BaseSelectFullTextSearchStrategy.php b/app/code/Magento/CatalogSearch/Model/Adapter/Mysql/BaseSelectStrategy/BaseSelectFullTextSearchStrategy.php index 550778a3d063d..0732df7bd9f57 100644 --- a/app/code/Magento/CatalogSearch/Model/Adapter/Mysql/BaseSelectStrategy/BaseSelectFullTextSearchStrategy.php +++ b/app/code/Magento/CatalogSearch/Model/Adapter/Mysql/BaseSelectStrategy/BaseSelectFullTextSearchStrategy.php @@ -17,26 +17,22 @@ * * The main idea of this strategy is using fulltext search index table as main table for query * in case when search request does not requires any search by attributes - * @since 2.2.0 */ class BaseSelectFullTextSearchStrategy implements BaseSelectStrategyInterface { /** * @var IndexScopeResolver - * @since 2.2.0 */ private $scopeResolver; /** * @var ResourceConnection - * @since 2.2.0 */ private $resource; /** * @param ResourceConnection $resource * @param IndexScopeResolver $scopeResolver - * @since 2.2.0 */ public function __construct( ResourceConnection $resource, @@ -52,7 +48,6 @@ public function __construct( * @param SelectContainer $selectContainer * @return SelectContainer * @throws \DomainException - * @since 2.2.0 */ public function createBaseSelect(SelectContainer $selectContainer) { diff --git a/app/code/Magento/CatalogSearch/Model/Adapter/Mysql/Dynamic/DataProvider.php b/app/code/Magento/CatalogSearch/Model/Adapter/Mysql/Dynamic/DataProvider.php index ed4d255ba49d1..8b7a7ed214e36 100644 --- a/app/code/Magento/CatalogSearch/Model/Adapter/Mysql/Dynamic/DataProvider.php +++ b/app/code/Magento/CatalogSearch/Model/Adapter/Mysql/Dynamic/DataProvider.php @@ -55,7 +55,6 @@ class DataProvider implements DataProviderInterface /** * @var StoreManager - * @since 2.2.0 */ private $storeManager; diff --git a/app/code/Magento/CatalogSearch/Model/Adapter/Mysql/Filter/AliasResolver.php b/app/code/Magento/CatalogSearch/Model/Adapter/Mysql/Filter/AliasResolver.php index 6f8c96ff7d44b..fc59526928fec 100644 --- a/app/code/Magento/CatalogSearch/Model/Adapter/Mysql/Filter/AliasResolver.php +++ b/app/code/Magento/CatalogSearch/Model/Adapter/Mysql/Filter/AliasResolver.php @@ -11,7 +11,7 @@ /** * Purpose of class is to resolve table alias for Search Request filter * @api - * @since 2.2.0 + * @since 100.2.0 */ class AliasResolver { @@ -24,7 +24,7 @@ class AliasResolver /** * @param \Magento\Framework\Search\Request\FilterInterface $filter * @return string alias of the filter in database - * @since 2.2.0 + * @since 100.2.0 */ public function getAlias(\Magento\Framework\Search\Request\FilterInterface $filter) { diff --git a/app/code/Magento/CatalogSearch/Model/Adapter/Mysql/Filter/Preprocessor.php b/app/code/Magento/CatalogSearch/Model/Adapter/Mysql/Filter/Preprocessor.php index fa1be66b88460..35addc3fafd4f 100644 --- a/app/code/Magento/CatalogSearch/Model/Adapter/Mysql/Filter/Preprocessor.php +++ b/app/code/Magento/CatalogSearch/Model/Adapter/Mysql/Filter/Preprocessor.php @@ -60,25 +60,21 @@ class Preprocessor implements PreprocessorInterface /** * @var MetadataPool - * @since 2.1.0 */ private $metadataPool; /** * @var ScopeConfigInterface - * @since 2.2.0 */ private $scopeConfig; /** * @var AliasResolver - * @since 2.2.0 */ private $aliasResolver; /** * @var Session - * @since 2.2.0 */ private $customerSession; @@ -277,7 +273,6 @@ private function processTermSelect(FilterInterface $filter, $isNegation) * Get product metadata pool * * @return \Magento\Framework\EntityManager\MetadataPool - * @since 2.1.0 */ protected function getMetadataPool() { diff --git a/app/code/Magento/CatalogSearch/Model/Attribute/SearchWeight.php b/app/code/Magento/CatalogSearch/Model/Attribute/SearchWeight.php index 0b89e31ae0362..d6110f4b3b2c9 100644 --- a/app/code/Magento/CatalogSearch/Model/Attribute/SearchWeight.php +++ b/app/code/Magento/CatalogSearch/Model/Attribute/SearchWeight.php @@ -11,13 +11,11 @@ * which is used to boost matches by specific attributes. * * This is part of search accuracy customization functionality. - * @since 2.2.0 */ class SearchWeight { /** * @param \Magento\Framework\Search\Request\Config $config - * @since 2.2.0 */ public function __construct( \Magento\Framework\Search\Request\Config $config @@ -46,7 +44,6 @@ public function __construct( * @return \Magento\Catalog\Model\ResourceModel\Attribute * * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.2.0 */ public function aroundSave( \Magento\Catalog\Model\ResourceModel\Attribute $subject, diff --git a/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext.php b/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext.php index e982f5ad73cb5..a515b0b0cb02c 100644 --- a/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext.php +++ b/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext.php @@ -62,13 +62,11 @@ class Fulltext implements \Magento\Framework\Indexer\ActionInterface, \Magento\F /** * @var IndexSwitcherInterface - * @since 2.2.0 */ private $indexSwitcher; /** * @var \Magento\CatalogSearch\Model\Indexer\Scope\State - * @since 2.2.0 */ private $indexScopeState; diff --git a/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Action/DataProvider.php b/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Action/DataProvider.php index ae7dc5479faf5..2567f08d28ab4 100644 --- a/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Action/DataProvider.php +++ b/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Action/DataProvider.php @@ -11,7 +11,7 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @api - * @since 2.0.1 + * @since 100.0.3 */ class DataProvider { @@ -19,7 +19,6 @@ class DataProvider * Searchable attributes cache * * @var \Magento\Eav\Model\Entity\Attribute[] - * @since 2.0.1 */ private $searchableAttributes; @@ -27,7 +26,6 @@ class DataProvider * Index values separator * * @var string - * @since 2.0.1 */ private $separator = ' | '; @@ -35,7 +33,6 @@ class DataProvider * Product Type Instances cache * * @var array - * @since 2.0.1 */ private $productTypes = []; @@ -43,13 +40,11 @@ class DataProvider * Product Emulators cache * * @var array - * @since 2.0.1 */ private $productEmulators = []; /** * @var \Magento\Catalog\Model\ResourceModel\Product\Attribute\CollectionFactory - * @since 2.0.1 */ private $productAttributeCollectionFactory; @@ -57,7 +52,6 @@ class DataProvider * Eav config * * @var \Magento\Eav\Model\Config - * @since 2.0.1 */ private $eavConfig; @@ -65,7 +59,6 @@ class DataProvider * Catalog product type * * @var \Magento\Catalog\Model\Product\Type - * @since 2.0.1 */ private $catalogProductType; @@ -73,7 +66,6 @@ class DataProvider * Core event manager proxy * * @var \Magento\Framework\Event\ManagerInterface - * @since 2.0.1 */ private $eventManager; @@ -81,37 +73,31 @@ class DataProvider * Store manager * * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.1 */ private $storeManager; /** * @var \Magento\CatalogSearch\Model\ResourceModel\Engine - * @since 2.0.1 */ private $engine; /** * @var Resource - * @since 2.0.1 */ private $resource; /** * @var \Magento\Framework\DB\Adapter\AdapterInterface - * @since 2.0.1 */ private $connection; /** * @var \Magento\Framework\EntityManager\EntityMetadata - * @since 2.1.0 */ private $metadata; /** * @var array - * @since 2.2.0 */ private $attributeOptions = []; @@ -124,7 +110,7 @@ class DataProvider * @param \Magento\Framework\Event\ManagerInterface $eventManager * @param \Magento\Store\Model\StoreManagerInterface $storeManager * @param \Magento\Framework\EntityManager\MetadataPool $metadataPool - * @since 2.0.1 + * @since 100.0.3 */ public function __construct( ResourceConnection $resource, @@ -152,7 +138,6 @@ public function __construct( * * @param string|string[] $table * @return string - * @since 2.0.1 */ private function getTable($table) { @@ -168,7 +153,7 @@ private function getTable($table) * @param int $lastProductId * @param int $limit * @return array - * @since 2.0.1 + * @since 100.0.3 */ public function getSearchableProducts( $storeId, @@ -206,7 +191,7 @@ public function getSearchableProducts( * * @param string $backendType * @return \Magento\Eav\Model\Entity\Attribute[] - * @since 2.0.1 + * @since 100.0.3 */ public function getSearchableAttributes($backendType = null) { @@ -253,7 +238,7 @@ public function getSearchableAttributes($backendType = null) * * @param int|string $attribute * @return \Magento\Eav\Model\Entity\Attribute - * @since 2.0.1 + * @since 100.0.3 */ public function getSearchableAttribute($attribute) { @@ -279,7 +264,6 @@ public function getSearchableAttribute($attribute) * @param string $field * @param string $backendType * @return \Zend_Db_Expr - * @since 2.0.1 */ private function unifyField($field, $backendType = 'varchar') { @@ -298,7 +282,7 @@ private function unifyField($field, $backendType = 'varchar') * @param array $productIds * @param array $attributeTypes * @return array - * @since 2.0.1 + * @since 100.0.3 */ public function getProductAttributes($storeId, array $productIds, array $attributeTypes) { @@ -360,7 +344,6 @@ public function getProductAttributes($storeId, array $productIds, array $attribu * * @param string $typeId * @return \Magento\Catalog\Model\Product\Type\AbstractType - * @since 2.0.1 */ private function getProductTypeInstance($typeId) { @@ -378,7 +361,7 @@ private function getProductTypeInstance($typeId) * @param int $productId Product Entity Id * @param string $typeId Super Product Link Type * @return array|null - * @since 2.0.1 + * @since 100.0.3 */ public function getProductChildIds($productId, $typeId) { @@ -414,7 +397,6 @@ public function getProductChildIds($productId, $typeId) * * @param string $typeId * @return \Magento\Framework\DataObject - * @since 2.0.1 */ private function getProductEmulator($typeId) { @@ -434,7 +416,7 @@ private function getProductEmulator($typeId) * @param int $storeId * @return string * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.1 + * @since 100.0.3 */ public function prepareProductIndex($indexData, $productData, $storeId) { @@ -498,7 +480,6 @@ public function prepareProductIndex($indexData, $productData, $storeId) * @param mixed $valueId * @param int $storeId * @return string - * @since 2.0.1 */ private function getAttributeValue($attributeId, $valueId, $storeId) { diff --git a/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Action/Full.php b/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Action/Full.php index 18adc0e9982c5..258e74dd6036a 100644 --- a/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Action/Full.php +++ b/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Action/Full.php @@ -39,7 +39,7 @@ class Full * Index values separator * * @var string - * @deprecated 2.2.0 Moved to \Magento\CatalogSearch\Model\Indexer\Fulltext\Action\DataProvider + * @deprecated 100.2.0 Moved to \Magento\CatalogSearch\Model\Indexer\Fulltext\Action\DataProvider * @see \Magento\CatalogSearch\Model\Indexer\Fulltext\Action\DataProvider::$separator */ protected $separator = ' | '; @@ -48,7 +48,7 @@ class Full * Array of \DateTime objects per store * * @var \DateTime[] - * @deprecated 2.2.0 Not used anymore + * @deprecated 100.2.0 Not used anymore */ protected $dates = []; @@ -56,7 +56,7 @@ class Full * Product Type Instances cache * * @var array - * @deprecated 2.2.0 Moved to \Magento\CatalogSearch\Model\Indexer\Fulltext\Action\DataProvider + * @deprecated 100.2.0 Moved to \Magento\CatalogSearch\Model\Indexer\Fulltext\Action\DataProvider * @see \Magento\CatalogSearch\Model\Indexer\Fulltext\Action\DataProvider::$productTypes */ protected $productTypes = []; @@ -65,7 +65,7 @@ class Full * Product Emulators cache * * @var array - * @deprecated 2.2.0 Moved to \Magento\CatalogSearch\Model\Indexer\Fulltext\Action\DataProvider + * @deprecated 100.2.0 Moved to \Magento\CatalogSearch\Model\Indexer\Fulltext\Action\DataProvider * @see \Magento\CatalogSearch\Model\Indexer\Fulltext\Action\DataProvider::$productEmulators */ protected $productEmulators = []; @@ -93,7 +93,7 @@ class Full * Catalog product type * * @var \Magento\Catalog\Model\Product\Type - * @deprecated 2.2.0 Moved to \Magento\CatalogSearch\Model\Indexer\Fulltext\Action\DataProvider + * @deprecated 100.2.0 Moved to \Magento\CatalogSearch\Model\Indexer\Fulltext\Action\DataProvider * @see \Magento\CatalogSearch\Model\Indexer\Fulltext\Action\DataProvider::$catalogProductType */ protected $catalogProductType; @@ -109,7 +109,7 @@ class Full * Core store config * * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @deprecated 2.2.0 Not used anymore + * @deprecated 100.2.0 Not used anymore */ protected $scopeConfig; @@ -117,7 +117,7 @@ class Full * Store manager * * @var \Magento\Store\Model\StoreManagerInterface - * @deprecated 2.2.0 Moved to \Magento\CatalogSearch\Model\Indexer\Fulltext\Action\DataProvider + * @deprecated 100.2.0 Moved to \Magento\CatalogSearch\Model\Indexer\Fulltext\Action\DataProvider * @see \Magento\CatalogSearch\Model\Indexer\Fulltext\Action\DataProvider::$storeManager */ protected $storeManager; @@ -129,25 +129,25 @@ class Full /** * @var \Magento\Framework\Indexer\SaveHandler\IndexerInterface - * @deprecated 2.2.0 As part of self::cleanIndex() + * @deprecated 100.2.0 As part of self::cleanIndex() */ protected $indexHandler; /** * @var \Magento\Framework\Stdlib\DateTime - * @deprecated 2.2.0 Not used anymore + * @deprecated 100.2.0 Not used anymore */ protected $dateTime; /** * @var \Magento\Framework\Locale\ResolverInterface - * @deprecated 2.2.0 Not used anymore + * @deprecated 100.2.0 Not used anymore */ protected $localeResolver; /** * @var \Magento\Framework\Stdlib\DateTime\TimezoneInterface - * @deprecated 2.2.0 Not used anymore + * @deprecated 100.2.0 Not used anymore */ protected $localeDate; @@ -158,19 +158,19 @@ class Full /** * @var \Magento\CatalogSearch\Model\ResourceModel\Fulltext - * @deprecated 2.2.0 Not used anymore + * @deprecated 100.2.0 Not used anymore */ protected $fulltextResource; /** * @var \Magento\Framework\Search\Request\Config - * @deprecated 2.2.0 As part of self::reindexAll() + * @deprecated 100.2.0 As part of self::reindexAll() */ protected $searchRequestConfig; /** * @var \Magento\Framework\Search\Request\DimensionFactory - * @deprecated 2.2.0 As part of self::cleanIndex() + * @deprecated 100.2.0 As part of self::cleanIndex() */ private $dimensionFactory; @@ -181,21 +181,18 @@ class Full /** * @var \Magento\CatalogSearch\Model\Indexer\Fulltext\Action\IndexIteratorFactory - * @deprecated 2.2.0 DataProvider used directly without IndexIterator + * @deprecated 100.2.0 DataProvider used directly without IndexIterator * @see self::$dataProvider - * @since 2.0.1 */ private $iteratorFactory; /** * @var \Magento\Framework\EntityManager\MetadataPool - * @since 2.1.6 */ private $metadataPool; /** * @var DataProvider - * @since 2.2.0 */ private $dataProvider; @@ -271,7 +268,7 @@ public function __construct( /** * Rebuild whole fulltext index for all stores * - * @deprecated 2.2.0 Please use \Magento\CatalogSearch\Model\Indexer\Fulltext::executeFull instead + * @deprecated 100.2.0 Please use \Magento\CatalogSearch\Model\Indexer\Fulltext::executeFull instead * @see \Magento\CatalogSearch\Model\Indexer\Fulltext::executeFull * @return void */ @@ -401,7 +398,6 @@ public function rebuildStoreIndex($storeId, $productIds = null) * * @param array $products * @return array - * @since 2.2.0 */ private function getRelatedProducts($products) { @@ -424,7 +420,6 @@ private function getRelatedProducts($products) * @param int $productId * @param array $productsAttributes * @return bool - * @since 2.2.0 */ private function isProductVisible($productId, array $productsAttributes) { @@ -444,7 +439,6 @@ private function isProductVisible($productId, array $productsAttributes) * @param int $productId * @param array $productsAttributes * @return bool - * @since 2.2.0 */ private function isProductEnabled($productId, array $productsAttributes) { @@ -465,7 +459,6 @@ private function isProductEnabled($productId, array $productsAttributes) * @param array $relatedProducts * @param array $productsAttributes * @return array - * @since 2.2.0 */ private function getChildProductsIndex($parentId, array $relatedProducts, array $productsAttributes) { @@ -481,7 +474,7 @@ private function getChildProductsIndex($parentId, array $relatedProducts, array /** * Clean search index data for store * - * @deprecated 2.2.0 As part of self::reindexAll() + * @deprecated 100.2.0 As part of self::reindexAll() * @param int $storeId * @return void */ @@ -495,7 +488,7 @@ protected function cleanIndex($storeId) * Retrieve EAV Config Singleton * * @return \Magento\Eav\Model\Config - * @deprecated 2.2.0 Use $self::$eavConfig directly + * @deprecated 100.2.0 Use $self::$eavConfig directly */ protected function getEavConfig() { @@ -506,7 +499,7 @@ protected function getEavConfig() * Retrieve searchable attributes * * @param string $backendType - * @deprecated 2.2.0 see DataProvider::getSearchableAttributes() + * @deprecated 100.2.0 see DataProvider::getSearchableAttributes() * @return \Magento\Eav\Model\Entity\Attribute[] */ protected function getSearchableAttributes($backendType = null) @@ -518,7 +511,7 @@ protected function getSearchableAttributes($backendType = null) * Retrieve searchable attribute by Id or code * * @param int|string $attribute - * @deprecated 2.2.0 see DataProvider::getSearchableAttributes() + * @deprecated 100.2.0 see DataProvider::getSearchableAttributes() * @return \Magento\Eav\Model\Entity\Attribute */ protected function getSearchableAttribute($attribute) @@ -529,7 +522,7 @@ protected function getSearchableAttribute($attribute) /** * Returns expression for field unification * - * @deprecated 2.2.0 Moved to \Magento\CatalogSearch\Model\Indexer\Fulltext\Action\DataProvider + * @deprecated 100.2.0 Moved to \Magento\CatalogSearch\Model\Indexer\Fulltext\Action\DataProvider * @see \Magento\CatalogSearch\Model\Indexer\Fulltext\Action\DataProvider::unifyField() * @param string $field * @param string $backendType @@ -548,7 +541,7 @@ protected function unifyField($field, $backendType = 'varchar') /** * Retrieve Product Type Instance * - * @deprecated 2.2.0 Moved to \Magento\CatalogSearch\Model\Indexer\Fulltext\Action\DataProvider + * @deprecated 100.2.0 Moved to \Magento\CatalogSearch\Model\Indexer\Fulltext\Action\DataProvider * @see \Magento\CatalogSearch\Model\Indexer\Fulltext\Action\DataProvider::getProductTypeInstance() * @param string $typeId * @return \Magento\Catalog\Model\Product\Type\AbstractType @@ -566,7 +559,7 @@ protected function getProductTypeInstance($typeId) /** * Retrieve Product Emulator (Magento Object) * - * @deprecated 2.2.0 Moved to \Magento\CatalogSearch\Model\Indexer\Fulltext\Action\DataProvider + * @deprecated 100.2.0 Moved to \Magento\CatalogSearch\Model\Indexer\Fulltext\Action\DataProvider * @see \Magento\CatalogSearch\Model\Indexer\Fulltext\Action\DataProvider::getProductEmulator() * @param string $typeId * @return \Magento\Framework\DataObject diff --git a/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Action/IndexIterator.php b/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Action/IndexIterator.php index 7e1b8f0574574..1628c71f88ade 100644 --- a/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Action/IndexIterator.php +++ b/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Action/IndexIterator.php @@ -10,106 +10,90 @@ * @SuppressWarnings(PHPMD.TooManyFields) * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @deprecated 2.2.0 No more used + * @deprecated 100.2.0 No more used * @see \Magento\CatalogSearch\Model\Indexer\Fulltext\Action\Full * @api - * @since 2.0.1 + * @since 100.0.3 */ class IndexIterator implements \Iterator { /** * @var \Magento\CatalogSearch\Model\Indexer\Fulltext\Action\DataProvider - * @since 2.0.1 */ private $dataProvider; /** * @var int - * @since 2.0.1 */ private $storeId; /** * @var array - * @since 2.0.1 */ private $staticFields; /** * @var array - * @since 2.0.1 */ private $productIds; /** * @var array - * @since 2.0.1 */ private $dynamicFields; /** * @var \Magento\Eav\Model\Entity\Attribute - * @since 2.0.1 */ private $visibility; /** * @var array - * @since 2.0.1 */ private $allowedVisibility; /** * @var \Magento\Eav\Model\Entity\Attribute - * @since 2.0.1 */ private $status; /** * @var array - * @since 2.0.1 */ private $statusIds; /** * @var int - * @since 2.0.1 */ private $lastProductId = 0; /** * @var array - * @since 2.0.1 */ private $products = []; /** * @var null - * @since 2.0.1 */ private $current = null; /** * @var bool - * @since 2.0.1 */ private $isValid = true; /** * @var null - * @since 2.0.1 */ private $key = null; /** * @var array - * @since 2.0.1 */ private $productAttributes = []; /** * @var array - * @since 2.0.1 */ private $productRelations = []; @@ -127,7 +111,7 @@ class IndexIterator implements \Iterator * @param array $statusIds * * @SuppressWarnings(Magento.TypeDuplication) - * @since 2.0.1 + * @since 100.0.3 */ public function __construct( DataProvider $dataProvider, @@ -154,8 +138,8 @@ public function __construct( /** * {@inheritDoc} * - * @deprecated 2.2.0 Since class is deprecated - * @since 2.0.1 + * @deprecated 100.2.0 Since class is deprecated + * @since 100.0.3 */ public function current() { @@ -165,8 +149,8 @@ public function current() /** * {@inheritDoc} * - * @deprecated 2.2.0 Since class is deprecated - * @since 2.0.1 + * @deprecated 100.2.0 Since class is deprecated + * @since 100.0.3 */ public function next() { @@ -264,8 +248,8 @@ public function next() /** * {@inheritDoc} * - * @deprecated 2.2.0 Since class is deprecated - * @since 2.0.1 + * @deprecated 100.2.0 Since class is deprecated + * @since 100.0.3 */ public function key() { @@ -275,8 +259,8 @@ public function key() /** * {@inheritDoc} * - * @deprecated 2.2.0 Since class is deprecated - * @since 2.0.1 + * @deprecated 100.2.0 Since class is deprecated + * @since 100.0.3 */ public function valid() { @@ -286,8 +270,8 @@ public function valid() /** * {@inheritDoc} * - * @deprecated 2.2.0 Since class is deprecated - * @since 2.0.1 + * @deprecated 100.2.0 Since class is deprecated + * @since 100.0.3 */ public function rewind() { diff --git a/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Plugin/Attribute.php b/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Plugin/Attribute.php index b4e943f04bd03..66d9ce2119991 100644 --- a/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Plugin/Attribute.php +++ b/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Plugin/Attribute.php @@ -20,19 +20,16 @@ class Attribute extends AbstractPlugin /** * @var boolean - * @since 2.2.0 */ private $deleteNeedInvalidation; /** * @var boolean - * @since 2.2.0 */ private $saveNeedInvalidation; /** * @var boolean - * @since 2.2.0 */ private $saveIsNew; @@ -56,7 +53,6 @@ public function __construct( * * @return void * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.2.0 */ public function beforeSave( \Magento\Catalog\Model\ResourceModel\Attribute $subject, @@ -78,7 +74,6 @@ public function beforeSave( * * @return \Magento\Catalog\Model\ResourceModel\Attribute * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.2.0 */ public function afterSave( \Magento\Catalog\Model\ResourceModel\Attribute $subject, @@ -102,7 +97,6 @@ public function afterSave( * * @return void * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.2.0 */ public function beforeDelete( \Magento\Catalog\Model\ResourceModel\Attribute $subject, @@ -119,7 +113,6 @@ public function beforeDelete( * * @return \Magento\Catalog\Model\ResourceModel\Attribute * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.2.0 */ public function afterDelete( \Magento\Catalog\Model\ResourceModel\Attribute $subject, diff --git a/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Plugin/Category.php b/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Plugin/Category.php index 9c3d62d24f786..e9c0e06ac38a0 100644 --- a/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Plugin/Category.php +++ b/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Plugin/Category.php @@ -12,7 +12,6 @@ /** * Class Category * @package Magento\CatalogSearch\Model\Indexer\Fulltext\Plugin - * @since 2.1.0 */ class Category extends AbstractPlugin { @@ -24,7 +23,6 @@ class Category extends AbstractPlugin * @param AbstractModel $category * @return ResourceCategory * @throws \Exception - * @since 2.1.0 */ public function aroundSave(ResourceCategory $resourceCategory, \Closure $proceed, AbstractModel $category) { @@ -37,7 +35,6 @@ public function aroundSave(ResourceCategory $resourceCategory, \Closure $proceed * @param AbstractModel $category * @return ResourceCategory * @throws \Exception - * @since 2.1.0 */ private function addCommitCallback(ResourceCategory $resourceCategory, \Closure $proceed, AbstractModel $category) { diff --git a/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Plugin/Product.php b/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Plugin/Product.php index df40efc02f631..e19583355fd19 100644 --- a/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Plugin/Product.php +++ b/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Plugin/Product.php @@ -47,7 +47,6 @@ public function aroundDelete(ResourceProduct $productResource, \Closure $proceed * @param AbstractModel $product * @return ResourceProduct * @throws \Exception - * @since 2.1.0 */ private function addCommitCallback(ResourceProduct $productResource, \Closure $proceed, AbstractModel $product) { diff --git a/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Plugin/Product/Action.php b/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Plugin/Product/Action.php index edbb0f50c2e21..75bf4cbd0f3f6 100644 --- a/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Plugin/Product/Action.php +++ b/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Plugin/Product/Action.php @@ -24,7 +24,6 @@ class Action extends AbstractIndexerPlugin * @return ProductAction * * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.2.0 */ public function afterUpdateAttributes( ProductAction $subject, @@ -49,7 +48,6 @@ public function afterUpdateAttributes( * @return void * * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.2.0 */ public function afterUpdateWebsites(ProductAction $subject, $result, $productIds, $websiteIds, $type) { diff --git a/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Plugin/Store/Group.php b/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Plugin/Store/Group.php index 99dffb141f39f..73a79f7c87239 100644 --- a/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Plugin/Store/Group.php +++ b/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Plugin/Store/Group.php @@ -17,7 +17,6 @@ class Group extends AbstractIndexerPlugin { /** * @var bool - * @since 2.2.0 */ private $needInvalidation; @@ -29,7 +28,6 @@ class Group extends AbstractIndexerPlugin * @return void * * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.2.0 */ public function beforeSave(StoreGroupResourceModel $subject, AbstractModel $group) { @@ -44,7 +42,6 @@ public function beforeSave(StoreGroupResourceModel $subject, AbstractModel $grou * @return StoreGroupResourceModel * * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.2.0 */ public function afterSave(StoreGroupResourceModel $subject, StoreGroupResourceModel $result) { diff --git a/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Plugin/Store/View.php b/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Plugin/Store/View.php index 4b7ecf7fee4b8..7f0c5fdae6d42 100644 --- a/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Plugin/Store/View.php +++ b/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Plugin/Store/View.php @@ -17,7 +17,6 @@ class View extends AbstractIndexerPlugin { /** * @var bool - * @since 2.2.0 */ private $needInvalidation; @@ -29,7 +28,6 @@ class View extends AbstractIndexerPlugin * @return void * * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.2.0 */ public function beforeSave(StoreResourceModel $subject, AbstractModel $store) { @@ -44,7 +42,6 @@ public function beforeSave(StoreResourceModel $subject, AbstractModel $store) * @return StoreResourceModel * * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.2.0 */ public function afterSave(StoreResourceModel $subject, StoreResourceModel $result) { diff --git a/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Processor.php b/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Processor.php index c9c46eb5a18dd..cd3ff62d53682 100644 --- a/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Processor.php +++ b/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Processor.php @@ -11,7 +11,7 @@ /** * Class Processor * @api - * @since 2.1.0 + * @since 100.1.0 */ class Processor extends AbstractProcessor { diff --git a/app/code/Magento/CatalogSearch/Model/Indexer/IndexStructureFactory.php b/app/code/Magento/CatalogSearch/Model/Indexer/IndexStructureFactory.php index 68e365fa6e195..412720fedf703 100644 --- a/app/code/Magento/CatalogSearch/Model/Indexer/IndexStructureFactory.php +++ b/app/code/Magento/CatalogSearch/Model/Indexer/IndexStructureFactory.php @@ -12,7 +12,7 @@ /** * @api - * @since 2.1.0 + * @since 100.1.0 */ class IndexStructureFactory { @@ -20,7 +20,7 @@ class IndexStructureFactory * Object Manager instance * * @var ObjectManagerInterface - * @since 2.1.0 + * @since 100.1.0 */ protected $objectManager = null; @@ -28,13 +28,12 @@ class IndexStructureFactory * Instance name to create * * @var string - * @since 2.1.0 + * @since 100.1.0 */ protected $structures = null; /** * @var ScopeConfigInterface - * @since 2.1.0 */ private $scopeConfig; @@ -42,7 +41,6 @@ class IndexStructureFactory * Configuration path by which current indexer handler stored * * @var string - * @since 2.1.0 */ private $configPath; @@ -53,7 +51,7 @@ class IndexStructureFactory * @param ScopeConfigInterface $scopeConfig * @param string $configPath * @param string[] $structures - * @since 2.1.0 + * @since 100.1.0 */ public function __construct( ObjectManagerInterface $objectManager, @@ -72,7 +70,7 @@ public function __construct( * * @param array $data * @return IndexStructureInterface - * @since 2.1.0 + * @since 100.1.0 */ public function create(array $data = []) { diff --git a/app/code/Magento/CatalogSearch/Model/Indexer/IndexStructureProxy.php b/app/code/Magento/CatalogSearch/Model/Indexer/IndexStructureProxy.php index a47ff4853de54..a11268dda95ba 100644 --- a/app/code/Magento/CatalogSearch/Model/Indexer/IndexStructureProxy.php +++ b/app/code/Magento/CatalogSearch/Model/Indexer/IndexStructureProxy.php @@ -10,25 +10,21 @@ /** * Class \Magento\CatalogSearch\Model\Indexer\IndexStructureProxy * - * @since 2.1.0 */ class IndexStructureProxy implements IndexStructureInterface { /** * @var IndexStructureInterface - * @since 2.1.0 */ private $indexStructureEntity; /** * @var IndexStructureFactory - * @since 2.1.0 */ private $indexStructureFactory; /** * @param IndexStructureFactory $indexStructureFactory - * @since 2.1.0 */ public function __construct( IndexStructureFactory $indexStructureFactory @@ -38,7 +34,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.1.0 */ public function delete( $index, @@ -49,7 +44,6 @@ public function delete( /** * {@inheritdoc} - * @since 2.1.0 */ public function create( $index, @@ -63,7 +57,6 @@ public function create( * Get instance of current index structure * * @return IndexStructureInterface - * @since 2.1.0 */ private function getEntity() { diff --git a/app/code/Magento/CatalogSearch/Model/Indexer/IndexSwitcherInterface.php b/app/code/Magento/CatalogSearch/Model/Indexer/IndexSwitcherInterface.php index 3087cbba1751b..bdb663a0b616d 100644 --- a/app/code/Magento/CatalogSearch/Model/Indexer/IndexSwitcherInterface.php +++ b/app/code/Magento/CatalogSearch/Model/Indexer/IndexSwitcherInterface.php @@ -8,7 +8,7 @@ /** * Provides a functionality to replace main index with its temporary representation * @api - * @since 2.2.0 + * @since 100.2.0 */ interface IndexSwitcherInterface { @@ -19,7 +19,7 @@ interface IndexSwitcherInterface * * @param array $dimensions * @return void - * @since 2.2.0 + * @since 100.2.0 */ public function switchIndex(array $dimensions); } diff --git a/app/code/Magento/CatalogSearch/Model/Indexer/IndexSwitcherProxy.php b/app/code/Magento/CatalogSearch/Model/Indexer/IndexSwitcherProxy.php index f651d03bfebd1..47357e8023bb3 100644 --- a/app/code/Magento/CatalogSearch/Model/Indexer/IndexSwitcherProxy.php +++ b/app/code/Magento/CatalogSearch/Model/Indexer/IndexSwitcherProxy.php @@ -12,7 +12,6 @@ /** * Proxy for adapter-specific index switcher - * @since 2.2.0 */ class IndexSwitcherProxy implements IndexSwitcherInterface { @@ -20,7 +19,6 @@ class IndexSwitcherProxy implements IndexSwitcherInterface * Object Manager instance * * @var ObjectManagerInterface - * @since 2.2.0 */ private $objectManager = null; @@ -28,13 +26,11 @@ class IndexSwitcherProxy implements IndexSwitcherInterface * Instance name to create * * @var string - * @since 2.2.0 */ private $handlers; /** * @var ScopeConfigInterface - * @since 2.2.0 */ private $scopeConfig; @@ -42,7 +38,6 @@ class IndexSwitcherProxy implements IndexSwitcherInterface * Configuration path by which current indexer handler stored * * @var string - * @since 2.2.0 */ private $configPath; @@ -53,7 +48,6 @@ class IndexSwitcherProxy implements IndexSwitcherInterface * @param ScopeConfigInterface $scopeConfig * @param string $configPath * @param string[] $handlers - * @since 2.2.0 */ public function __construct( ObjectManagerInterface $objectManager, @@ -75,7 +69,6 @@ public function __construct( * which cannot create temporary indexes on the fly. * That's the reason why this method do nothing for the case * when switcher is not defined for a specific search engine. - * @since 2.2.0 */ public function switchIndex(array $dimensions) { @@ -91,7 +84,6 @@ public function switchIndex(array $dimensions) * * @param string $handler * @return IndexSwitcherInterface - * @since 2.2.0 */ private function create($handler) { diff --git a/app/code/Magento/CatalogSearch/Model/Indexer/Scope/IndexSwitcher.php b/app/code/Magento/CatalogSearch/Model/Indexer/Scope/IndexSwitcher.php index 41f2eb8f5a58b..86649cd1093d2 100644 --- a/app/code/Magento/CatalogSearch/Model/Indexer/Scope/IndexSwitcher.php +++ b/app/code/Magento/CatalogSearch/Model/Indexer/Scope/IndexSwitcher.php @@ -11,25 +11,21 @@ /** * Provides a functionality to replace main index with its temporary representation - * @since 2.2.0 */ class IndexSwitcher implements IndexSwitcherInterface { /** * @var Resource - * @since 2.2.0 */ private $resource; /** * @var ScopeProxy - * @since 2.2.0 */ private $resolver; /** * @var State - * @since 2.2.0 */ private $state; @@ -37,7 +33,6 @@ class IndexSwitcher implements IndexSwitcherInterface * @param ResourceConnection $resource * @param IndexScopeResolverInterface $indexScopeResolver * @param State $state - * @since 2.2.0 */ public function __construct( ResourceConnection $resource, @@ -52,7 +47,6 @@ public function __construct( /** * {@inheritdoc} * @throws IndexTableNotExistException - * @since 2.2.0 */ public function switchIndex(array $dimensions) { diff --git a/app/code/Magento/CatalogSearch/Model/Indexer/Scope/IndexTableNotExistException.php b/app/code/Magento/CatalogSearch/Model/Indexer/Scope/IndexTableNotExistException.php index cf9e3550c4c54..a386b74084af3 100644 --- a/app/code/Magento/CatalogSearch/Model/Indexer/Scope/IndexTableNotExistException.php +++ b/app/code/Magento/CatalogSearch/Model/Indexer/Scope/IndexTableNotExistException.php @@ -13,7 +13,7 @@ * but it does not exist in a database * * @api - * @since 2.2.0 + * @since 100.2.0 */ class IndexTableNotExistException extends LocalizedException { diff --git a/app/code/Magento/CatalogSearch/Model/Indexer/Scope/ScopeProxy.php b/app/code/Magento/CatalogSearch/Model/Indexer/Scope/ScopeProxy.php index cb2b915e92068..9166ddbef60da 100644 --- a/app/code/Magento/CatalogSearch/Model/Indexer/Scope/ScopeProxy.php +++ b/app/code/Magento/CatalogSearch/Model/Indexer/Scope/ScopeProxy.php @@ -11,7 +11,6 @@ /** * Implementation of IndexScopeResolverInterface which resolves index scope dynamically * depending on current scope state - * @since 2.2.0 */ class ScopeProxy implements \Magento\Framework\Search\Request\IndexScopeResolverInterface { @@ -19,19 +18,16 @@ class ScopeProxy implements \Magento\Framework\Search\Request\IndexScopeResolver * Object Manager instance * * @var \Magento\Framework\ObjectManagerInterface - * @since 2.2.0 */ private $objectManager; /** * @var array - * @since 2.2.0 */ private $states = []; /** * @var State - * @since 2.2.0 */ private $scopeState; @@ -41,7 +37,6 @@ class ScopeProxy implements \Magento\Framework\Search\Request\IndexScopeResolver * @param \Magento\Framework\ObjectManagerInterface $objectManager * @param State $scopeState * @param array $states - * @since 2.2.0 */ public function __construct( \Magento\Framework\ObjectManagerInterface $objectManager, @@ -59,7 +54,6 @@ public function __construct( * @param string $state * @return \Magento\Framework\Search\Request\IndexScopeResolverInterface * @throws UnknownStateException - * @since 2.2.0 */ private function create($state) { @@ -73,7 +67,6 @@ private function create($state) * @param string $index * @param Dimension[] $dimensions * @return string - * @since 2.2.0 */ public function resolve($index, array $dimensions) { diff --git a/app/code/Magento/CatalogSearch/Model/Indexer/Scope/State.php b/app/code/Magento/CatalogSearch/Model/Indexer/Scope/State.php index 351e092fd5ca5..5f9a3e305995a 100644 --- a/app/code/Magento/CatalogSearch/Model/Indexer/Scope/State.php +++ b/app/code/Magento/CatalogSearch/Model/Indexer/Scope/State.php @@ -18,7 +18,6 @@ * The 'use_temporary_table' state is an opposite for 'use_main_table' * which means that default indexer table should be left unchanged during indexation * and temporary table should be used instead. - * @since 2.2.0 */ class State { @@ -27,14 +26,12 @@ class State /** * @var string - * @since 2.2.0 */ private $state = self::USE_REGULAR_INDEX; /** * Set the state to use temporary Index * @return void - * @since 2.2.0 */ public function useTemporaryIndex() { @@ -44,7 +41,6 @@ public function useTemporaryIndex() /** * Set the state to use regular Index * @return void - * @since 2.2.0 */ public function useRegularIndex() { @@ -53,7 +49,6 @@ public function useRegularIndex() /** * @return string - * @since 2.2.0 */ public function getState() { diff --git a/app/code/Magento/CatalogSearch/Model/Indexer/Scope/TemporaryResolver.php b/app/code/Magento/CatalogSearch/Model/Indexer/Scope/TemporaryResolver.php index 2aa2114a44a2a..c52a0a0586659 100644 --- a/app/code/Magento/CatalogSearch/Model/Indexer/Scope/TemporaryResolver.php +++ b/app/code/Magento/CatalogSearch/Model/Indexer/Scope/TemporaryResolver.php @@ -11,19 +11,16 @@ /** * Resolves name of a temporary table for indexation - * @since 2.2.0 */ class TemporaryResolver implements \Magento\Framework\Search\Request\IndexScopeResolverInterface { /** * @var IndexScopeResolver - * @since 2.2.0 */ private $indexScopeResolver; /** * @inheritDoc - * @since 2.2.0 */ public function __construct(IndexScopeResolver $indexScopeResolver) { @@ -34,7 +31,6 @@ public function __construct(IndexScopeResolver $indexScopeResolver) * @param string $index * @param Dimension[] $dimensions * @return string - * @since 2.2.0 */ public function resolve($index, array $dimensions) { diff --git a/app/code/Magento/CatalogSearch/Model/Indexer/Scope/UnknownStateException.php b/app/code/Magento/CatalogSearch/Model/Indexer/Scope/UnknownStateException.php index a6c39aac36261..b44a2d220545c 100644 --- a/app/code/Magento/CatalogSearch/Model/Indexer/Scope/UnknownStateException.php +++ b/app/code/Magento/CatalogSearch/Model/Indexer/Scope/UnknownStateException.php @@ -12,7 +12,7 @@ * Exception for situation where used state which is not defined in configuration * * @api - * @since 2.2.0 + * @since 100.2.0 */ class UnknownStateException extends LocalizedException { diff --git a/app/code/Magento/CatalogSearch/Model/Layer/Filter/Attribute.php b/app/code/Magento/CatalogSearch/Model/Layer/Filter/Attribute.php index 7591d5ec54c7d..7aac6e98fc044 100644 --- a/app/code/Magento/CatalogSearch/Model/Layer/Filter/Attribute.php +++ b/app/code/Magento/CatalogSearch/Model/Layer/Filter/Attribute.php @@ -110,7 +110,6 @@ protected function _getItemsData() * @param array $optionsFacetedData * @param int $productSize * @return void - * @since 2.2.0 */ private function buildOptionData($option, $isAttributeFilterable, $optionsFacetedData, $productSize) { @@ -135,7 +134,6 @@ private function buildOptionData($option, $isAttributeFilterable, $optionsFacete * * @param array $option * @return bool|string - * @since 2.2.0 */ private function getOptionValue($option) { @@ -151,7 +149,6 @@ private function getOptionValue($option) * @param int|string $value * @param array $optionsFacetedData * @return int - * @since 2.2.0 */ private function getOptionCount($value, $optionsFacetedData) { diff --git a/app/code/Magento/CatalogSearch/Model/Layer/Search/Plugin/CollectionFilter.php b/app/code/Magento/CatalogSearch/Model/Layer/Search/Plugin/CollectionFilter.php index c1f08ef94e15a..cb8123b391cd0 100644 --- a/app/code/Magento/CatalogSearch/Model/Layer/Search/Plugin/CollectionFilter.php +++ b/app/code/Magento/CatalogSearch/Model/Layer/Search/Plugin/CollectionFilter.php @@ -37,7 +37,6 @@ public function __construct(QueryFactory $queryFactory) * @param Category $category * @return void * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.2.0 */ public function afterFilter( \Magento\Catalog\Model\Layer\Search\CollectionFilter $subject, diff --git a/app/code/Magento/CatalogSearch/Model/ResourceModel/Advanced/Collection.php b/app/code/Magento/CatalogSearch/Model/ResourceModel/Advanced/Collection.php index 201e07376487c..0388b724da89e 100644 --- a/app/code/Magento/CatalogSearch/Model/ResourceModel/Advanced/Collection.php +++ b/app/code/Magento/CatalogSearch/Model/ResourceModel/Advanced/Collection.php @@ -33,7 +33,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Product\Collection /** * @var \Magento\Search\Api\SearchInterface - * @since 2.1.0 */ private $search; @@ -44,19 +43,16 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Product\Collection /** * @var SearchCriteriaBuilder - * @since 2.1.0 */ private $searchCriteriaBuilder; /** * @var SearchResultFactory - * @since 2.1.0 */ private $searchResultFactory; /** * @var FilterBuilder - * @since 2.1.0 */ private $filterBuilder; @@ -227,7 +223,6 @@ private function getAttributeCode($attributeCode) * @param string $attributeCode * @param array|string $attributeValue * @return void - * @since 2.1.0 */ private function addAttributeToSearch($attributeCode, $attributeValue) { @@ -254,7 +249,6 @@ private function addAttributeToSearch($attributeCode, $attributeValue) * @param string $attributeCode * @param array|string $attributeValue * @return void - * @since 2.1.0 */ private function addRangeAttributeToSearch($attributeCode, $attributeValue) { @@ -270,7 +264,6 @@ private function addRangeAttributeToSearch($attributeCode, $attributeValue) /** * @return \Magento\Search\Api\SearchInterface - * @since 2.1.0 */ private function getSearch() { @@ -283,7 +276,6 @@ private function getSearch() /** * @return SearchCriteriaBuilder - * @since 2.1.0 */ private function getSearchCriteriaBuilder() { @@ -296,7 +288,6 @@ private function getSearchCriteriaBuilder() /** * @return FilterBuilder - * @since 2.1.0 */ private function getFilterBuilder() { diff --git a/app/code/Magento/CatalogSearch/Model/ResourceModel/Fulltext.php b/app/code/Magento/CatalogSearch/Model/ResourceModel/Fulltext.php index 4ea44e60a780a..ccae804fa42af 100644 --- a/app/code/Magento/CatalogSearch/Model/ResourceModel/Fulltext.php +++ b/app/code/Magento/CatalogSearch/Model/ResourceModel/Fulltext.php @@ -27,7 +27,6 @@ class Fulltext extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * Holder for MetadataPool instance. * * @var MetadataPool - * @since 2.2.0 */ private $metadataPool; @@ -76,7 +75,7 @@ public function resetSearchResults() * * @param int|array $childIds * @return array - * @since 2.2.0 + * @since 100.2.0 */ public function getRelationsByChild($childIds) { diff --git a/app/code/Magento/CatalogSearch/Model/ResourceModel/Fulltext/Collection.php b/app/code/Magento/CatalogSearch/Model/ResourceModel/Fulltext/Collection.php index 97a29ae324817..1ad3076f5d47e 100644 --- a/app/code/Magento/CatalogSearch/Model/ResourceModel/Fulltext/Collection.php +++ b/app/code/Magento/CatalogSearch/Model/ResourceModel/Fulltext/Collection.php @@ -28,7 +28,7 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Product\Collection { /** * @var QueryResponse - * @deprecated 2.1.0 + * @deprecated 100.1.0 */ protected $queryResponse; @@ -36,19 +36,19 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Product\Collection * Catalog search data * * @var \Magento\Search\Model\QueryFactory - * @deprecated 2.1.0 + * @deprecated 100.1.0 */ protected $queryFactory = null; /** * @var \Magento\Framework\Search\Request\Builder - * @deprecated 2.1.0 + * @deprecated 100.1.0 */ private $requestBuilder; /** * @var \Magento\Search\Model\SearchEngine - * @deprecated 2.1.0 + * @deprecated 100.1.0 */ private $searchEngine; @@ -74,31 +74,26 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Product\Collection /** * @var \Magento\Search\Api\SearchInterface - * @since 2.1.0 */ private $search; /** * @var \Magento\Framework\Api\Search\SearchCriteriaBuilder - * @since 2.1.0 */ private $searchCriteriaBuilder; /** * @var \Magento\Framework\Api\Search\SearchResultInterface - * @since 2.1.0 */ private $searchResult; /** * @var SearchResultFactory - * @since 2.1.0 */ private $searchResultFactory; /** * @var \Magento\Framework\Api\FilterBuilder - * @since 2.1.0 */ private $filterBuilder; @@ -202,9 +197,8 @@ public function __construct( } /** - * @deprecated 2.1.0 + * @deprecated 100.1.0 * @return \Magento\Search\Api\SearchInterface - * @since 2.1.0 */ private function getSearch() { @@ -215,10 +209,10 @@ private function getSearch() } /** - * @deprecated 2.1.0 + * @deprecated 100.1.0 * @param \Magento\Search\Api\SearchInterface $object * @return void - * @since 2.1.0 + * @since 100.1.0 */ public function setSearch(\Magento\Search\Api\SearchInterface $object) { @@ -226,9 +220,8 @@ public function setSearch(\Magento\Search\Api\SearchInterface $object) } /** - * @deprecated 2.1.0 + * @deprecated 100.1.0 * @return \Magento\Framework\Api\Search\SearchCriteriaBuilder - * @since 2.1.0 */ private function getSearchCriteriaBuilder() { @@ -240,10 +233,10 @@ private function getSearchCriteriaBuilder() } /** - * @deprecated 2.1.0 + * @deprecated 100.1.0 * @param \Magento\Framework\Api\Search\SearchCriteriaBuilder $object * @return void - * @since 2.1.0 + * @since 100.1.0 */ public function setSearchCriteriaBuilder(\Magento\Framework\Api\Search\SearchCriteriaBuilder $object) { @@ -251,9 +244,8 @@ public function setSearchCriteriaBuilder(\Magento\Framework\Api\Search\SearchCri } /** - * @deprecated 2.1.0 + * @deprecated 100.1.0 * @return \Magento\Framework\Api\FilterBuilder - * @since 2.1.0 */ private function getFilterBuilder() { @@ -264,10 +256,10 @@ private function getFilterBuilder() } /** - * @deprecated 2.1.0 + * @deprecated 100.1.0 * @param \Magento\Framework\Api\FilterBuilder $object * @return void - * @since 2.1.0 + * @since 100.1.0 */ public function setFilterBuilder(\Magento\Framework\Api\FilterBuilder $object) { diff --git a/app/code/Magento/CatalogSearch/Model/Search/BaseSelectStrategy/BaseSelectStrategyInterface.php b/app/code/Magento/CatalogSearch/Model/Search/BaseSelectStrategy/BaseSelectStrategyInterface.php index 25b7a3b9678c2..c6495015fee4e 100644 --- a/app/code/Magento/CatalogSearch/Model/Search/BaseSelectStrategy/BaseSelectStrategyInterface.php +++ b/app/code/Magento/CatalogSearch/Model/Search/BaseSelectStrategy/BaseSelectStrategyInterface.php @@ -10,7 +10,6 @@ /** * Interface BaseSelectStrategyInterface * This interface represents strategy that will be used to create base select for search request - * @since 2.2.0 */ interface BaseSelectStrategyInterface { @@ -20,7 +19,6 @@ interface BaseSelectStrategyInterface * @param SelectContainer $selectContainer * @return SelectContainer * @throws \DomainException - * @since 2.2.0 */ public function createBaseSelect(SelectContainer $selectContainer); } diff --git a/app/code/Magento/CatalogSearch/Model/Search/BaseSelectStrategy/StrategyMapper.php b/app/code/Magento/CatalogSearch/Model/Search/BaseSelectStrategy/StrategyMapper.php index d345859fd67e4..65759685c2b62 100644 --- a/app/code/Magento/CatalogSearch/Model/Search/BaseSelectStrategy/StrategyMapper.php +++ b/app/code/Magento/CatalogSearch/Model/Search/BaseSelectStrategy/StrategyMapper.php @@ -12,26 +12,22 @@ /** * Class StrategyMapper * This class is responsible for deciding which BaseSelectStrategyInterface should be used for passed SelectContainer - * @since 2.2.0 */ class StrategyMapper { /** * @var BaseSelectFullTextSearchStrategy - * @since 2.2.0 */ private $baseSelectFullTextSearchStrategy; /** * @var BaseSelectAttributesSearchStrategy - * @since 2.2.0 */ private $baseSelectAttributesSearchStrategy; /** * @param BaseSelectFullTextSearchStrategy $baseSelectFullTextSearchStrategy * @param BaseSelectAttributesSearchStrategy $baseSelectAttributesSearchStrategy - * @since 2.2.0 */ public function __construct( BaseSelectFullTextSearchStrategy $baseSelectFullTextSearchStrategy, @@ -46,7 +42,6 @@ public function __construct( * * @param SelectContainer $selectContainer * @return BaseSelectStrategyInterface - * @since 2.2.0 */ public function mapSelectContainerToStrategy(SelectContainer $selectContainer) { diff --git a/app/code/Magento/CatalogSearch/Model/Search/Catalog.php b/app/code/Magento/CatalogSearch/Model/Search/Catalog.php index b7d3e03a22fd8..4572336d761ed 100644 --- a/app/code/Magento/CatalogSearch/Model/Search/Catalog.php +++ b/app/code/Magento/CatalogSearch/Model/Search/Catalog.php @@ -10,7 +10,7 @@ /** * Search model for backend search * - * @deprecated 2.2.0 + * @deprecated 100.2.0 */ class Catalog extends \Magento\Framework\DataObject { diff --git a/app/code/Magento/CatalogSearch/Model/Search/CustomAttributeFilterCheck.php b/app/code/Magento/CatalogSearch/Model/Search/CustomAttributeFilterCheck.php index d502cc9009421..98bf1e5984a74 100644 --- a/app/code/Magento/CatalogSearch/Model/Search/CustomAttributeFilterCheck.php +++ b/app/code/Magento/CatalogSearch/Model/Search/CustomAttributeFilterCheck.php @@ -12,19 +12,16 @@ /** * Class CustomAttributeFilterSelector * Checks if FilterInterface is by custom attribute - * @since 2.2.0 */ class CustomAttributeFilterCheck { /** * @var EavConfig - * @since 2.2.0 */ private $eavConfig; /** * @param EavConfig $eavConfig - * @since 2.2.0 */ public function __construct( EavConfig $eavConfig @@ -38,7 +35,6 @@ public function __construct( * @param FilterInterface $filter * @return bool * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.2.0 */ public function isCustom(FilterInterface $filter) { @@ -55,7 +51,6 @@ public function isCustom(FilterInterface $filter) * @param string $field * @return \Magento\Catalog\Model\ResourceModel\Eav\Attribute * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.2.0 */ private function getAttributeByCode($field) { diff --git a/app/code/Magento/CatalogSearch/Model/Search/FilterMapper/CustomAttributeFilter.php b/app/code/Magento/CatalogSearch/Model/Search/FilterMapper/CustomAttributeFilter.php index ce8831c7ffdfb..fc93b86f5da5e 100644 --- a/app/code/Magento/CatalogSearch/Model/Search/FilterMapper/CustomAttributeFilter.php +++ b/app/code/Magento/CatalogSearch/Model/Search/FilterMapper/CustomAttributeFilter.php @@ -18,37 +18,31 @@ /** * Class CustomAttributeFilter * Applies filters by custom attributes to base select - * @since 2.2.0 */ class CustomAttributeFilter { /** * @var ResourceConnection - * @since 2.2.0 */ private $resourceConnection; /** * @var ConditionManager - * @since 2.2.0 */ private $conditionManager; /** * @var EavConfig - * @since 2.2.0 */ private $eavConfig; /** * @var StoreManagerInterface - * @since 2.2.0 */ private $storeManager; /** * @var AliasResolver - * @since 2.2.0 */ private $aliasResolver; @@ -58,7 +52,6 @@ class CustomAttributeFilter * @param EavConfig $eavConfig * @param StoreManagerInterface $storeManager * @param AliasResolver $aliasResolver - * @since 2.2.0 */ public function __construct( ResourceConnection $resourceConnection, @@ -83,7 +76,6 @@ public function __construct( * @throws \Magento\Framework\Exception\LocalizedException * @throws \InvalidArgumentException * @throws \DomainException - * @since 2.2.0 */ public function apply(Select $select, FilterInterface ... $filters) { @@ -144,7 +136,6 @@ public function apply(Select $select, FilterInterface ... $filters) * @param string $mainTable * @param string $joinTable * @return array - * @since 2.2.0 */ private function getJoinConditions($attrId, $mainTable, $joinTable) { @@ -170,7 +161,6 @@ private function getJoinConditions($attrId, $mainTable, $joinTable) * @param string $field * @return int|null * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.2.0 */ private function getAttributeIdByCode($field) { @@ -185,7 +175,6 @@ private function getAttributeIdByCode($field) * @param Select $select * @return string|null * @throws \Zend_Db_Select_Exception - * @since 2.2.0 */ private function extractTableAliasFromSelect(Select $select) { diff --git a/app/code/Magento/CatalogSearch/Model/Search/FilterMapper/DimensionsProcessor.php b/app/code/Magento/CatalogSearch/Model/Search/FilterMapper/DimensionsProcessor.php index c31abcac767e7..67f427d4be471 100644 --- a/app/code/Magento/CatalogSearch/Model/Search/FilterMapper/DimensionsProcessor.php +++ b/app/code/Magento/CatalogSearch/Model/Search/FilterMapper/DimensionsProcessor.php @@ -16,26 +16,22 @@ /** * Class DimensionsProcessor * Adds dimension conditions to select query - * @since 2.2.0 */ class DimensionsProcessor { /** * @var ConditionManager - * @since 2.2.0 */ private $conditionManager; /** * @var ScopeResolverInterface - * @since 2.2.0 */ private $dimensionScopeResolver; /** * @param ConditionManager $conditionManager * @param ScopeResolverInterface $dimensionScopeResolver - * @since 2.2.0 */ public function __construct( ConditionManager $conditionManager, @@ -50,7 +46,6 @@ public function __construct( * * @param SelectContainer $selectContainer * @return SelectContainer - * @since 2.2.0 */ public function processDimensions(SelectContainer $selectContainer) { @@ -73,7 +68,6 @@ public function processDimensions(SelectContainer $selectContainer) * * @param Dimension[] $dimensions * @return string[] - * @since 2.2.0 */ private function prepareDimensions(array $dimensions) { diff --git a/app/code/Magento/CatalogSearch/Model/Search/FilterMapper/ExclusionStrategy.php b/app/code/Magento/CatalogSearch/Model/Search/FilterMapper/ExclusionStrategy.php index 8d718bb21554e..dadce2ed0240c 100644 --- a/app/code/Magento/CatalogSearch/Model/Search/FilterMapper/ExclusionStrategy.php +++ b/app/code/Magento/CatalogSearch/Model/Search/FilterMapper/ExclusionStrategy.php @@ -10,32 +10,27 @@ /** * Strategy which processes exclusions from general rules - * @since 2.2.0 */ class ExclusionStrategy implements FilterStrategyInterface { /** * @var \Magento\Framework\App\ResourceConnection - * @since 2.2.0 */ private $resourceConnection; /** * @var AliasResolver - * @since 2.2.0 */ private $aliasResolver; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.2.0 */ private $storeManager; /** * List of fields that can be processed by exclusion strategy * @var array - * @since 2.2.0 */ private $validFields = ['price', 'category_ids']; @@ -43,7 +38,6 @@ class ExclusionStrategy implements FilterStrategyInterface * @param \Magento\Framework\App\ResourceConnection $resourceConnection * @param \Magento\Store\Model\StoreManagerInterface $storeManager * @param AliasResolver $aliasResolver - * @since 2.2.0 */ public function __construct( \Magento\Framework\App\ResourceConnection $resourceConnection, @@ -57,7 +51,6 @@ public function __construct( /** * {@inheritDoc} - * @since 2.2.0 */ public function apply( \Magento\Framework\Search\Request\FilterInterface $filter, @@ -82,7 +75,6 @@ public function apply( * @return bool * @throws \DomainException * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.2.0 */ private function applyPriceFilter( \Magento\Framework\Search\Request\FilterInterface $filter, @@ -114,7 +106,6 @@ private function applyPriceFilter( * @return bool * @throws \DomainException * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.2.0 */ private function applyCategoryFilter( \Magento\Framework\Search\Request\FilterInterface $filter, @@ -146,7 +137,6 @@ private function applyCategoryFilter( * * @param \Magento\Framework\DB\Select $select * @return string|null - * @since 2.2.0 */ private function extractTableAliasFromSelect(\Magento\Framework\DB\Select $select) { diff --git a/app/code/Magento/CatalogSearch/Model/Search/FilterMapper/FilterContext.php b/app/code/Magento/CatalogSearch/Model/Search/FilterMapper/FilterContext.php index be7166e79fa79..0c8233316338e 100644 --- a/app/code/Magento/CatalogSearch/Model/Search/FilterMapper/FilterContext.php +++ b/app/code/Magento/CatalogSearch/Model/Search/FilterMapper/FilterContext.php @@ -14,25 +14,21 @@ * FilterContext represents a Context of the Strategy pattern * Its responsibility is to choose appropriate strategy to apply passed filter to the Select * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.2.0 */ class FilterContext implements FilterStrategyInterface { /** * @var ExclusionStrategy - * @since 2.2.0 */ private $exclusionStrategy; /** * @var EavConfig - * @since 2.2.0 */ private $eavConfig; /** * @var StaticAttributeStrategy - * @since 2.2.0 */ private $staticAttributeStrategy; @@ -43,7 +39,6 @@ class FilterContext implements FilterStrategyInterface * @param TermDropdownStrategy $termDropdownStrategy * @param StaticAttributeStrategy $staticAttributeStrategy * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.2.0 */ public function __construct( EavConfig $eavConfig, @@ -59,7 +54,6 @@ public function __construct( /** * {@inheritDoc} - * @since 2.2.0 */ public function apply( \Magento\Framework\Search\Request\FilterInterface $filter, @@ -87,7 +81,6 @@ public function apply( * @param string $field * @return \Magento\Catalog\Model\ResourceModel\Eav\Attribute * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.2.0 */ private function getAttributeByCode($field) { diff --git a/app/code/Magento/CatalogSearch/Model/Search/FilterMapper/FilterMapper.php b/app/code/Magento/CatalogSearch/Model/Search/FilterMapper/FilterMapper.php index 29e68d60cd731..27128327554d2 100644 --- a/app/code/Magento/CatalogSearch/Model/Search/FilterMapper/FilterMapper.php +++ b/app/code/Magento/CatalogSearch/Model/Search/FilterMapper/FilterMapper.php @@ -13,37 +13,31 @@ /** * Class FilterMapper * This class applies filters to Select based on SelectContainer configuration - * @since 2.2.0 */ class FilterMapper { /** * @var AliasResolver - * @since 2.2.0 */ private $aliasResolver; /** * @var CustomAttributeFilter - * @since 2.2.0 */ private $customAttributeFilter; /** * @var FilterStrategyInterface - * @since 2.2.0 */ private $filterStrategy; /** * @var VisibilityFilter - * @since 2.2.0 */ private $visibilityFilter; /** * @var StockStatusFilter - * @since 2.2.0 */ private $stockStatusFilter; @@ -53,7 +47,6 @@ class FilterMapper * @param FilterStrategyInterface $filterStrategy * @param VisibilityFilter $visibilityFilter * @param StockStatusFilter $stockStatusFilter - * @since 2.2.0 */ public function __construct( AliasResolver $aliasResolver, @@ -78,7 +71,6 @@ public function __construct( * @throws \Magento\Framework\Exception\LocalizedException * @throws \InvalidArgumentException * @throws \DomainException - * @since 2.2.0 */ public function applyFilters(SelectContainer $selectContainer) { diff --git a/app/code/Magento/CatalogSearch/Model/Search/FilterMapper/FilterStrategyInterface.php b/app/code/Magento/CatalogSearch/Model/Search/FilterMapper/FilterStrategyInterface.php index 67369aaa08c45..8481ef20b75e1 100644 --- a/app/code/Magento/CatalogSearch/Model/Search/FilterMapper/FilterStrategyInterface.php +++ b/app/code/Magento/CatalogSearch/Model/Search/FilterMapper/FilterStrategyInterface.php @@ -9,7 +9,7 @@ /** * FilterStrategyInterface provides the interface to work with strategies * @api - * @since 2.2.0 + * @since 100.2.0 */ interface FilterStrategyInterface { @@ -17,7 +17,7 @@ interface FilterStrategyInterface * @param \Magento\Framework\Search\Request\FilterInterface $filter * @param \Magento\Framework\DB\Select $select * @return bool is filter was applied - * @since 2.2.0 + * @since 100.2.0 */ public function apply( \Magento\Framework\Search\Request\FilterInterface $filter, diff --git a/app/code/Magento/CatalogSearch/Model/Search/FilterMapper/StaticAttributeStrategy.php b/app/code/Magento/CatalogSearch/Model/Search/FilterMapper/StaticAttributeStrategy.php index 52799e406c91d..8544b463dbb17 100644 --- a/app/code/Magento/CatalogSearch/Model/Search/FilterMapper/StaticAttributeStrategy.php +++ b/app/code/Magento/CatalogSearch/Model/Search/FilterMapper/StaticAttributeStrategy.php @@ -12,25 +12,21 @@ /** * This strategy handles static attributes - * @since 2.2.0 */ class StaticAttributeStrategy implements FilterStrategyInterface { /** * @var \Magento\Framework\App\ResourceConnection - * @since 2.2.0 */ private $resourceConnection; /** * @var AliasResolver - * @since 2.2.0 */ private $aliasResolver; /** * @var EavConfig - * @since 2.2.0 */ private $eavConfig; @@ -38,7 +34,6 @@ class StaticAttributeStrategy implements FilterStrategyInterface * @param \Magento\Framework\App\ResourceConnection $resourceConnection * @param EavConfig $eavConfig * @param AliasResolver $aliasResolver - * @since 2.2.0 */ public function __construct( \Magento\Framework\App\ResourceConnection $resourceConnection, @@ -52,7 +47,6 @@ public function __construct( /** * {@inheritDoc} - * @since 2.2.0 */ public function apply( \Magento\Framework\Search\Request\FilterInterface $filter, @@ -76,7 +70,6 @@ public function apply( * @param string $field * @return \Magento\Catalog\Model\ResourceModel\Eav\Attribute * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.2.0 */ private function getAttributeByCode($field) { @@ -88,7 +81,6 @@ private function getAttributeByCode($field) * * @param Select $select * @return string|null - * @since 2.2.0 */ private function extractTableAliasFromSelect(Select $select) { diff --git a/app/code/Magento/CatalogSearch/Model/Search/FilterMapper/StockStatusFilter.php b/app/code/Magento/CatalogSearch/Model/Search/FilterMapper/StockStatusFilter.php index e5222c3c82d7e..1cd9d1a3dd771 100644 --- a/app/code/Magento/CatalogSearch/Model/Search/FilterMapper/StockStatusFilter.php +++ b/app/code/Magento/CatalogSearch/Model/Search/FilterMapper/StockStatusFilter.php @@ -15,13 +15,11 @@ /** * Class StockStatusFilter * Adds filter by stock status to base select - * @since 2.2.0 */ class StockStatusFilter { /** * @var ResourceConnection - * @since 2.2.0 */ private $resourceConnection; @@ -43,19 +41,16 @@ class StockStatusFilter /** * @var ConditionManager - * @since 2.2.0 */ private $conditionManager; /** * @var StockConfigurationInterface - * @since 2.2.0 */ private $stockConfiguration; /** * @var StockRegistryInterface - * @since 2.2.0 */ private $stockRegistry; @@ -64,7 +59,6 @@ class StockStatusFilter * @param ConditionManager $conditionManager * @param StockConfigurationInterface $stockConfiguration * @param StockRegistryInterface $stockRegistry - * @since 2.2.0 */ public function __construct( ResourceConnection $resourceConnection, @@ -87,7 +81,6 @@ public function __construct( * @param bool $showOutOfStockFlag * @return Select * @throws \InvalidArgumentException - * @since 2.2.0 */ public function apply(Select $select, $stockValues, $type, $showOutOfStockFlag) { @@ -116,7 +109,6 @@ public function apply(Select $select, $stockValues, $type, $showOutOfStockFlag) * @param string $mainTableAlias * @param bool $showOutOfStockFlag * @return void - * @since 2.2.0 */ private function addMainStockStatusJoin(Select $select, $stockValues, $mainTableAlias, $showOutOfStockFlag) { @@ -159,7 +151,6 @@ private function addMainStockStatusJoin(Select $select, $stockValues, $mainTable * @param string $mainTableAlias * @param bool $showOutOfStockFlag * @return void - * @since 2.2.0 */ private function addSubProductsStockStatusJoin(Select $select, $stockValues, $mainTableAlias, $showOutOfStockFlag) { @@ -198,7 +189,6 @@ private function addSubProductsStockStatusJoin(Select $select, $stockValues, $ma * * @param Select $select * @return string|null - * @since 2.2.0 */ private function extractTableAliasFromSelect(Select $select) { diff --git a/app/code/Magento/CatalogSearch/Model/Search/FilterMapper/TermDropdownStrategy.php b/app/code/Magento/CatalogSearch/Model/Search/FilterMapper/TermDropdownStrategy.php index b21386357cb4a..9bd26d799fd5d 100644 --- a/app/code/Magento/CatalogSearch/Model/Search/FilterMapper/TermDropdownStrategy.php +++ b/app/code/Magento/CatalogSearch/Model/Search/FilterMapper/TermDropdownStrategy.php @@ -17,37 +17,31 @@ * This strategy handles attributes which comply with two criteria: * - The filter for dropdown or multi-select attribute * - The filter is Term filter - * @since 2.2.0 */ class TermDropdownStrategy implements FilterStrategyInterface { /** * @var AliasResolver - * @since 2.2.0 */ private $aliasResolver; /** * @var StoreManagerInterface - * @since 2.2.0 */ private $storeManager; /** * @var EavConfig - * @since 2.2.0 */ private $eavConfig; /** * @var ResourceConnection - * @since 2.2.0 */ private $resourceConnection; /** * @var ScopeConfigInterface - * @since 2.2.0 */ private $scopeConfig; @@ -58,7 +52,6 @@ class TermDropdownStrategy implements FilterStrategyInterface * @param ScopeConfigInterface $scopeConfig * @param AliasResolver $aliasResolver * @SuppressWarnings(Magento.TypeDuplication) - * @since 2.2.0 */ public function __construct( StoreManagerInterface $storeManager, @@ -77,7 +70,6 @@ public function __construct( /** * {@inheritDoc} * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.2.0 */ public function apply( \Magento\Framework\Search\Request\FilterInterface $filter, @@ -114,7 +106,6 @@ public function apply( * @param string $field * @return \Magento\Catalog\Model\ResourceModel\Eav\Attribute * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.2.0 */ private function getAttributeByCode($field) { @@ -123,7 +114,6 @@ private function getAttributeByCode($field) /** * @return bool - * @since 2.2.0 */ private function isAddStockFilter() { diff --git a/app/code/Magento/CatalogSearch/Model/Search/FilterMapper/VisibilityFilter.php b/app/code/Magento/CatalogSearch/Model/Search/FilterMapper/VisibilityFilter.php index a64d134cff0fa..a615d76bef4d2 100644 --- a/app/code/Magento/CatalogSearch/Model/Search/FilterMapper/VisibilityFilter.php +++ b/app/code/Magento/CatalogSearch/Model/Search/FilterMapper/VisibilityFilter.php @@ -16,7 +16,6 @@ /** * Class VisibilityFilter * Applies filter by visibility to base select - * @since 2.2.0 */ class VisibilityFilter { @@ -43,25 +42,21 @@ class VisibilityFilter /** * @var ResourceConnection - * @since 2.2.0 */ private $resourceConnection; /** * @var ConditionManager - * @since 2.2.0 */ private $conditionManager; /** * @var StoreManagerInterface - * @since 2.2.0 */ private $storeManager; /** * @var EavConfig - * @since 2.2.0 */ private $eavConfig; @@ -70,7 +65,6 @@ class VisibilityFilter * @param ConditionManager $conditionManager * @param StoreManagerInterface $storeManager * @param EavConfig $eavConfig - * @since 2.2.0 */ public function __construct( ResourceConnection $resourceConnection, @@ -93,7 +87,6 @@ public function __construct( * @return Select * @throws \InvalidArgumentException * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.2.0 */ public function apply(Select $select, FilterInterface $filter, $type) { @@ -118,7 +111,6 @@ public function apply(Select $select, FilterInterface $filter, $type) * @return void * @throws \InvalidArgumentException * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.2.0 */ private function applyFilterByJoin(FilterInterface $filter, Select $select) { @@ -159,7 +151,6 @@ private function applyFilterByJoin(FilterInterface $filter, Select $select) * @return void * @throws \InvalidArgumentException * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.2.0 */ private function applyFilterByWhere(FilterInterface $filter, Select $select) { @@ -194,7 +185,6 @@ private function applyFilterByWhere(FilterInterface $filter, Select $select) * * @return int * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.2.0 */ private function getVisibilityAttributeId() { @@ -211,7 +201,6 @@ private function getVisibilityAttributeId() * * @param Select $select * @return string|null - * @since 2.2.0 */ private function extractTableAliasFromSelect(Select $select) { diff --git a/app/code/Magento/CatalogSearch/Model/Search/FiltersExtractor.php b/app/code/Magento/CatalogSearch/Model/Search/FiltersExtractor.php index ca236126aa10a..53c27eb66f6ae 100644 --- a/app/code/Magento/CatalogSearch/Model/Search/FiltersExtractor.php +++ b/app/code/Magento/CatalogSearch/Model/Search/FiltersExtractor.php @@ -12,7 +12,6 @@ /** * Class FiltersExtractor * Extracts filters from QueryInterface - * @since 2.2.0 */ class FiltersExtractor { @@ -21,7 +20,6 @@ class FiltersExtractor * * @param QueryInterface $query * @return FilterInterface[] - * @since 2.2.0 */ public function extractFiltersFromQuery(QueryInterface $query) { @@ -61,7 +59,6 @@ public function extractFiltersFromQuery(QueryInterface $query) /** * @param BoolExpression $boolExpression * @return FilterInterface[] - * @since 2.2.0 */ private function getFiltersFromBoolFilter(BoolExpression $boolExpression) { diff --git a/app/code/Magento/CatalogSearch/Model/Search/IndexBuilder.php b/app/code/Magento/CatalogSearch/Model/Search/IndexBuilder.php index 92c614df46c04..890a0d4000140 100644 --- a/app/code/Magento/CatalogSearch/Model/Search/IndexBuilder.php +++ b/app/code/Magento/CatalogSearch/Model/Search/IndexBuilder.php @@ -31,25 +31,21 @@ class IndexBuilder implements IndexBuilderInterface { /** * @var DimensionsProcessor - * @since 2.2.0 */ private $dimensionsProcessor; /** * @var SelectContainerBuilder - * @since 2.2.0 */ private $selectContainerBuilder; /** * @var BaseSelectStrategyMapper - * @since 2.2.0 */ private $baseSelectStrategyMapper; /** * @var FilterMapper - * @since 2.2.0 */ private $filterMapper; diff --git a/app/code/Magento/CatalogSearch/Model/Search/QueryChecker/FullTextSearchCheck.php b/app/code/Magento/CatalogSearch/Model/Search/QueryChecker/FullTextSearchCheck.php index 4f41da8a5580a..f6c2ac0a4f55a 100644 --- a/app/code/Magento/CatalogSearch/Model/Search/QueryChecker/FullTextSearchCheck.php +++ b/app/code/Magento/CatalogSearch/Model/Search/QueryChecker/FullTextSearchCheck.php @@ -12,7 +12,6 @@ /** * Class is responsible for checking if fulltext search is required for search query - * @since 2.2.0 */ class FullTextSearchCheck { @@ -28,7 +27,6 @@ class FullTextSearchCheck * @param QueryInterface $query * @return bool * @throws \InvalidArgumentException - * @since 2.2.0 */ public function isRequiredForQuery(QueryInterface $query) { @@ -39,7 +37,6 @@ public function isRequiredForQuery(QueryInterface $query) * @param QueryInterface $query * @return bool * @throws \InvalidArgumentException - * @since 2.2.0 */ private function processQuery(QueryInterface $query) { @@ -65,7 +62,6 @@ private function processQuery(QueryInterface $query) * @param BoolExpression $query * @return bool * @throws \InvalidArgumentException - * @since 2.2.0 */ private function processBoolQuery(BoolExpression $query) { @@ -94,7 +90,6 @@ private function processBoolQuery(BoolExpression $query) * @param Filter $query * @return bool * @throws \InvalidArgumentException - * @since 2.2.0 */ private function processFilterQuery(Filter $query) { diff --git a/app/code/Magento/CatalogSearch/Model/Search/ReaderPlugin.php b/app/code/Magento/CatalogSearch/Model/Search/ReaderPlugin.php index 752b17b550c55..e71d6274dacdc 100644 --- a/app/code/Magento/CatalogSearch/Model/Search/ReaderPlugin.php +++ b/app/code/Magento/CatalogSearch/Model/Search/ReaderPlugin.php @@ -33,7 +33,6 @@ public function __construct( * @param string|null $scope * @return array * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.2.0 */ public function afterRead( \Magento\Framework\Config\ReaderInterface $subject, diff --git a/app/code/Magento/CatalogSearch/Model/Search/RequestGenerator.php b/app/code/Magento/CatalogSearch/Model/Search/RequestGenerator.php index f597c0fc709ed..c84209ec2a41f 100644 --- a/app/code/Magento/CatalogSearch/Model/Search/RequestGenerator.php +++ b/app/code/Magento/CatalogSearch/Model/Search/RequestGenerator.php @@ -31,7 +31,6 @@ class RequestGenerator /** * @var GeneratorResolver - * @since 2.2.0 */ private $generatorResolver; @@ -238,7 +237,6 @@ private function generateAdvancedSearchRequest() * @param Attribute $attribute * @param array $request * @return array - * @since 2.2.0 */ private function processPriceAttribute($useFulltext, $attribute, $request) { diff --git a/app/code/Magento/CatalogSearch/Model/Search/RequestGenerator/Decimal.php b/app/code/Magento/CatalogSearch/Model/Search/RequestGenerator/Decimal.php index f6234eeb9b2ea..fb8c26f6914ea 100644 --- a/app/code/Magento/CatalogSearch/Model/Search/RequestGenerator/Decimal.php +++ b/app/code/Magento/CatalogSearch/Model/Search/RequestGenerator/Decimal.php @@ -13,13 +13,11 @@ /** * Class \Magento\CatalogSearch\Model\Search\RequestGenerator\Decimal * - * @since 2.2.0 */ class Decimal implements GeneratorInterface { /** * {@inheritdoc} - * @since 2.2.0 */ public function getFilterData(Attribute $attribute, $filterName) { @@ -34,7 +32,6 @@ public function getFilterData(Attribute $attribute, $filterName) /** * {@inheritdoc} - * @since 2.2.0 */ public function getAggregationData(Attribute $attribute, $bucketName) { diff --git a/app/code/Magento/CatalogSearch/Model/Search/RequestGenerator/General.php b/app/code/Magento/CatalogSearch/Model/Search/RequestGenerator/General.php index 0eeb0fa8e6eca..37c0b1d70c979 100644 --- a/app/code/Magento/CatalogSearch/Model/Search/RequestGenerator/General.php +++ b/app/code/Magento/CatalogSearch/Model/Search/RequestGenerator/General.php @@ -13,13 +13,11 @@ /** * Class \Magento\CatalogSearch\Model\Search\RequestGenerator\General * - * @since 2.2.0 */ class General implements GeneratorInterface { /** * {@inheritdoc} - * @since 2.2.0 */ public function getFilterData(Attribute $attribute, $filterName) { @@ -33,7 +31,6 @@ public function getFilterData(Attribute $attribute, $filterName) /** * {@inheritdoc} - * @since 2.2.0 */ public function getAggregationData(Attribute $attribute, $bucketName) { diff --git a/app/code/Magento/CatalogSearch/Model/Search/RequestGenerator/GeneratorInterface.php b/app/code/Magento/CatalogSearch/Model/Search/RequestGenerator/GeneratorInterface.php index 0c8a243be4b49..fdfa4def4518d 100644 --- a/app/code/Magento/CatalogSearch/Model/Search/RequestGenerator/GeneratorInterface.php +++ b/app/code/Magento/CatalogSearch/Model/Search/RequestGenerator/GeneratorInterface.php @@ -10,7 +10,7 @@ /** * @api - * @since 2.2.0 + * @since 100.2.0 */ interface GeneratorInterface { @@ -19,7 +19,7 @@ interface GeneratorInterface * @param Attribute $attribute * @param string $filterName * @return array - * @since 2.2.0 + * @since 100.2.0 */ public function getFilterData(Attribute $attribute, $filterName); @@ -28,7 +28,7 @@ public function getFilterData(Attribute $attribute, $filterName); * @param Attribute $attribute * @param string $bucketName * @return array - * @since 2.2.0 + * @since 100.2.0 */ public function getAggregationData(Attribute $attribute, $bucketName); } diff --git a/app/code/Magento/CatalogSearch/Model/Search/RequestGenerator/GeneratorResolver.php b/app/code/Magento/CatalogSearch/Model/Search/RequestGenerator/GeneratorResolver.php index 25b637edd0928..271fc9c67d724 100644 --- a/app/code/Magento/CatalogSearch/Model/Search/RequestGenerator/GeneratorResolver.php +++ b/app/code/Magento/CatalogSearch/Model/Search/RequestGenerator/GeneratorResolver.php @@ -8,26 +8,24 @@ /** * @api - * @since 2.2.0 + * @since 100.2.0 */ class GeneratorResolver { /** * @var GeneratorInterface[] - * @since 2.2.0 */ private $generators; /** * @var GeneratorInterface - * @since 2.2.0 */ private $defaultGenerator; /** * @param GeneratorInterface $defaultGenerator * @param GeneratorInterface[] $generators - * @since 2.2.0 + * @since 100.2.0 */ public function __construct(GeneratorInterface $defaultGenerator, array $generators) { @@ -39,7 +37,7 @@ public function __construct(GeneratorInterface $defaultGenerator, array $generat * @param string $type * @return GeneratorInterface * @throws \InvalidArgumentException - * @since 2.2.0 + * @since 100.2.0 */ public function getGeneratorForType($type) { diff --git a/app/code/Magento/CatalogSearch/Model/Search/SelectContainer/SelectContainer.php b/app/code/Magento/CatalogSearch/Model/Search/SelectContainer/SelectContainer.php index 23876592e2ff0..5305ed276bf38 100644 --- a/app/code/Magento/CatalogSearch/Model/Search/SelectContainer/SelectContainer.php +++ b/app/code/Magento/CatalogSearch/Model/Search/SelectContainer/SelectContainer.php @@ -12,55 +12,46 @@ /** * Class SelectContainer * This class is a container for all data that is required for creating select query by search request - * @since 2.2.0 */ class SelectContainer { /** * @var array FilterInterface[] - * @since 2.2.0 */ private $nonCustomAttributesFilters; /** * @var array FilterInterface[] - * @since 2.2.0 */ private $customAttributesFilters; /** * @var FilterInterface - * @since 2.2.0 */ private $visibilityFilter; /** * @var bool - * @since 2.2.0 */ private $isFullTextSearchRequired; /** * @var bool - * @since 2.2.0 */ private $isShowOutOfStockEnabled; /** * @var Select - * @since 2.2.0 */ private $select; /** * @var string - * @since 2.2.0 */ private $usedIndex; /** * @var array - * @since 2.2.0 */ private $dimensions; @@ -73,7 +64,6 @@ class SelectContainer * @param bool $isShowOutOfStockEnabled * @param string $usedIndex * @param FilterInterface|null $visibilityFilter - * @since 2.2.0 */ public function __construct( Select $select, @@ -97,7 +87,6 @@ public function __construct( /** * @return array - * @since 2.2.0 */ public function getNonCustomAttributesFilters() { @@ -106,7 +95,6 @@ public function getNonCustomAttributesFilters() /** * @return array - * @since 2.2.0 */ public function getCustomAttributesFilters() { @@ -115,7 +103,6 @@ public function getCustomAttributesFilters() /** * @return bool - * @since 2.2.0 */ public function hasCustomAttributesFilters() { @@ -124,7 +111,6 @@ public function hasCustomAttributesFilters() /** * @return bool - * @since 2.2.0 */ public function hasVisibilityFilter() { @@ -136,7 +122,6 @@ public function hasVisibilityFilter() * This is done to ensure that SelectContainer is immutable * * @return FilterInterface - * @since 2.2.0 */ public function getVisibilityFilter() { @@ -145,7 +130,6 @@ public function getVisibilityFilter() /** * @return bool - * @since 2.2.0 */ public function isFullTextSearchRequired() { @@ -154,7 +138,6 @@ public function isFullTextSearchRequired() /** * @return bool - * @since 2.2.0 */ public function isShowOutOfStockEnabled() { @@ -163,7 +146,6 @@ public function isShowOutOfStockEnabled() /** * @return string - * @since 2.2.0 */ public function getUsedIndex() { @@ -172,7 +154,6 @@ public function getUsedIndex() /** * @return array - * @since 2.2.0 */ public function getDimensions() { @@ -184,7 +165,6 @@ public function getDimensions() * This is done to ensure that SelectContainer is immutable * * @return Select - * @since 2.2.0 */ public function getSelect() { @@ -197,7 +177,6 @@ public function getSelect() * * @param Select $select * @return SelectContainer - * @since 2.2.0 */ public function updateSelect(Select $select) { diff --git a/app/code/Magento/CatalogSearch/Model/Search/SelectContainer/SelectContainerBuilder.php b/app/code/Magento/CatalogSearch/Model/Search/SelectContainer/SelectContainerBuilder.php index f002b6dddce1b..a18ef8e91d7f7 100644 --- a/app/code/Magento/CatalogSearch/Model/Search/SelectContainer/SelectContainerBuilder.php +++ b/app/code/Magento/CatalogSearch/Model/Search/SelectContainer/SelectContainerBuilder.php @@ -18,43 +18,36 @@ * Class SelectContainerBuilder * Class is responsible for SelectContainer creation and filling it with all required data * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.2.0 */ class SelectContainerBuilder { /** * @var SelectContainerFactory - * @since 2.2.0 */ private $selectContainerFactory; /** * @var FullTextSearchCheck - * @since 2.2.0 */ private $fullTextSearchCheck; /** * @var CustomAttributeFilterCheck - * @since 2.2.0 */ private $customAttributeFilterCheck; /** * @var FiltersExtractor - * @since 2.2.0 */ private $filtersExtractor; /** * @var ScopeConfigInterface - * @since 2.2.0 */ private $scopeConfig; /** * @var ResourceConnection - * @since 2.2.0 */ private $resource; @@ -65,7 +58,6 @@ class SelectContainerBuilder * @param FiltersExtractor $filtersExtractor * @param ScopeConfigInterface $scopeConfig * @param ResourceConnection $resource - * @since 2.2.0 */ public function __construct( SelectContainerFactory $selectContainerFactory, @@ -91,7 +83,6 @@ public function __construct( * @throws \DomainException * @throws \InvalidArgumentException * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.2.0 */ public function buildByRequest(RequestInterface $request) { @@ -132,7 +123,6 @@ public function buildByRequest(RequestInterface $request) * Checks if show_out_of_stock flag is enabled in current configuration * * @return bool - * @since 2.2.0 */ private function isSetShowOutOfStockFlag() { diff --git a/app/code/Magento/CatalogSearch/Model/Search/TableMapper.php b/app/code/Magento/CatalogSearch/Model/Search/TableMapper.php index db5f811874b33..e96a26b808400 100644 --- a/app/code/Magento/CatalogSearch/Model/Search/TableMapper.php +++ b/app/code/Magento/CatalogSearch/Model/Search/TableMapper.php @@ -29,19 +29,16 @@ class TableMapper { /** * @var FilterStrategyInterface - * @since 2.2.0 */ private $filterStrategy; /** * @var AliasResolver - * @since 2.2.0 */ private $aliasResolver; /** * @var AliasResolver - * @since 2.2.0 */ private $filtersExtractor; @@ -108,7 +105,7 @@ public function addTables(Select $select, RequestInterface $request) * This method is deprecated. * Please use \Magento\CatalogSearch\Model\Adapter\Mysql\Filter\AliasResolver::getAlias() instead. * - * @deprecated 2.2.0 + * @deprecated 100.2.0 * @see AliasResolver::getAlias() * * @param FilterInterface $filter diff --git a/app/code/Magento/CatalogSearch/Model/Source/Weight.php b/app/code/Magento/CatalogSearch/Model/Source/Weight.php index 5c80e4faa7147..9dc4d5a323a95 100644 --- a/app/code/Magento/CatalogSearch/Model/Source/Weight.php +++ b/app/code/Magento/CatalogSearch/Model/Source/Weight.php @@ -15,7 +15,7 @@ class Weight implements \Magento\Framework\Data\OptionSourceInterface * Quick search weights * * @var int[] - * @since 2.1.0 + * @since 100.1.0 */ protected $weights = ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10']; @@ -47,7 +47,7 @@ public function getValues() * Return array of options as value-label pairs * * @return array Format: array(array('value' => '', 'label' => '